Commit Graph

33811 Commits

Author SHA1 Message Date
christos 729ccbc9cd si_ -> sel_ 2002-11-26 19:49:00 +00:00
thorpej 09dfaace39 The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.
2002-11-26 18:51:12 +00:00
christos 26f075fcb4 minor cleanups. 2002-11-26 18:40:46 +00:00
pk 007c037980 * pmap_destroy(): reset the region gap
* pmap_quiet_check(): add check for pmeg leaks on sun4/4c (this is DEBUG only).
2002-11-26 15:09:56 +00:00
pk 0fad562c7c The presence of the `timer at obio' attachment is independent of the
various CPU support settings.
2002-11-26 14:43:39 +00:00
pk ec667a0f51 Add `machdep.cpu_arch' sysctl to determine the CPU architecture version.
Currrently, cpu types `sun4' and `sun4c' produce version 7, all others
version 8.
2002-11-26 14:36:10 +00:00
fvdl cc461b0d7b Remove oboe, it's broken for non-i386 (vtophys usage which should be
bus_dma).
2002-11-26 03:27:49 +00:00
manu 53356d6169 Added an empty shell for signal delivery. Now we just have to fill the
machine dependant bits.
2002-11-25 22:25:12 +00:00
fvdl 6a97966f21 Remove aac. 2002-11-25 20:30:48 +00:00
scw 61724834f9 Fix a typo to make this compile with MEMSIZE is defined. 2002-11-25 11:26:22 +00:00
thorpej 1ed8cb9316 Avoid strict-alias warnings. 2002-11-25 06:40:26 +00:00
thorpej b65c7c5437 Avoid strict-alias warnings. 2002-11-25 05:37:00 +00:00
thorpej 6439a43f9a Remove redundant (and incorrect) extern decl. 2002-11-25 05:13:41 +00:00
thorpej 43bd3cb89d Avoid strict-alias warnings. 2002-11-25 05:12:06 +00:00
thorpej 2e9c89031c Statements after labels. 2002-11-25 05:11:32 +00:00
thorpej 35a57313da Use tlbrelo and tlbrehi. 2002-11-25 05:10:39 +00:00
thorpej 47646b017e Add -mcpu=403 to AFLAGS. 2002-11-25 02:56:20 +00:00
thorpej 54dbc0eab3 Avoid strict-alias warnings. 2002-11-25 02:46:10 +00:00
thorpej 113c35cbf2 Remove an unnecessary token-paste, as pointed out by GCC 3.3. 2002-11-25 02:45:46 +00:00
thorpej 5b009a398e Avoid strict-alias warnings. 2002-11-25 02:14:30 +00:00
thorpej 0aa1f82268 Remove an unnecessary cast in an asm statement. 2002-11-25 02:13:59 +00:00
enami e58966cf92 Explicitly include machine/atomic.h since this file uses inline function
defined there.  This is necessary when LOCKDEBUG is defined.
2002-11-25 02:10:28 +00:00
thorpej 3151023170 Remove redundant (and incorrect) extern decl. 2002-11-25 02:07:37 +00:00
thorpej 796aa6a84a Statements after labels. 2002-11-25 02:06:16 +00:00
thorpej 2cec7d4fd9 Makefile.kern.inc now includes -Wno-sign-compare, so use the default
warnings now.
2002-11-25 01:38:32 +00:00
thorpej 3911a545e1 No newlines in string constants. 2002-11-25 01:36:35 +00:00
thorpej 6fd88f0e65 Avoid a trigraph. 2002-11-25 01:33:51 +00:00
thorpej 11707809eb No newlines in string constants. 2002-11-25 01:31:12 +00:00
fvdl 9fcc1a32d4 Add COMPAT_NETBSD32 and EXEC_ELF32. 2002-11-25 01:11:37 +00:00
fvdl 5fc8b835db First cut at GENERIC kernel. 2002-11-25 01:05:58 +00:00
fvdl 4732d6d0dd Set warning flags seperately, until the kernel can be compiled with
the default warning flags on with gcc 3.
2002-11-25 00:32:43 +00:00
fvdl be7e49f1cd No MCA here. 2002-11-25 00:28:46 +00:00
lukem 1847a76b62 use NOMAN instead of MKMAN=no. noted by David Bonnafous on port-i386@ 2002-11-24 23:48:48 +00:00
martin 070e18f3f3 Assign a major number for "lpt* at ebus?". 2002-11-24 20:58:06 +00:00
christos 40983baedb add mach_sigcode.o to the files that depend on assym.h 2002-11-24 18:56:01 +00:00
thorpej 0eb35ef834 Instrument FP emulation traps. 2002-11-24 17:34:06 +00:00
thorpej baf5c58201 Use EVCNT_TYPE_TRAP. 2002-11-24 17:05:45 +00:00
isaki fe7b4d99f1 Fix typo. s/cfdata/cfdriver/ 2002-11-24 13:33:45 +00:00
fvdl 14480382cd Correct old syscall path the same way as previous commit. 2002-11-24 13:19:27 +00:00
scw 46a9e7ed35 Quell uninitialised variable warnings. 2002-11-24 12:12:01 +00:00
scw 918d34d917 Quell an uninitialised variable warning. 2002-11-24 12:07:52 +00:00
scw 009e79b59b Remove some accidentally committed debug code. 2002-11-24 10:43:15 +00:00
jmc 33169df7d2 Provide a cast when setting up the interrupt handler (npxintr has a different
signature than the prototype expects)
2002-11-24 10:19:37 +00:00
simonb 12c35ee2d2 New generic way-aware MIPS32/64 range-index cache functions with proper
handling for phyiscally-indexed caches where the way size is greater than
the page size.
These work fine with pass 1 SB1 cores, so g/c those workarounds.

Much thanks to Chris Demetriou for many suggestions and helping me get
my head around all this.
2002-11-24 07:41:29 +00:00
simonb 3a72aadc2b Add the VI bit in config 0. 2002-11-24 07:28:42 +00:00
simonb 3682edd3d4 Move the curpcb and segbase extern decls to cpu.h to better group together
what will need to change for SMP.
Hide 'struct cpu_info' and some macros in #ifdef _KERNEL/#endif.
2002-11-24 07:26:04 +00:00
shin 79606e014b wipe out all physical memory before hibernate/reset.
otherwise, WinCE will not boot on some machine (ex. IBM z50).
2002-11-24 06:02:23 +00:00
chris 01bbc5d994 Add a debug assert that wired pages provide protection flags in the flags
argument as well.

Also update a couple of debug messages to NPDEBUG.
2002-11-24 01:09:09 +00:00
chris 3dd552c1b2 Fix's DEBUG kernel's not making it into multiuser on cats. (as spotted by
nick)
When wiring a page with pmap_enter you must supply the protection in the
flags as well as in the prot.
2002-11-24 01:07:47 +00:00
fvdl 1e5d37bcda Recurse into ../i386/stand 2002-11-23 23:53:32 +00:00