tsutsui
b3c8be00bb
Add src/common/include to -Ipath for proplib(3) so that build works
...
even without installed DESTDIR.
2009-11-27 11:11:22 +00:00
tsutsui
efb2579c78
Move some devices where they should belong to.
2009-11-27 11:05:45 +00:00
tsutsui
48cc740097
Fix typo in comment.
2009-11-27 11:04:18 +00:00
rmind
3f18fe8123
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
...
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
2009-11-27 03:23:03 +00:00
rmind
3f09797207
Revert unrelated/unintended changes from previous commit.
...
Should fix MIPS builds (hi matt@).
2009-11-27 01:37:30 +00:00
mrg
5dfbfd784f
report the old -> new interrupt mapping when swizzling. minor KNF.
2009-11-26 20:15:20 +00:00
phx
4848f3cb38
Cast vstart to (struct user *) when assigning it to lwp0.l_addr.
2009-11-26 18:23:48 +00:00
macallan
4016912128
cgthree works on sparc64 so let's enable it for those poor souls who can't
...
find at least a CG6
2009-11-26 02:03:42 +00:00
matt
c37283eb1d
Back out unintended commit.
2009-11-26 01:21:50 +00:00
matt
11af2f9cfa
Kill proc0paddr. Use lwp0.l_addr instead.
2009-11-26 00:19:11 +00:00
abs
2e92448c47
Fix a missed proc -> lwp change, only compiled if NWSKBD
2009-11-25 20:40:41 +00:00
tron
8fe9393167
Fix build of kernels without PCI support like "GENERIC_TINY".
2009-11-25 19:46:19 +00:00
tron
7395068839
Enable SSP (Stack Smash Protection) in x86 kernels by default (except
...
in i386 *TINY kernels). The NetBSD/i386 "ALL" kernel is unconditionally
compiled with SSP enabled.
Change approved by the core team.
2009-11-25 17:08:08 +00:00
njoly
a323bb797a
aprintify.
2009-11-25 15:06:26 +00:00
rmind
9303fb5a00
Remove IPL_LPT and IPL_IPI aliases, use the actual IPLs.
...
Fix some broken comments.
2009-11-25 14:28:49 +00:00
rmind
a78f91e802
Restore exporting of lwp_getpcb() to userland and fix DDB properly.
...
While the header might be abstracted better, it is a separate issue.
2009-11-25 13:53:19 +00:00
rmind
fc756ae2f7
Disable kstack red-zone for now, while we decide on a nice way to fix it.
2009-11-25 13:38:38 +00:00
cube
c356562c10
Properly fix fdc@pnpbios as shown by Brian Buhrow in PR#42374.
...
I think it tells a lot about the relevancy of that attachment when it took
20 months for someone to experience the issue and even then, acpi had to be
disabled.
2009-11-25 13:15:17 +00:00
martin
361db6b221
Remove double include that prevented the right machdep LDBL_* constants
...
to be used.
Noticed by Masao Uebayashi.
2009-11-25 08:43:15 +00:00
mrg
e01c3917cb
s/L_ADDR/L_PCB/, requested by rmind.
2009-11-25 02:34:34 +00:00
mhitch
128c6b4d5f
Remove old legacy IPL_* settings in ipl2spl_table - they are redundant
...
and in the case of IPL_AUDIO, results in IPL_VM blocking all interrupts.
[IPL_AUDIO is now the same as IPL_VM, and was setting the IPL_VM entry
to PSL_IPL6. IPL_SERIAL had a duplicate entry for some reason, and
serial drivers that check and modify IPL_SERIAL now shouldn't be affected
since IPL_SERIAL is now the same as IPL_HIGH. I'm hoping this will fix
or at least help the problem of serial interrupts being blocked too long.
2009-11-24 18:19:52 +00:00
cegger
1b91587f84
Remove X86_MAXPROCS. This fixes PR port-xen/41755.
...
This also reduces diff to x86/x86/cpu.c as a nice side effect.
'looks good' bouyer@
2009-11-24 13:04:04 +00:00
rmind
04fb2d7bab
Amend #ifdef with DIAGNOSTIC case, avoids gcc warning about unused var.
2009-11-23 18:20:46 +00:00
pooka
09dbb89b44
If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.
...
This allows use of subr_disk_mbr on all archs. Default to it for
the rump disk component. No functional change for regular kernels.
(The other option would've been to include dkbad in disklabels
everywhere, but arguably this approach has less possible side-effects,
especially given that wedges and related magic will take over the
world any second now).
2009-11-23 13:40:08 +00:00
dholland
2c1d94d187
When converting an if/panic to a KASSERT it's necessary to reverse the
...
sense of the test. Makes i386 boot again.
HI RMIND
2009-11-23 05:01:12 +00:00
abs
02e99d3d5c
Do not include FPU_EMULATE in ATARITT only config
2009-11-23 00:18:37 +00:00
rmind
3dc24f5a91
Use lwp_getpcb() on m68k ports, clean from struct user usage.
2009-11-23 00:11:42 +00:00
bouyer
e0e426bb85
For amd64, introduce a third free list distinct from the default free list
...
for memory between 16M and 4G. On large memory machine, this avoids
the 32bit-accessible memory being eaten by various kernel early allocation,
causing 32bit bus_dma(9) memory allocation to fail at boot time.
Tested on a system with 48GB RAM; based on netbsd-5 patch proposed on
port-amd64 3 days ago.
2009-11-22 21:41:03 +00:00
mbalmer
0ae57f90dd
more s/the the/the/
2009-11-22 19:09:15 +00:00
kiyohara
04ffa2b739
Move definition 'void gxlcd_cnattach(void)' to gumstixvar.h.
2009-11-22 12:05:14 +00:00
kiyohara
64ba3e027a
Add GPIO configuration 'LCD backlight on'.
...
Remove 'XXXX' in comment. That GPIO config is power on the Marvell 88W8385.
2009-11-22 12:00:56 +00:00
rmind
7721462952
Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage.
2009-11-21 20:32:13 +00:00
dsl
64659593d2
Don't call lwp_getpcb() when not KERNEL.
2009-11-21 19:59:51 +00:00
rmind
891259c1af
Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.
2009-11-21 17:40:27 +00:00
rmind
92b21522e9
Missed fix for Xen builds.
2009-11-21 15:38:43 +00:00
rmind
12193ee3b4
Use lwp_getpcb() on hppa and ia64, clean from struct user usage.
2009-11-21 15:36:33 +00:00
rmind
23d62c72ca
Include sys/user.h for MD proc.h (hppa and m68k ports).
2009-11-21 15:13:14 +00:00
tsutsui
19d7d2e19d
Reduce diffs against GENERIC.
2009-11-21 13:19:04 +00:00
tsutsui
371d5c2321
- more options<space><tab>
...
- capitalize Ethenet
2009-11-21 12:15:55 +00:00
tsutsui
27ba005b8e
- use options<space><tab>
...
- remove an extra whitespace
2009-11-21 12:09:15 +00:00
dsl
3adafc2801
Replace EPIA_HACK code with a version that 'just' trashes any return
...
address cache. This seems to be rather more effective!
This seems to be adequate and is more justifyable than the previous hack.
2009-11-21 11:54:47 +00:00
dsl
ef19c35a6d
Preserve %ds over bios calls.
...
Not strickly necessary because real_to_prot doesn't normally rely on in.
However it caused much confusion while debugging, and does no harm.
2009-11-21 11:52:57 +00:00
kiyohara
16ef4dd6d8
The variable ckenreg is used only when defined macro {FF,ST,BT,HW}UARTCONSOLE.
2009-11-21 08:41:38 +00:00
kiyohara
f97cdf80e0
Fix a bug.
...
sc = device_private(self);
sc->dev = self;
2009-11-21 08:33:50 +00:00
rmind
448807fa21
Catch-up Xen and usermode with lwp_getpcb() and unbreak Xen build.
2009-11-21 05:54:04 +00:00
rmind
498ef96f10
- Use lwp_getpcb() on Alpha.
...
- Replace and clean struct user usage, slightly simplify some code parts.
- Include sys/user.h in MD proc.h .
2009-11-21 05:35:40 +00:00
rmind
8065606a88
- Use lwp_getpcb() on VAX, clean from struct user usage.
...
- Include sys/user.h in MD proc.h .
2009-11-21 04:45:39 +00:00
rmind
a626cff9ae
Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.
2009-11-21 04:16:51 +00:00
rmind
368037b555
Include sys/proc.h for sparc/sparc64, which is required for now.
2009-11-21 04:04:07 +00:00
rmind
3c2bd91e81
Use lwp_getpcb() on x86 MD code, clean from struct user usage.
2009-11-21 03:11:00 +00:00