fvdl
2c51ec74d3
Start at the top of the double fault stack, not the bottom.
2004-06-16 10:13:46 +00:00
fvdl
f24cbf3372
Remove IDT protection while doing unsetgate too.
2004-06-16 10:01:31 +00:00
briggs
016f80557d
Make sure kernels with KGDB enabled will compile properly.
...
Apply patch from Hauke Fath in PR port-mac68k/25678.
2004-06-16 05:33:23 +00:00
itojun
0f18c4c945
multicast data management fix - previous fix was incorrect. jinmei@kame
2004-06-16 03:17:26 +00:00
itojun
ec7ac551be
insufficient paren in macro def. Patrick Latifi
2004-06-16 02:36:37 +00:00
mhitch
c80b111e4d
AmigaDOS installation tools moving to distrib/amiga/stand.
2004-06-16 02:04:11 +00:00
manu
6b1a152604
COMPAT_LINUX/powerpc used the native stack setup routine, but now the
...
native version does non executable mappings on the stack. This is a
showstopper for Linux binaries.
To fix that we supply a copy f the native stack setup function for Linux
binaries, with the executable bit set.
2004-06-16 00:03:25 +00:00
jkunz
95f5074f87
Rework code to identify the boot device.
2004-06-15 20:43:41 +00:00
jkunz
2b62e6e461
Use correct disklabel offset.
2004-06-15 20:40:17 +00:00
bouyer
dac9c603d0
Regen for pcidevs 1.628: Add the Netelligent 10/100 TX variant found on the
...
Compaq Proliant Professional Workstation 5100.
2004-06-15 19:48:27 +00:00
bouyer
96e377add1
Apply patch from kern/25936 by Michael Blake: Add support for the
...
Netelligent 10/100 TX variant found on the Compaq Proliant Professional
Workstation 5100.
2004-06-15 19:47:23 +00:00
chs
9c209c4b37
clear pcb_onfault before calling uvm_fault() and restore it after.
...
remove some debug code that actually makes debugging harder.
2004-06-15 16:29:32 +00:00
chs
b7bd18170e
flush the dcache after accessing pcb_fpregs.
...
we access it with the DTLB both on and off,
so we need to avoid bad cache aliases.
2004-06-15 16:29:01 +00:00
chs
508451c5cd
include opt_ddb.h
2004-06-15 16:28:37 +00:00
fvdl
5c568543d4
Make the IDT read-only. It's only mapped R/W when really needed. Could
...
catch disasters such as overwriting it. Should probably be made
conditional on DIAGNOSTIC later, but there's no time-critical code
involved here.
Move the double fault stack away from the IPI stack. It's now shared
between CPUs, but that's not a big deal; double faults are fatal
and can't be recovered from.
2004-06-15 11:35:27 +00:00
fvdl
45692cb944
A double fault always pushes a 0.
2004-06-15 11:28:23 +00:00
fvdl
3f3313c442
Implement pmap_changeprot_local
2004-06-15 11:28:04 +00:00
fvdl
3b31d7b8a5
Add a prototype for pmap_changeprot_local, a function that changes
...
protection for a page and doesn't care about TLB shootdowns.
2004-06-15 11:27:38 +00:00
skrll
31fb35bd8d
Fix MAKEOBJDIRPREFIX builds and remove a line continuation that is not
...
needed.
2004-06-15 07:41:36 +00:00
itohy
064488f724
Add xxboot
2004-06-15 03:10:56 +00:00
itohy
b119940e75
NetBSD/hp700 FFS/LFS Primary Bootstrap
2004-06-15 03:10:30 +00:00
he
3b60dfd3bd
Factor out the C preprocessor defines and include flags from CFLAGS
...
to CPPFLAGS, so that they are also applied when compiling assembler
files.
2004-06-14 22:25:38 +00:00
tshiozak
0d08b7cade
Make sure to restore curproc's PTD before calling AcpiEnterSleepState().
...
Leaving the PTD inconsistent may crash the kernel.
2004-06-14 18:09:35 +00:00
cl
0ebd762347
cleanup low-level bit mangling code
2004-06-14 13:55:52 +00:00
augustss
79295fa58d
Remove change accidentally committed by tls.
2004-06-14 13:52:55 +00:00
tsutsui
7225c12326
Pull some fixes from hpc/kloader.c rev 1.13:
...
> malloc program/section header table instead of fixed array.
> add debug print.
2004-06-14 13:52:47 +00:00
tsutsui
3e64689691
Suppress gcc uninitialized variable warning.
2004-06-14 13:50:08 +00:00
itohy
8d0766de85
Correctly handle `events with handler'' and
`events enabled'' separately.
...
Problem pointed out by Harold Gutch and Izumi Tsutsui.
2004-06-14 12:47:36 +00:00
yamt
ad338b9eff
nfs_searchdircache: fix a null dereference in the case that
...
offset!=0 and dircache hasn't been initialized yet.
2004-06-14 12:28:35 +00:00
itojun
2e60f85658
use macro and make it a bit more readable.
2004-06-14 08:07:29 +00:00
itojun
4d7b9596f6
check before joining multicast group. otherwise multiple in6_multi structure
...
will be kept. reported by patrick latifi
2004-06-14 07:54:45 +00:00
lukem
b88c3a1555
Use "options<SPACE><TAB>".
...
(`egrep -l '(^|[^e])options<TAB>'` is your friend...)
2004-06-14 01:27:59 +00:00
abs
681718e784
Add BOOT_LEAVE_MEMORY (desired memory left unused) and BOOT_MIN_AVAIL_MEMORY
...
(minimum desired free memory), default them to 5M and 10M respectively.
On a machine with more than (BOOT_LEAVE_MEMORY + BOOT_MIN_AVAIL_MEMORY) free
BOOT_LEAVE_MEMORY will be left unused.
Allows a kernel to be booted from SparkFS on a machine with more than 15M
of free memory (SparkFS needs to be able to allocate memory for the
uncompressed kernel)
2004-06-13 20:50:14 +00:00
rumble
875866073a
sekiya-san's platform abstraction allows us to keep these
...
functions static.
2004-06-13 18:30:11 +00:00
rumble
0f58ff497d
General cleanup to improve style consistency and KNF adherence.
...
Updated comments and removed superfluous code. No functional
change intended.
ok'd by pooka and sekiya
2004-06-13 18:28:35 +00:00
tsarna
4605dd7457
Add calibration support to uep driver.
...
Untested, still need a userland utility to calibrate with.
2004-06-12 17:52:41 +00:00
yamt
ff7fa9e50e
remove XXX comments which are no longer true.
2004-06-12 17:22:04 +00:00
yamt
941f338d94
ANSIfy.
2004-06-12 17:18:13 +00:00
yamt
4af17d9901
simplify x86 bus_dma implementation.
...
(rather than passing &lastaddr and &seg around,
use and update bus_dmamap_t directly.)
2004-06-12 17:16:44 +00:00
yamt
e25482312e
- introduce _bus_dmamap_load_paddr, which takes (paddr, size) and
...
add the range to the map, and use it for _bus_dmamap_load_{buffer,mbuf}.
- _bus_dmamap_load_mbuf: in the case of M_EXT_PAGES, deal with vm_pages
directly rather than doing pmap_extract on given kva.
as a side effect, do a segment coalescing and boundary checks for mbufs.
ok'ed by Frank van der Linden and Jason Thorpe on tech-kern@.
2004-06-12 17:14:55 +00:00
yamt
0238f7233c
simplify x86 bus_dma internal "load" functions.
...
(by eliminating a variable "first" and using seg == -1 instead.)
2004-06-12 17:10:04 +00:00
mycroft
738ef9dc5d
Fix an unimportant typo.
2004-06-12 16:02:42 +00:00
uch
d20b906b5b
When serial console boot, don't find power supply port from
...
config_hook. Windows CE already power on it, and config_hook is not
initialized yet.
2004-06-12 15:39:33 +00:00
uch
c135c6674f
malloc program/section header table instead of fixed array.
...
properly terminate tag chain.
add debug print.
2004-06-12 14:31:49 +00:00
uch
7bc635be96
recompile.
2004-06-12 12:10:04 +00:00
uch
fe28a59378
adjust segment load address to 4byte align.
2004-06-12 12:09:38 +00:00
uwe
2869ffe3e5
As the 2nd stage loader uses simple word-by-word copy, make sure that
...
destination addresses of page tags are properly aligned.
2004-06-11 22:56:00 +00:00
tshiozak
1b7c9e7222
- make sure to use proc0's PTD for the ACPI wakecode.
...
- add re-initialization for npx while resuming.
2004-06-11 19:45:55 +00:00
petrov
3936b06424
Initialize restartcnt. from FreeBSD.
2004-06-11 17:25:47 +00:00
chs
5579fe0ffc
change sigdebug default to not print anything.
2004-06-11 14:01:02 +00:00