Commit Graph

165436 Commits

Author SHA1 Message Date
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
ad
46a018d0e2 More linker stuff 2008-01-04 21:06:37 +00:00
xtraeme
29f483410f machine/cpufunc.h is required now. 2008-01-04 20:42:25 +00:00
christos
5fa6e7c2d4 add missing includes 2008-01-04 20:38:01 +00:00
uwe
d02168ab21 There's no need to pull in machine/intr.h here. 2008-01-04 20:10:12 +00:00
dsl
e3c05d1c5d Allow the boot code to use the disklabel 'faked up' from the mbr.
Should allow bootxx_fat16 (and bootxx_msdos etc) to boot from drives that
don't contain a netbsd disklabel.
2008-01-04 20:05:46 +00:00
joerg
7a170eb0b2 Add missing mutex for cv_timedwait. 2008-01-04 19:45:54 +00:00
ad
c86e36f12b Don't pull in sys/simplelock.h, it's not needed. 2008-01-04 18:40:04 +00:00