Commit Graph

75904 Commits

Author SHA1 Message Date
christos
e73f21e6cb Sprinkle const. 2005-05-29 21:37:02 +00:00
christos
2056c915d2 avoid variable shadowing. 2005-05-29 21:34:23 +00:00
christos
4aeb136dff Add a lot more const. 2005-05-29 21:34:07 +00:00
christos
6bbf0077fc Avoid shadowed variables. 2005-05-29 21:33:01 +00:00
christos
daaa1cae60 avoid shadowed variables. 2005-05-29 21:32:37 +00:00
christos
02e608f6b8 Add lots of const. 2005-05-29 21:31:05 +00:00
christos
8eaf136917 - sprinkle const
- change b*() -> mem*()
- rename shadowed variables.
2005-05-29 21:29:43 +00:00
christos
d276a994d2 - sprinkle const
- remove unnecessary casts
- change some b*() to mem*()
2005-05-29 21:27:45 +00:00
christos
c6c1539491 sprinkle const, remove casts. 2005-05-29 21:26:27 +00:00
christos
f6a2fa578d Fix reversed arguments. Found by -Wcast-qual and removing stupid casts. 2005-05-29 21:26:02 +00:00
christos
273df63602 - sprinkle const
- avoid shadow variables.
2005-05-29 21:25:24 +00:00
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