Commit Graph

83108 Commits

Author SHA1 Message Date
christos 1b87f8e9cc add missing initializer 2006-09-03 06:29:03 +00:00
christos 59d19c4947 add missing initializers 2006-09-03 06:28:16 +00:00
christos 48c3e87853 add missing initializer 2006-09-03 06:26:27 +00:00
christos e2ea4b04bb avoid empty else statement 2006-09-03 06:25:19 +00:00
christos a307d25b10 add missing initializer 2006-09-03 06:24:21 +00:00
christos 01edefa570 comment out unreachable code 2006-09-03 06:23:27 +00:00
christos 996634386c comment out unreachable code. 2006-09-03 06:22:05 +00:00
dyoung 8db36d06c3 Don't use IFQ_ macros on an ifqueue. Fixes a compilation error
reported by christos.
2006-09-03 06:10:06 +00:00
christos 5cbefe6615 make this compile again (thanks gdamore) 2006-09-03 06:03:51 +00:00
simonb c0b7864181 Add ``makeoptions DEBUG="-g"''. From the comment in GENERIC:
# XXX
# Need "-g" so that link sets in libraries work.  The "objcopy -x" step
# will strip out static link set info from an a.out object.
2006-09-03 05:58:19 +00:00
christos 4905e82e29 add missing initializer 2006-09-03 05:30:48 +00:00
christos c11c8c78df add missing initializers 2006-09-03 05:29:46 +00:00
christos 9c03e39ea2 add missing initializer 2006-09-03 05:27:28 +00:00
gdamore 4c30050f13 Convert i386 to use common TODR code. Not tested, but Christos says he'll
test it for me right now. :-)
2006-09-03 05:26:11 +00:00
christos f2e0e5984c add missing initializer 2006-09-03 05:25:43 +00:00
gdamore a6abab1852 Incorporate changes from x86/i386 as follows:
1) don't set a clock when panicing during early boot
2) if the filesystem time is newer than the rtc time (by at least 2 days) then
revert to the filesystem time.
3) use x86 style messaging.

We still use a threshold of 2 days of gain or loss in time to warn though.
2006-09-03 05:25:05 +00:00
christos b3d983dd18 add missing initializer 2006-09-03 05:24:47 +00:00
christos 5b7c1e90d5 add missing decl. 2006-09-03 05:23:59 +00:00
christos 78c43e9064 static comes first 2006-09-03 05:22:36 +00:00
christos 4ac9cd5ebe add missing initializer 2006-09-03 05:20:21 +00:00
christos 7ed28205b6 - add missing initializer
- comment out impossible comparison
2006-09-03 05:19:38 +00:00
christos 144543fb61 add missing initializer 2006-09-03 05:18:03 +00:00
christos d13620d51a comment out impossible comparison. 2006-09-03 05:16:59 +00:00
christos 60dfc6ed9c add missing initializers 2006-09-03 05:16:01 +00:00
christos eb7cb3e07d - add missing initializers
- remove impossible comparison
2006-09-03 05:12:54 +00:00
christos 624d950194 add missing initializer 2006-09-03 05:11:30 +00:00
christos 26733bed2e - comment out impossible comparisons
- remove superfluous if statement
2006-09-03 05:10:24 +00:00
christos 44dddc087f use c99 initializers 2006-09-03 05:08:18 +00:00
christos 7de21598de - add missing initializer
- correct function decl.
2006-09-03 05:04:57 +00:00
christos 93582079db add missing initializer 2006-09-03 05:02:21 +00:00
christos 309d51fb22 add missing initializers 2006-09-03 04:56:33 +00:00
christos d5d864694f avoid empty else. 2006-09-03 04:55:30 +00:00
christos e89033a3e5 add missing initializers 2006-09-03 04:54:24 +00:00
christos 5388ec4cc9 add missing initializer 2006-09-03 04:53:19 +00:00
christos 2ef37e3f61 use c99 initializers 2006-09-03 04:52:14 +00:00
christos 116c50293c add missing initializer 2006-09-03 04:28:16 +00:00
christos a96f0dc641 avoid empty if statements 2006-09-03 04:27:11 +00:00
gdamore 3bc99cc29a Use new common, MIPS3 clock handling. This eliminates some port-specific
code in favor of common MIPS3 code.
2006-09-02 22:54:47 +00:00
gdamore b671de1aa9 Remove pointless dependency upon evbmips/clockvar.h. 2006-09-02 22:53:02 +00:00
uwe ded7a4b611 There's no reason to use -Wno-parentheses. 2006-09-02 22:37:33 +00:00
gdamore be077b9856 Remove pointless reference to evbmips/clockvar.h. 2006-09-02 22:33:06 +00:00
gdamore 121f85350b Provide a common implementation for ports that use the MIPS CP0 counter
based clock interrupt.

This provides common implementations of: delay(), cpu_initclocks(), and a
timecounter based on the MIPS3 CP0.  It also provides a new function,
mips3_clockintr(), that is intended to be called from a port's cpu_intr()
routine when INT5 is raised.

Hopefully many MIPS3 based machines can adopt this common interrupt framework.
The evbmips conversion will be committed separately, shortly.
2006-09-02 22:20:57 +00:00
matt 497415f67e Make this compile in _KERNEL || _STANDALONE. Make gcc4 happy. 2006-09-02 20:46:50 +00:00
gdamore f0cf1a4f32 Convert evbmis to __HAVE_GENERIC_TODR. 2006-09-02 20:27:21 +00:00
gdamore c583da0d13 Add MI implementation of inittodr, todr_attach, and resettodr.
This is triggered upon __HAVE_GENRIC_TODR in machine/types.h.  Conversion of
evbmips port forthcoming.
2006-09-02 20:18:00 +00:00
elad 994bc68e9f Short-circuit calls to kauth_authorize_action() for a scope withtout any
listeners to always return "allow".

The idea is that it's not entirely unlikely that some vendors, or users,
will decide to load the security model as an LKM, and that can only
happen after at least mounting local file-systems. If we would not have
this fast-path, all authorization requests would be denied.

okay christos@
2006-09-02 20:10:24 +00:00
christos 3cd45450e8 redo with c99 initializers 2006-09-02 18:59:46 +00:00
christos bd4bd1bf9d - comment out impossible comparison
- add missing initializer
2006-09-02 18:58:02 +00:00
matt c8b1a4622f Add/rename macros (PVO_xxx_P) for testing WIRED, MANAGED, EXECUTABLE ness
of a PVO entry.  (Fixes where PVO_WIRED was tested against pvo_pt.pte_lo
instead of pvo_vaddr)
2006-09-02 17:08:44 +00:00
christos 5ec7f32544 add missing initializers 2006-09-02 17:02:57 +00:00