wrstuden
9cbb082fac
Make sure we actually locked the parent vnode before we clear
...
PDIRUNLOCK. The whole reason we have the flag is to note (rare)
cases where we are supposed to have the parent directory locked
but don't. Permits error handling code to know what to do with
the parrent vnode (vrele() vs vput()).
2004-06-16 17:59:53 +00:00
fvdl
26759c3afa
When converting GDT length units from segment structures to bytes for the
...
amd64 port, I converted MINGDTSIZ wrongly; it was not page aligned, causing
gdt_grow to corrupt the GDT. Fix this, and remove the extraneous definitions
of the sizes from gdt.c.
From OpenBSD.
2004-06-16 17:45:03 +00:00
christos
0399e839cf
Add pseudo-device ptm on all the generic flavored kernels.
2004-06-16 15:07:39 +00:00
tron
c465794d70
Correct two errors in fr_check():
...
1.) Make sure that "pass" is always initialized.
2.) Make sure the code doesn't use a stale mbuf pointer after fr_makefrip()
has been called. This fixes PR kern/25868.
Analyzed and reviewed by Steve Woodford.
2004-06-16 14:06:23 +00:00
tron
fcda778c8f
Don't leak mbuf if ipfr_fastroute6() fails.
...
Reviewed by Steve Woodford.
2004-06-16 14:02:39 +00:00
yamt
0061167644
- eliminate gratuitous differences between umap_bypass() and layer_bypass().
...
- fix a typo in a comment.
no functional changes are intended.
2004-06-16 12:39:07 +00:00
yamt
2fa619c249
missing error recover from layer_node_create failure.
2004-06-16 12:37:01 +00:00
yamt
b3384c452e
getcleanvnode: don't try to reclaim a vnode marked as VXLOCK.
...
fix crashes with VOP_RECLAIM implementations which might block.
(eg. layered filesystems)
2004-06-16 12:35:51 +00:00
yamt
a0d352ca6d
getcleanvnode: add a comment on a VLAYER hack.
2004-06-16 12:32:51 +00:00
he
e9c0c82b9d
Include files.usb after files.wscons, so that tcpalib is defined before
...
it's referenced.
2004-06-16 12:15:00 +00:00
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