ad
212c50dd1b
Need sys/lock.h for SPINLOCK_SPIN_HOOK.
2008-01-05 12:39:27 +00:00
ad
ac85866313
simple_lock_only_held() is gone.
2008-01-05 12:31:39 +00:00
dsl
c9848793d9
Don't pass l (== curlwp) into the system call trace code.
...
Delete inclusion of opt_syscall_debug.h into systm.h, every kernel object
file doesn't need to depend on opt_syscall_debug.h!
2008-01-05 12:30:47 +00:00
dsl
ba7a604397
Reorder the amd64 trapframe (swap rcx/r10 and add 4 spare slots after r9).
...
This allows the syscall code to pass the syscall args directly from the
trapframe instead of copying them to a separate structure.
It is still possible that some lurking code still assumes that
'struct trapframe', 'struct mcontext' and 'struct reg' all have the
registers in the same order, but I've fixed enough of them to get gdb working.
2008-01-05 12:08:50 +00:00
dsl
77fe68004d
Do not assume that 'struct reg' and 'struct trapframe' have the same
...
layout. Instead copy the fields individually.
2008-01-05 12:01:34 +00:00
he
30542539fe
Now that compat/hpux is gone, this has no chance of building, so
...
remove it as well.
2008-01-05 10:24:11 +00:00
jld
1717a7fe75
Add address translation support for 4MB pages, which we use to map the
...
kernel text.
2008-01-05 06:54:12 +00:00
jld
324e44d74f
The address translation routine needs to use the plN_pi macros (for
...
indexing into the PTP), not the plN_i ones (for indexing into the entire
linear page table); cf. the analogous code for amd64. Fixes ~everything
to do with kernel core dumps on i386.
2008-01-05 06:22:55 +00:00
dan
6b2d0ee56c
use more includes, take them from the right place
...
xtraemok
2008-01-05 04:50:05 +00:00
riz
f28eb587da
Add #include <sys/simplelock.h>
2008-01-05 04:03:01 +00:00
matt
acb0b175a3
Add #include <sys/simplelock.h>
2008-01-05 02:47:03 +00:00
ad
b43749fde1
machine/lock.h, not sys/lock.h
2008-01-05 01:37:35 +00:00
ad
9324487752
Include sys/simplelock.h in prop_object_impl.h.
2008-01-05 01:15:02 +00:00
ad
c29520cb1a
Fix includes.
2008-01-05 00:31:50 +00:00
mjf
83535b7f11
Nuke prop_dictionary_capacity, there was no implementation for it.
...
No objections on tech-kern.
2008-01-05 00:23:46 +00:00
ad
0c8143169b
Fix includes
2008-01-05 00:22:34 +00:00
ad
fee5b86dc3
Don't need sys/lock.h
2008-01-05 00:19:46 +00:00
mjf
c4a57c66e1
Duh, it's 2008 now, not 2007.
2008-01-04 23:43:56 +00:00
mjf
3e08395424
Rephrase the explanation of when "func" is called.
2008-01-04 23:42:39 +00:00
dyoung
1c6cf449e1
Constify.
2008-01-04 23:35:00 +00:00
dsl
c18b957cb0
Repeat after me, don't edit files (even to update comments) between test
...
build and committing.
2008-01-04 23:29:54 +00:00
dyoung
f9c1ba02ee
Constify a bit.
2008-01-04 23:28:07 +00:00
dyoung
a4455600d4
Replace rtcache_down() with rtcache_validate() and update rtcache_down()
...
uses.
2008-01-04 23:26:44 +00:00
dsl
66767e035f
Add /usr/include/amd64/frame_regs.h
2008-01-04 23:05:42 +00:00
dsl
abceae9908
Change the way that the trap/intr/syscall frames and the __gregset_t[]
...
indexes are defined so that only a single list of the registers is used.
The code no longer relies on the two structures matching.
There should be no binary change.
2008-01-04 23:04:53 +00:00
ad
87a9501131
Fix includes.
2008-01-04 22:54:46 +00:00
joerg
700e393dca
time.tv_sec -> time_second
2008-01-04 22:43:45 +00:00
dyoung
46aba2a3d0
Remove superfluous #if (NPCPPI > 0).
2008-01-04 22:28:20 +00:00
ad
8c68ad876e
Fix headers.
2008-01-04 22:17:04 +00:00
ad
0fbfbb4408
Correct headers.
2008-01-04 22:15:58 +00:00
ad
c9e4f09710
Pull in the right headers.
2008-01-04 22:15:08 +00:00
ad
fb1e16b417
Need sys/device.h
2008-01-04 22:13:55 +00:00
dyoung
482c583bd7
Move #endif to the place where it belongs. Thanks, Chavdar Ivanov,
...
for noticing this.
2008-01-04 22:10:34 +00:00
joerg
e36a3212f8
Catch up with rename of buf's b_un.b_addr -> b_data.
2008-01-04 22:04:59 +00:00
ad
225df3f88d
Don't pull in unrelated gunk.
2008-01-04 22:03:25 +00:00
joerg
547d94f35c
Add missing sys/device.h.
2008-01-04 21:58:51 +00:00
ad
e6ab480d6d
Header cleanup.
2008-01-04 21:58:03 +00:00
joerg
84487ad85b
Needs sys/simplelock.h.
2008-01-04 21:56:36 +00:00
ad
8a9b6ca32a
Need sys/lock.h for kernel_lock.
2008-01-04 21:54:49 +00:00
ad
0269f24d50
Don't pull in unrelated headers.
2008-01-04 21:54:05 +00:00
ad
0becf21618
Include sys/device explicitly.
2008-01-04 21:53:51 +00:00
ad
910c8a56ab
Use new style memory barriers.
2008-01-04 21:53:00 +00:00
ad
070e98eb7b
Pull in sys/atomic.h for memory barriers.
2008-01-04 21:52:48 +00:00
ad
f142225fa0
B_BAD has done nothing for a long time.
2008-01-04 21:48:05 +00:00
ad
edcd8e4c68
More header file cleanup.
2008-01-04 21:47:16 +00:00
joerg
a547a2785a
Use time_second instead of time.tv_sec.
2008-01-04 21:43:58 +00:00
xtraeme
0f546319ca
sys/simplelock.h is required now.
2008-01-04 21:33:17 +00:00
xtraeme
9bb6b94d89
sys/lock.h is required now. ok ad
2008-01-04 21:31:06 +00:00
xtraeme
e9b20f72c4
sys/simplelock.h is required now.
2008-01-04 21:24:22 +00:00
ad
0664a0459b
Start detangling lock.h from intr.h. This is likely to cause short term
...
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
2008-01-04 21:17:40 +00:00