Commit Graph

75893 Commits

Author SHA1 Message Date
christos
8789058cbb Sprinkle const. 2005-05-29 21:23:17 +00:00
christos
333e176687 - sprinkle const
- remove unneeded casts
- use more mem*() instead of b*() funcs.
2005-05-29 21:22:52 +00:00
christos
96c6c0f7f6 Sprinkle const. 2005-05-29 21:19:41 +00:00
christos
b18a38d24a Another volatile wakeup. 2005-05-29 21:19:12 +00:00
christos
af7897eb00 XXX: I don't think this makes sense to be volatile... Remove it. 2005-05-29 21:18:53 +00:00
christos
c42477243e make ltsleep and wakeup* vars volatile. 2005-05-29 21:18:25 +00:00
christos
f711763983 caddr_t -> void * 2005-05-29 21:17:37 +00:00
christos
68c3df4bde rename shadowed variable. 2005-05-29 21:17:14 +00:00
christos
ba7dc4bf1f make the wait channel volatile. 2005-05-29 21:16:44 +00:00
christos
6639138da1 Now we can fix the volatile cast-aways.
Rename some shadowed variables while here.
2005-05-29 21:16:14 +00:00
christos
64f341e8e1 Add an internal _TAILQ macro that allows us to be explicit about volatile
qualifiers and use it in the lock case. This will help us clean the XXX
volatile cast-aways in kern_lock.c
2005-05-29 21:14:40 +00:00
christos
b636cdfe8a Regen 2005-05-29 21:11:30 +00:00
christos
44285e060d Argument for swapctl cannot be const, since it gets loaded with swap
statistics.
2005-05-29 21:07:49 +00:00
christos
e715d2ee98 avoid shadow variables.
remove unneeded casts.
2005-05-29 21:06:33 +00:00
christos
81cb2a7668 - sprinkle const
- avoid shadowed variables.
2005-05-29 21:05:25 +00:00
christos
a29d4b2515 - rename variables to avoid shadowing.
- add a few const.
2005-05-29 21:00:29 +00:00
christos
e7c15fae96 - sprinkle const
- avoid shadowed variables
- mark bad const use with XXXUNCONST
2005-05-29 20:58:13 +00:00
christos
85d43e7f3d Sprinkle const freely and delete unnecessary casts. 2005-05-29 20:56:02 +00:00
elad
686a5b23f6 Make veriexec_fp_cmp() a bit more useful by allowing it to compare two
fingerprints based on a common algorithm without requiring an actual
entry in the tables.
2005-05-29 16:07:10 +00:00
chs
c30be7db9d remove "#if 1" around some necessary code. 2005-05-29 15:58:33 +00:00
chs
cf01d82b43 in pmap_enter(), preset the ref bit for execute-only mappings too. 2005-05-29 15:57:53 +00:00
chs
94622623d8 in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.
2005-05-29 15:56:59 +00:00
elad
65b04a0bf1 Use PAGE_SIZE chunks, not VERIEXEC_BUFSIZE - it's very important that the
size is not arbitrary and is exactly the size of a page.
2005-05-28 16:37:20 +00:00
kent
189ffc4458 regen 2005-05-28 16:04:35 +00:00
kent
24cb92f3fd Add the followings:
- 6300ESB AC'97 Audio
 - 6300ESB AC'97 Modem
 - ICH6 HD-Audio
 - ICH6 AC'97 Modem
 - All of ICH7 devices
2005-05-28 16:03:49 +00:00
elad
dbc8605f39 - Add VERIEXEC_OPINIT() and veriexec_add_fp_ops(), simplifying the addition
of fingerprinting algorithms to the ops vector.

- Cleanup in veriexec_add_fp_name().

- Remove veriexec_default_ops and use the above API for adding the default
  methods in veriexec_init_fp_ops().
2005-05-28 15:49:36 +00:00
skrll
35de2b7d10 Fix interrupt out transfers.
Reviewed by Lennart.
2005-05-28 07:44:37 +00:00
macallan
588c5238ba fixed a bug in ffbfb_mmap to make XFree's sunffb driver work, added another
special case region for afbinit
2005-05-27 22:50:43 +00:00
seanb
7ce7d7cb4c - Discrepency between malloc / free types with init vector (see free
in netipsec/key.c).
- Reviewed by christos.
2005-05-27 22:30:03 +00:00
seanb
40b52d3132 - Arithmetic error when calculating ticks to nd6_llinfo_settimer().
- Reviewed by christos.
2005-05-27 22:26:25 +00:00
bouyer
45d876eaeb Reset the microtime state in inittodr(), so that the next clock tick will
initialise the microtime state again. it was initialised at the first
clock tick before time of day was set. Should fix port-xen/29846.
Also, try harder to call microset() once a second; the clock interrupt handler
can be called more often than HZ in some case.
2005-05-27 22:02:25 +00:00
gavan
46233ce201 Workaround for issues seen on VIA C3-based systems. PR port-i386/26007
Tested on ML5000 board. This may not fix the problem on all variations of the
hardware, but it's likely that variations on the theme will. This workaround
is non-intrusive and should not affect any other CPUs.
2005-05-27 21:40:09 +00:00
augustss
6ec31d4922 Regen. 2005-05-27 12:48:49 +00:00
augustss
9a7173c1e1 Add the TM8000 integrated northbridge. 2005-05-27 12:48:24 +00:00
he
c8a976c70d Reduce optimization level for sh5 for one file which causes our gcc
3.3.3 to get an internal compiler error of type "can't split insn".
2005-05-26 18:33:36 +00:00
bouyer
7a5d07454c Always call the xpq_queue*() functions at splvm(), so that it's safe to call
them from interrupt context.
xpq_flush_queue() is called from IPL_NET in if_xennet.c, and
other xpq_queue* functions may be called from interrupt context via
pmap_kenter*(). Should fix port-xen/30153.
Thanks to Jason Thorpe and YAMAMOTO Takashi for enlightments on this issue.
2005-05-26 13:54:43 +00:00
kleink
4a6a03b162 Include <sys/cdefs.h> for __signed; related to lib/30072. 2005-05-25 20:58:00 +00:00
tsutsui
f8402eeaeb Sync with news68k:
- use MAKEDISKDEV() macro
- make readdisklabel(9) return more usable default label
- some cosmetics
2005-05-25 12:47:24 +00:00
hannken
a69fbd6a18 - Use an empty snap block list to set the initial file size. Snapshot is
now valid from the beginning.  No need to copy the last fs block two times.
- No need to allocate the cylinder group blocks twice.
- cgbuf -> sbbuf
2005-05-25 11:07:13 +00:00
rearnsha
4987034e09 Fix the v6 boot check: A '6' in the architecture field really means
Architecture v5TEJ.
2005-05-25 09:20:33 +00:00
martin
228158ce8c If the driver supports reverse, try that first - even on color displays.
This removes a XXX and makes us independent of the users default colors.
2005-05-25 06:46:07 +00:00
perseant
96f8f74d91 Don't update lfs_stats.segs_reclaimed if we're not keeping statistics.
Patch from Juan RP.
2005-05-25 01:50:01 +00:00
tsutsui
1f2b0179d7 ATP865 chips support Ultra133, so correct attach messages as well. 2005-05-24 18:43:29 +00:00
yamt
b0bd23fffb privcmd_ioctl: don't abuse errno for IOCTL_PRIVCMD_INITDOMAIN_EVTCHN.
renumber the ioctl and keep the old one for compatibility.
PR/30027.
2005-05-24 12:07:12 +00:00
tsutsui
adfa3b38bf - make readdisklabel(9) return more usable default label
if disk doesn't have disklabel (sync with news68k)
- most hp300 machines have a boot patition and partition a doesn't
  start at 0, so RAW_PART should be used in bounds_check_with_label(9)
- remove unneeded <sys/syslog.h>
- remove b_cylinder definition, which is in <sys/buf.h>
- some other cosmetics
2005-05-24 10:27:24 +00:00
tsutsui
ffeec43eef Make readdisklabel(9) return more usable default label
if disk doesn't have disklabel.
2005-05-24 10:06:43 +00:00
tsutsui
abc8ecf4ae - use MAKEDISKDEV() macro
- some cosmetics
2005-05-24 09:49:55 +00:00
lukem
ec43f8fc40 add __KERNEL_RCSID 2005-05-24 05:25:15 +00:00
lukem
5e4045c6bb add __KERNEL_RCSID 2005-05-24 05:14:37 +00:00
jmc
36b625d324 Regen 2005-05-23 23:22:27 +00:00