Commit Graph

83076 Commits

Author SHA1 Message Date
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
kardel
9cf34bf81f move MAX_TCNAMELEN from kern_tc.c into timetc.h 2006-09-02 13:47:03 +00:00
kardel
e23bdf3c6e move MAX_TCNAMELEN into timetc.h, use constant in tmp buffer allocation 2006-09-02 13:45:04 +00:00
yamt
8b789e8490 nfs_fhtovp: try to detect stale or invalid handles by issuing VOP_GETATTR. 2006-09-02 13:37:52 +00:00
yamt
b45e7d3197 nfsdreq_free: remove an assertion which is not true. 2006-09-02 13:30:08 +00:00
liamjfoy
3c3d7131af increment ips_total too.
ok matt thomas
2006-09-02 12:41:01 +00:00
yamt
3311de9ddc implement vptofh and fhtovp for nfs. 2006-09-02 12:40:58 +00:00
yamt
d7d8adb6ea nfsd: deal with variable-sized filehandles. 2006-09-02 12:40:36 +00:00
yamt
d70ea60617 #ifdef out nqsrv_getlease and friends unless defined(NFSSERVER). 2006-09-02 12:39:59 +00:00
xtraeme
1d143cb5ae - Remove k8pnow_read_pending_wait() and use a macro that _always_
will wait for the bit pending wait to be cleared. When this bit is
  cleared the CPU is ready to enter to new processor state. [1]
- Remove useless comments.
- Sync boot messages with est.c

[1] Macro taken from FreeBSD.

And new changes tested by elad.
2006-09-02 11:00:52 +00:00
xtraeme
05670fe773 Remove unused variable to make this build again. 2006-09-02 09:26:47 +00:00
christos
88112b2ad5 add missing initializers 2006-09-02 07:30:30 +00:00
christos
57eb3ffe77 fix default type decls
fix incomplete initializer
2006-09-02 07:26:47 +00:00
christos
b6994507c5 add missing initializer 2006-09-02 07:23:53 +00:00
christos
7ca3c62d31 - fix initializers
- add const
- remove dead code
2006-09-02 07:22:44 +00:00
christos
25097e66ef Add missing initializers 2006-09-02 07:16:41 +00:00
christos
66f851cf96 add missing initializers 2006-09-02 07:12:11 +00:00
christos
faec8658c7 - fix incomplete initializer
- static goes first
2006-09-02 07:10:51 +00:00
christos
0668b0a2e0 static goes first 2006-09-02 07:08:39 +00:00
christos
7d1781d944 - fix incomplete initializer
- static goes first
2006-09-02 07:07:33 +00:00
christos
b5da945622 comment out unreachable code 2006-09-02 07:06:03 +00:00
christos
a91b63349c add missing initializer 2006-09-02 07:04:46 +00:00
christos
7465b73617 add missing initializers 2006-09-02 07:04:01 +00:00
christos
a569a4d291 add missing initializer 2006-09-02 07:01:20 +00:00
christos
9f681d6f65 comment out impossible code 2006-09-02 07:00:23 +00:00
christos
489fe1e988 add missing initializers 2006-09-02 06:56:30 +00:00
christos
b819e0b190 Add missing initializer 2006-09-02 06:54:18 +00:00
christos
de02317b32 comment out impossible code 2006-09-02 06:53:17 +00:00
christos
c4501e2800 fix incomplete initializer 2006-09-02 06:52:13 +00:00
christos
d74781a938 - add missing initializers
- comment out impossible code
2006-09-02 06:48:00 +00:00
christos
0dc26f6dcb remove impossible test 2006-09-02 06:46:04 +00:00
christos
ec219b9b61 use c99 initializers 2006-09-02 06:44:59 +00:00
christos
f7619e4f98 add missing initializers 2006-09-02 06:41:16 +00:00