Commit Graph

9106 Commits

Author SHA1 Message Date
lukem
7a4c7e7ffc Fix WARNS=4 issues (-Wextra -Wcast-qual).
Resolves PR bin/41282
2009-04-26 01:51:07 +00:00
lukem
a3417b09b0 WARNS=1 for pf 2009-04-23 05:25:06 +00:00
lukem
74f7394a13 Allow WARNS=4 after Christos' fix sys/cdefs.h 2009-04-23 01:37:55 +00:00
lukem
6c17577005 Fix -Wsign-compare issue 2009-04-23 01:36:56 +00:00
christos
33c521093c WARNS=4 2009-04-22 18:10:38 +00:00
lukem
d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
joerg
e7f29a3386 Split fsck during boot into two phases. Check the root file system
first, mount root and run the various disk providers. Add swap and
check the remaining file systems after that.
This breaks the dependency cycle for lvm, which needs writeable /dev.
Depend on rndctl in cgd.
2009-04-21 16:08:57 +00:00
drochner
0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
mschuett
0d53a16d76 Add queue macros SLIST_FOREACH_SAFE, STAILQ_FOREACH_SAFE, STAILQ_LAST,
SIMPLEQ_CONCAT, and SIMPLEQ_LAST.

Remove seperate definitions outside of queue.h.
2009-04-20 09:56:07 +00:00
ad
4d8f47ae2f cpuctl:
- Add interrupt shielding (direct hardware interrupts away from the
  specified CPUs). Not documented just yet but will be soon.

- Redo /dev/cpu time_t compat so no kernel changes are needed.

x86:

- Make intr_establish, intr_disestablish safe to use when !cold.

- Distribute hardware interrupts among the CPUs, instead of directing
  everything to the boot CPU.

- Add MD code for interrupt sheilding. This works in most cases but there is
  a bug where delivery is not accepted by an LAPIC after redistribution. It
  also needs re-balancing to make things fair after interrupts are turned
  back on for a CPU.
2009-04-19 14:11:36 +00:00
lukem
193dbe5711 fix -Wshadow 2009-04-19 08:53:37 +00:00
lukem
9a5b6d41c6 fix -Wshadow 2009-04-19 08:40:48 +00:00
lukem
0350114585 Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-19 07:54:08 +00:00
lukem
96bb91fe3c Fix WARNS=4 issues (-Wextra -Wshadow) 2009-04-19 07:49:07 +00:00
lukem
6bc6e73b91 Fix -Wsign-compare issues 2009-04-19 06:09:42 +00:00
lukem
d3d3aa621a Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-19 06:06:39 +00:00
lukem
9797780352 Fix -Wsign-compare issue 2009-04-19 04:01:06 +00:00
lukem
c7dd380491 Fix -Wsign-compare issues 2009-04-19 02:25:48 +00:00
lukem
228475234f Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-19 01:53:17 +00:00
lukem
6363aba79d Fix WARNS=4 (-Wcast-qual -Wextra) 2009-04-19 01:52:09 +00:00
lukem
975b87b4f5 Fix -Wcast-qual and -Wshadow issues 2009-04-19 00:56:32 +00:00
lukem
802fa86c68 Fix -Wcast-qual issue 2009-04-19 00:44:49 +00:00
lukem
dfb301f79f Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-19 00:26:18 +00:00
lukem
1638ad2757 Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-18 14:06:58 +00:00
lukem
e4e2f3f32e Fix -Wextra issue 2009-04-18 14:02:42 +00:00
lukem
899b971d2c Fix -Wsign-compare issue 2009-04-18 14:01:37 +00:00
lukem
6c07b7244e Fix -Wshadow 2009-04-18 13:57:44 +00:00
lukem
ca5cba9384 remove unnecessary comments 2009-04-18 13:55:11 +00:00
lukem
c2fdfea89a Fix -Wcast-qual and -Wsign-compare issues 2009-04-18 13:53:59 +00:00
lukem
46a41907e1 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare).
XXX: could improve parsing of -v option and store "cutoff" as a uint64_t.
2009-04-18 13:37:04 +00:00
lukem
e3823f584e Fix -Wsign-compare issue 2009-04-18 13:05:54 +00:00
lukem
0466bbb6dd Fix -Wshadow and -Wcast-qual issues 2009-04-18 13:02:36 +00:00
christos
2eded15942 delete old bind 2009-04-18 13:01:19 +00:00
lukem
46c55ef395 Fix -Wshadow and -Wcast-qual issues 2009-04-18 12:57:10 +00:00
lukem
54f1cbbf7a Fix -Wshadow issue 2009-04-18 09:25:50 +00:00
lukem
aad74fbea3 Fix -Wcast-qual issues 2009-04-18 09:20:40 +00:00
lukem
178a598d18 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-18 09:18:17 +00:00
lukem
09ae632551 Fix WARNS=4 issues (-Wshadow -Wsign-compare -Wextra) 2009-04-18 08:50:23 +00:00
lukem
88c712c252 Fix -Wcast-qual issues 2009-04-18 08:20:41 +00:00
lukem
4d2da769ca Fix -Wcast-qual issue 2009-04-18 08:17:23 +00:00
lukem
4780f87772 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-18 08:08:36 +00:00
lukem
aecc7237da Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-18 08:05:18 +00:00
lukem
9559646817 Fix WARNS=4 issues (-Wsign-compare -Wextra) 2009-04-18 07:17:16 +00:00
lukem
35a4cbea60 Compare size_t vs off_t by casting both to uintmax_t 2009-04-18 06:28:19 +00:00
lukem
d5d23344d7 Fix -Wcast-qual issues 2009-04-18 05:09:15 +00:00
lukem
c83cfc0c59 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-17 16:12:46 +00:00
lukem
58cb611abb Fix WARNS=4 (-Wshadow -Wsign-compare -Wcast-qual) 2009-04-17 16:05:43 +00:00
lukem
a23ae1c696 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-17 14:07:45 +00:00
lukem
95087e98e0 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wextra -Wsign-compare) 2009-04-17 14:02:21 +00:00
lukem
0076abc054 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-17 13:56:33 +00:00