Commit Graph

32176 Commits

Author SHA1 Message Date
christos 1fb8545c60 Copyright and comment clarification from Masanori-san. 2002-06-18 02:42:16 +00:00
itojun 0c74b798cb make macppc install floppy IPv6 ready
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
2002-06-18 02:02:20 +00:00
itojun 73941c5096 avoid hardcoding MBR_MAGICOFF and MBR_MAGIC. 2002-06-18 00:37:25 +00:00
itojun 980d7c811b LABELSECTOR is redefined to be 0 on macppc, so it is not usable for MBR
disk label offset.  use hardcoded "1" for now, i guess we need a new #define
in sys/disklabel_mbr.h.  fixes ofwboot to boot kernel off from MBR-formatted
disk.
2002-06-17 23:59:01 +00:00
simonb 4cf248e04b Fix tyop. 2002-06-17 22:48:45 +00:00
christos d0497fdbca glue for MD acpi devices. 2002-06-17 22:38:31 +00:00
christos 5d3a22f6d5 Move MI drivers here. Approved by thorpej 2002-06-17 22:38:03 +00:00
fvdl 42d8b412ee Add XMM trap type. 2002-06-17 21:38:20 +00:00
matt c937154e18 Add a missing return; after print the 745x cache size(s). 2002-06-17 21:28:48 +00:00
christos 281c8c638b apply the fix from the powerpc port. this is almost a copy of powerpc/trap.c
and needs to be refactored.
2002-06-17 21:08:56 +00:00
christos eb5c1061a2 try to make this compile. 2002-06-17 21:07:40 +00:00
bjh21 1dda0b462c Kill off vidcvideo_textpalette() again, but better.
This time, vidcvideo_stdpalette() uses vidcvideo_write(), as it should, and
correctly initialises the paletter in 16bpp and (I hope) 32 bpp modes.
This fixes the colours on the text console in 16bpp modes.  32bpp seems to be
generally broken anyway.
2002-06-17 21:00:13 +00:00
christos 3b50728cf4 MD systrace gluons. 2002-06-17 16:32:57 +00:00
itojun 9e1c373ba9 make it possible to handle/mount FDISK-partitioned disk.
extended FDISK partitions are not supported yet.
openbsd code was used as reference.
2002-06-17 15:07:06 +00:00
fredette 51c7735d8a Compile all standalones for the 68010, which makes bootblocks
compiled for the sun3 also usable on a sun2.  This enables
making a single filesystem that can boot on all of sun2, sun3,
and sun3x (say, like on a CD-ROM).
2002-06-17 13:35:04 +00:00
lukem 4f0cd76133 Add clockctl device (at major # 55). 2002-06-17 06:27:26 +00:00
lukem 9574a41373 regen for clockctl 2002-06-17 05:25:18 +00:00
lukem fde6ae6f04 Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
manu eae183fa32 Added COMPAT_LINUX and COMPAT_ULTRIX (commented out) 2002-06-16 21:03:36 +00:00
manu e7be1a51a5 Commented out COMPAT_IRIX in GENERIC kernels, because it is still
quite experimental.

Added irix_kmem and irix_usema pseudo devices which are used by
IRIX binary compatibility (commented out for now)
2002-06-16 20:54:28 +00:00
bjh21 f4de492459 Parenthesise arguments to VIDC_BLUE and VIDC_GREEN correctly. 2002-06-16 14:53:24 +00:00
bjh21 0501229019 Revert last. vidcvideo_textpalette() and vidcvideo_stdpalette set the palette
by different means.
2002-06-16 14:02:04 +00:00
bjh21 fe2313a380 vidcvideo_stdpalette() and vidcvideo_textpalette() do precisely the same thing.
G/C the latter and change its only caller to use the former.
2002-06-16 13:38:12 +00:00
bjh21 a246f35cb2 Un-__P, ANSIfy, clean up comments. 2002-06-16 13:25:02 +00:00
bjh21 00ae586c6d None of the children of vidc now use their aux pointer, so there's no need
to set it, and vidcprint isn't needed to print it.  G/C all that code, and
most of the rest of vidcsearch too.
This also means that the locators on vidc's children are unused, so G/C them
as well.
2002-06-16 13:20:14 +00:00
bjh21 fe5dfeb33a struct lmcaudio_softc.iobase was unused other than to initialise it. G/C it.
This also means that the "aux" parameter to lmcaudio_attach is unused.
2002-06-16 12:38:11 +00:00
bjh21 cb54bb1599 struct vidcaudio_softc.iobase was unused other than to initialise it. G/C it.
This also means that the "aux" parameter to vidcaudio_attach is unused.
2002-06-16 12:36:42 +00:00
bjh21 1ee77efc62 Un-__P, ANSIfy, KNF. 2002-06-16 12:33:41 +00:00
bjh21 feccadb213 Un-__P, ANSIfy and light KNF. 2002-06-16 12:30:13 +00:00
bjh21 c20d5eb645 sc_iobase wasn't used, except to initialiase it at attach time. Kill it.
Hence remove all uses of "aux".
2002-06-16 12:24:23 +00:00
bjh21 5ed34fe182 Kill options XSERVER: nothing referred to it anyway. 2002-06-16 12:14:30 +00:00
bjh21 125a3becb6 Pull out config(8) input for arch/arm/iomd code into files.iomd, since that's
clearly where it belongs.  Normalise the whitespace in the moved text.
2002-06-16 12:11:23 +00:00
leo 14693fb272 Regen for nvr0 + keyword clash. 2002-06-15 21:45:36 +00:00
leo 682c6f398a Avoid using variable names in the comments. They turn into useless '1' values
if defined.
2002-06-15 21:44:07 +00:00
leo e599730d1b Add the nvram device. It really is the same as on the other machines and
installboot(1M) needs it.
2002-06-15 21:38:33 +00:00
matt 66f6833318 Make sure to cleanup the ${PROG}.out files 2002-06-15 19:26:49 +00:00
thorpej 17848b05a8 Update for acpica-unix-20020612. From Takayoshi Kochi. 2002-06-15 18:01:05 +00:00
itojun 43397e000b whitespace 2002-06-14 22:43:38 +00:00
itojun a7ec566073 #define CAPS_IS_CONTROL will make caps key a control key (with weird
LCD indicator).  From: "Nathan J. Williams" <nathanw@wasabisystems.com>
(#define name taken from arch/i386/isa/pccons.c)
2002-06-14 22:43:05 +00:00
eeh 863fc84f4d Provide the correct architecture for HW_MACHINE_ARCH so things like
"sysctl -p" can tell they are in 32-bit land.
2002-06-14 18:28:19 +00:00
eeh 923804f36a Fix hardware watchpoints and add an extract function so we can easily find
the physical addresses of things (to feed to the physical watchpoint).
2002-06-14 17:12:05 +00:00
eeh efad9de6ca NEVER CAST REFERENCE PARAMETERS!!!!! 2002-06-14 00:11:07 +00:00
bjh21 ae07cdce27 Change the entry pointer of the module from an offset to a branch instruction.
This allows us to *Load boot26 at 0x8000 and then use *Go to run it.
This might be useful because we can't currently set the RISC OS filetype
for files on CDs, so they all end up being 0xffd (Data), and *RMLoad only
works for files of type 0xffa (Module), so we need some other way of loading
boot26.
2002-06-13 22:30:22 +00:00
bjh21 b9af29fd4f Increase HIMEM to allow enough space for zlib's tables and 16 MB's worth of
page tables, so we can boot gzip'ed kernels on 16 MB machines.
2002-06-13 22:01:44 +00:00
gmcgarry a47cb57561 Fix for 64-bit event counters. Fixes PR17207. 2002-06-13 21:04:37 +00:00
gmcgarry 6c672d0196 Make this work with AUDIO_C_HANDLER. 2002-06-13 21:02:45 +00:00
gmcgarry 471fad1d4c Hasn't been used for years. 2002-06-13 20:57:03 +00:00
augustss afdb0a8737 Treat IPL_AUDIO a little different. 2002-06-13 15:29:16 +00:00
augustss 6115bde4ab Add some comments. 2002-06-13 15:28:54 +00:00
augustss ff306f407a Fix typo in probe code. 2002-06-12 23:33:56 +00:00
eeh bfc1e3973f Dynamically allocate the buffer we use for filesystem deblocking based on
the filesystem blocksize in the super block.  Allows us to read filesystems
with block sizes > 8KB.
2002-06-12 22:18:02 +00:00
fvdl c7647a1294 Fix up the FP code some, and make it deliver XMM exceptions. Adapt
sigframe a bit.
2002-06-12 19:13:27 +00:00
eeh 9984a8bbcc Fix some corner cases in bus_dmamap_load_mbuf().
From Takeshi Nakayama <tn@catvmics.ne.jp>
2002-06-12 17:06:15 +00:00
eeh c08cac5019 Use the correct bus handle to generate the handle for the streaming buffers. 2002-06-12 00:43:22 +00:00
eeh e98ab1d613 Fixes for the rtc clock on Netra X1 machines from PRs 15611 and 16816
by Takeshi Nakayama.
2002-06-11 23:33:27 +00:00
kleink dd6cccb3f2 Add a case label for the 603ev cache (identical to 603e). 2002-06-11 22:24:35 +00:00
eeh 715641d6a1 Do not truncate the kernel pmap physical address to an `int' before
sticking it in the context lookup table.  Fixes a booting issue on
Netra T1125s.
2002-06-11 21:10:03 +00:00
uwe 222181a0e0 Fix typo in nmi_sun{4,4c}, use correct register. 2002-06-11 11:37:01 +00:00
deberg bb245959f9 bus_space_mmap(), same as atari port. untested, as it is unused. 2002-06-11 05:17:30 +00:00
ragge 8d6f662016 Don't try to connect a keyboard to serial line 0 if the serial console
is on line 0; it may destroy line settings.
2002-06-10 21:32:15 +00:00
ragge fa0b03a3ac Missed to check all possible non-graphics bits on VS2k, causing the
machine to crash during boot. Reported and debugged with help of
Valeriy E. Ushakov.
2002-06-10 20:52:11 +00:00
ragge 5e40948dec Support for reading Ultrix disklabels. From the pmax port, fixed and tested
by Valeriy E. Ushakov.
2002-06-10 17:45:53 +00:00
itohy ece09443af s/XHOLE_VEC/XHOLD_VEC/ 2002-06-10 14:52:21 +00:00
fredette 4c4e0cb59a Added notes on hp700/hppa, tweaked sun68k description. 2002-06-10 14:25:41 +00:00
uwe 49444f80fe Fill delay slot in previous to match normal microtime. 2002-06-10 01:58:52 +00:00
ragge 400cbd0aad Must multiply the pte count with its size when copying ptes when the P1
region is expanded. Fixes bug reported by Matt Thomas on port-vax.
2002-06-09 21:57:08 +00:00
uwe 45f993a079 Do not use "std" in ms-IIep micortime, the argument is not guaranteed
to be double-word aligned and it is not when we are called from bpf.
Remove "should be able to std here" comment in generic microtime.
While here, simplify some asm mnemonics and fix a typo in comment.
2002-06-09 20:02:41 +00:00
matt 4cfae24f91 Add -ffreestanding and LIBC= to stand/boot/*/Makefile. Fix various
asm's to work with gcc-current.
2002-06-09 19:21:07 +00:00
tron 98568ec314 Add missing calls to bus_space_unmap(9) when the hardware RNG is not
detected, cannot be activated or doesn't work.
2002-06-09 15:02:25 +00:00
isaki df160ef3fc Divided 406 bytes disklabel area into 'nop' and 404 bytes area. 2002-06-09 12:17:48 +00:00
bjh21 9f3fed2b60 Synchronise MONITOR and MODES definitions with GENERIC. This allows my NC to
boot in a screen mode that looks sensible on its LCD monitor.
2002-06-09 11:53:23 +00:00
yamt 7d0fd357f6 make auto const variables static. 2002-06-08 16:51:38 +00:00
yamt 71f556f70f constify and make it static. 2002-06-08 16:44:14 +00:00
yamt a3da5d94f3 constify. 2002-06-08 16:34:06 +00:00
yamt 560a78f6da constify. 2002-06-08 16:20:24 +00:00
yamt 0015b85918 make an auto const variable static. 2002-06-08 16:08:54 +00:00
yamt 737ffe3619 make auto const variables static. 2002-06-08 16:03:55 +00:00
yamt fed3639fa8 make auto const variables static.
(and space->tab)
2002-06-08 16:02:02 +00:00
yamt d5fb44ee2c make an auto const variable static. 2002-06-08 15:58:47 +00:00
yamt 08c9504e97 make auto const variables static.
ok'ed by thorpej.
2002-06-08 15:50:59 +00:00
chris c153374b37 dmesg from cats booting can be bigger than 4k, so enlarge it to 8k. 2002-06-07 20:56:43 +00:00
briggs 8f360b5c1e Disable awacs because on some systems--e.g., a 350MHz G4 GigE--it can
generate interrupt storms which render the machine essentially unusable.
2002-06-07 20:27:14 +00:00
eeh 63260bae95 Fix yet another inverted comparison. 2002-06-07 19:31:04 +00:00
eeh 751dd1000c Shave 10% off the time needed to flush the D$ through a bit of instruction
reordering.
2002-06-07 19:29:38 +00:00
thorpej ffe1440f29 Add the CPU ID for the 600MHz i80321 part. 2002-06-07 18:25:28 +00:00
ragge c70e49d9e9 Change the uba devices from "xx0" to "xx*". Even if they have an exact
csr there may be multiple uba's in a machine and therefore multiple
matches for devices.
2002-06-07 14:48:11 +00:00
gmcgarry 94b4a243e6 Support Athlon performance counters. 2002-06-07 04:04:47 +00:00
gmcgarry 3acf6ed1d8 Add Athlon performance counters. 2002-06-07 04:03:49 +00:00
simonb 4d304073f1 Add some ifdef's around the usage of mips_wait_idle; fixes builds for
playstations2 and MIPS1-only kernels.
Based on patch from Bill Squier.
2002-06-07 02:05:22 +00:00
simonb 214395e5cd For some reason I'm not sure of yet, cfe_exit(warmstart, ...) isn't
working any more.  Just do a cold restart so at least we get back to
CFE for now...
2002-06-07 01:34:03 +00:00
gmcgarry 72fe1c3076 Add i586 performance counters. 2002-06-07 01:30:19 +00:00
fvdl a35e1a5e5b Match DIAGNOSTIC spl code in new system call entry. We may return
through the old one in the case of a 32bit exec, causing the check
to fire.
2002-06-07 00:06:21 +00:00
gmcgarry 4db43b2db0 Include PERFCTRS to match MTRR option. Now pmc(1) does something useful. 2002-06-06 21:16:47 +00:00
bjh21 452a764a15 Don't identify all VIDCs as "vidc20". Instead, print something appropriate
based on the type of IOMD in the system (which we use anyway to work out
the VCO reference clock frequency).
2002-06-06 21:03:28 +00:00
fredette 49b0456a72 Added some missing files. 2002-06-06 19:50:20 +00:00
fredette b57559001e Fixed some mixup between processor number and type name,
i.e., PCXT is PA7100, not PA7200.
2002-06-06 19:49:58 +00:00
fredette 1eb29e31bf Added hp700-specific files. Still a work in progress. 2002-06-06 19:48:01 +00:00
fvdl c0a27f0970 Enable (empty) procfs_machdep.c 2002-06-06 15:58:23 +00:00
ragge 184de4483b Pipes and swap disks takes a not insignificant amount of KVA, so therefore
it must be used in KVA calculation.
2002-06-06 12:28:44 +00:00
ragge dad88a6ce6 Just return if a zero uba vector is handled. It's OK to get them on Unibus
machines.
2002-06-06 11:40:53 +00:00
martin 07cafe307b Follow changes in libsa/stand.h: exit(void) -> exit(int) (one in a #if
0 block), to make it compile again.
2002-06-06 05:04:28 +00:00
simonb 97f56c7642 Don't install <machine/rnd.h>. 2002-06-06 03:30:56 +00:00
fvdl 71f7cef933 Fix arglength passed to ktrsyscall for 32bit calls. 2002-06-05 22:50:08 +00:00
fvdl 39f41c9002 The intr counters are supposed to be long (==> .quad in assembler). 2002-06-05 21:59:32 +00:00
fvdl 1c3269bdc6 Change kmem access check to match the actual kva layout. 2002-06-05 21:58:30 +00:00
martin 2d7d715810 Add audiocs at ebus. 2002-06-05 21:42:31 +00:00
fvdl 18c6a6eceb Correct arg passing to ktrsyscall once again (doh). 2002-06-05 20:54:44 +00:00
fvdl 0fc3b521af Move the IDTVEC macro here, mirroring Jason's change for the i386 port. 2002-06-05 19:17:34 +00:00
fvdl b1bff0ba73 Adapt for non-traditional cpp usage. 2002-06-05 19:16:18 +00:00
eeh e7fe9c7c35 Handle improperly aligned stack pointers more cleanly. 2002-06-05 18:11:18 +00:00
scw 9f2155138c Fix a botched pmap_vsid_bitmap[] index.
I'm surprised this worked as long as it did.
2002-06-05 15:55:51 +00:00
thorpej 86490156db Don't make _mcount static; it's already out of the user's namespace,
and doing so causes some versions of GCC to warn about "static function
prototype, but function not defined".
2002-06-05 15:14:16 +00:00
fvdl 9117c00bad Set output arch to i386:x86-64. From Jason. 2002-06-05 15:06:56 +00:00
thorpej af70ebcb19 Need <machine/intr.h> to be installed, for now. 2002-06-05 14:59:52 +00:00
fvdl eb3b53295f Don't forget to put the instruction size in tf_err on system call
entry, for the sake of syscall restart.
2002-06-05 14:59:37 +00:00
augustss 5d1d917cb8 Make it possible not to have akbd. 2002-06-05 06:33:18 +00:00
augustss 136b14943f Add NL at end of file. 2002-06-05 06:32:21 +00:00
augustss 8d5a57ed93 Make it useable. 2002-06-05 06:31:51 +00:00
simonb e36c88d696 Introduce CHIP_ACCESSTYPE which (if defined) is used as the type for
performing the accesses, regardless of the size of the data type
requested.  Useful for chips which require fixed-width accesses to all
registers.

Cast arguments printed using %lx to u_long all the time, not just
sometimes.

Include a few extra files here so they don't need to be included by the
files that include this one.
2002-06-05 06:27:10 +00:00
simonb d7a3af7811 ANSIfy. 2002-06-05 06:19:29 +00:00
simonb 6b6e4f4f60 Simplify include files that just include <mips/locore.h>. 2002-06-05 06:18:34 +00:00
simonb 8492ceb1ff White space nits. 2002-06-05 06:09:28 +00:00
simonb db50a069f8 Remove an ELF-related comment that isn't needed any more. 2002-06-05 06:02:52 +00:00
simonb 2100183aff For the CP0 status register bit definitions- add the MX, PX and NMI bits
and rename TLB_SHUTDOWN and SOFT_RESET to TS and SR (the abbreviations
in the MIPS documentation).

XXX: this file really needs to be cleaned up one day...
2002-06-05 05:56:48 +00:00
mhitch aa39671913 Setting chipmem_start and chipmem_end to the same value (size of chip
memory) greatly confuses the chip memory allocator and can prevent
some systems from even starting the kernel.  Remove the initialization
of chipmem_start (it's initialized in locore.s).
2002-06-05 04:29:30 +00:00
fredette f4f0d8a310 Added files to support generic HP PA-RISC based machines. hp700-specific
files to follow.
2002-06-05 01:04:18 +00:00
uwe cbb23a42ca Fix phys->pci memory pass-through mapping.
While here, correct wording in a comment.
2002-06-05 00:23:01 +00:00
ragge e2718cabea Do not disable interrupts until output queue is drained. 2002-06-04 21:58:55 +00:00
thorpej 04076e5943 Make this work with an ISO C preprocessor. 2002-06-04 21:44:40 +00:00
thorpej d941ddfee0 Don't use -traditional-cpp if HAVE_GCC3. 2002-06-04 21:39:09 +00:00
ragge c691ddb3fb Repair VAX8600 support, which had bit-rotten, probably not used since -98. 2002-06-04 19:04:32 +00:00
fvdl e4eac0d964 Fix rdtsc and rdpmc inlines, and fixup rnd.h to do the right thing. 2002-06-04 17:52:46 +00:00
fvdl 9c71037485 Remove all i386 host bridges, as they don't apply. Remove pchb_rndattach
call for now (may be back later).
2002-06-04 17:51:30 +00:00
fvdl 99193cfa98 Woops, pass the correct argsize to ktrsyscall. 2002-06-04 15:45:05 +00:00
fvdl ab19cd2899 Clear P_32 on native exec (from eeh in the sparc64 port). 2002-06-04 15:44:34 +00:00
ragge 2f48a39412 Need longer delay while waiting for mscp packets, otherwise it times out
on VAX8650.
2002-06-04 15:13:55 +00:00
eeh 4ff7000d80 Fix the fork trampoline to properly use the supplied tstate. 2002-06-04 15:04:08 +00:00
eeh abb7b6a965 Clear the P_32 flag when exec-ing native binaries. 2002-06-04 14:48:09 +00:00
eeh 587856dfdd Make the code that matches boot devices much more flexible so it handles
device classes as well as funny names for matching.  This should allow
us to properly recognize we're booted from a SCSI disk on a PCI controller.
2002-06-04 14:44:34 +00:00
fvdl c029f886c8 Propagate P_32 flag on fork. Use correct trampoline for 32bit return. 2002-06-04 12:58:13 +00:00
fvdl 2c7bad720d For 32bit execs, frob the stackframe to return via the old system call
return path.
2002-06-04 11:14:21 +00:00
fvdl 90c2a2ddc1 Fix up argument passing to ktr_syscall. 2002-06-04 11:12:18 +00:00
simonb 4a852aed2d Add smbus@sbobio and rtc@smbus. 2002-06-04 08:35:05 +00:00
simonb f4e42e7eb6 Add an extremely rough SMBus handler and RTC driver. This will be
cleaned up significantly when we have an MI SMBus framework, but at
least we can see the RTC on the swarm now.
2002-06-04 08:32:41 +00:00
simonb 349831dcf6 Use "cpu*" and not "cpu0" to attach all CPUs.
Add PROCFS and fix a whitespace nit while we're here.
2002-06-04 05:53:31 +00:00
simonb a1572a6b96 Match all possible CPUs, but print warnings that the processors after
the first are offline due to the lack of SMP support in the kernel.
2002-06-04 05:49:26 +00:00
simonb 9cc65a96d0 3 ports are now using the reciprocal count divisor code now, move it
to <mips/cpu.h>, and add MIPS_SET_CI_RECIPRICAL and MIPS_COUNT_TO_MHZ
macros to use it.
2002-06-04 05:42:41 +00:00
fvdl 01fbe9c413 Drink the swapgs kool-aid.
Enable the use of syscall/sysret as the default system cal entry
point.
2002-06-03 18:23:16 +00:00
fvdl 619aaa1337 Set COPTS to -O by default. 2002-06-03 18:18:43 +00:00
eeh 30cc4dc796 Pass on the P_32 flag on fork and support fork syscall returns using
%g7 as the completion address.
2002-06-03 18:08:43 +00:00
simonb 8b4906e391 Add prototypes for the 64-bit pagezero functions.
Bracket some function prototypes with #ifdef/#endif.
2002-06-03 01:51:05 +00:00
fredette bcd8676e8a Reverted previous commit. It was meant to fix a problem that
was already fixed by nathanw, had I bothered to check.
2002-06-03 00:56:55 +00:00
fredette e0b7d8c222 Now make a machine/ directory with symlinks to a small number
of machine-specific headers.  When ${MACHINE} is sun2, this
allows building the sun3 and sun3x parts of libsa, which need
things like <machine/param3.h> and <machine/param3x.h> to be
#includeable.
2002-06-03 00:29:04 +00:00
fredette 180293c7b7 exit() is now declared in libsa's stand.h, and takes an int. 2002-06-03 00:18:26 +00:00
drochner d2b9876081 move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
lukem 06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
bjh21 b3dd6235ca Since we don't have a wsmouse attachment for the ARM7500 PS/2 mouse, turn
on the pre-wscons device for it instead.  This allows X to work on my NC.
2002-06-01 23:43:48 +00:00
bjh21 40a8771d1e Using -N (OMAGIC) when linking the kernel seems to avoid BtNetBSD's doing
stupid things when loading it on an NC, so do that.  Fixing (or replacing)
BtNetBSD would be better, of course.
2002-06-01 23:24:15 +00:00
simonb 339203767f Remove some unused debug cruft.
Only print out the registers passed to us from CFE #ifdef DEBUG.
2002-06-01 16:14:23 +00:00
simonb dbae8649c2 Remove the unneeded early memsize/physmem calculations.
KNF, ANSIfy.
2002-06-01 16:12:01 +00:00
ragge 7a69e342b6 Add 11/780 and 8600 to list for who to create a RPB. 2002-06-01 15:33:22 +00:00
simonb 9f6638d8c1 Add statclock and todr function arguments to the systemsw.
Add a system_set_todrfns() function.
2002-06-01 14:38:27 +00:00
simonb e8aaf3c28b Stop using the _MIPS_BSD_API_LP32_64CLEAN ABI. This causes a few problems
and it's easier/better to wait for true N32/N64.
2002-06-01 14:29:32 +00:00
simonb 4cb13fbec6 There's two SMBuses in the BCM1250; list them both on the on-board device
list.
Get rid of some magic numbers.
2002-06-01 13:56:56 +00:00
simonb 51a91ebabb KNF; make some function static; other minor cleanups. 2002-06-01 13:55:48 +00:00
simonb 1e10b4d4ad Split USE_64BIT_FUNCTIONS into USE_64BIT_INSTRUCTIONS and
USE_64BIT_CP0_FUNCTIONS.
Add 64-bit pagezero function.
2002-06-01 13:52:23 +00:00
simonb 341ed8c0d3 Use CPU_MIPS_USE_WAIT and CPU_MIPS_NO_WAIT in the CPU table, and use
the generic name "mips_wait_idle" for the old function that had both
rm52xx_idle and mipsNN_idle entry points.
2002-06-01 13:45:45 +00:00
simonb 3611959ac8 Remove some unnecessary nops after some mfc0's. 2002-06-01 13:16:44 +00:00
simonb cf5f852d1c Standardise on the name "MIPS_SR_BEV" instead of a couple of different
#defines for the same status bit.
2002-06-01 12:27:03 +00:00
simonb 5b5cc1ebb8 Add two new cpu capability flags: CPU_MIPS_USE_WAIT for CPUs that use a
"wait" instruction based cpu_idle(), and CPU_MIPS_NO_WAIT for specific
CPUs that don't use this (applicable to mips32/64 mainly).
2002-06-01 12:10:45 +00:00
simonb d75c18b050 Use the current MIPS in_cksum for in4_cksum too. 2002-06-01 11:41:33 +00:00
itojun 937b671271 use exit(int), not exit(void), consistently - even if the arg has no meaning. 2002-06-01 11:40:31 +00:00
simonb e5aff46bc6 Add evbmips and sbmips. 2002-06-01 09:37:30 +00:00
tsubai 5fcd112b3a Add gcc 3.x version. 2002-06-01 09:22:44 +00:00
nathanw 23d9c4fc27 Explicitly include <arch/sun3/include/param3{,x}.h> rather than
<machine/param3{,x}.h>, so that this file can be included on non-sun3 builds.
2002-06-01 06:20:37 +00:00
thorpej c49ac7a5a6 Use __mips__ instead of mips. 2002-05-31 21:43:49 +00:00
thorpej e50420de38 Statements must follow labels. 2002-05-31 21:40:49 +00:00
thorpej 144cc23985 Use __mips__ instead of mips. 2002-05-31 21:19:03 +00:00
thorpej 80f6433965 Fix printf format issues. 2002-05-31 21:09:03 +00:00
thorpej 698df788fc Add -ffreestanding. 2002-05-31 20:57:41 +00:00
thorpej fca656f5b2 Don't use multi-line string literal. 2002-05-31 20:52:14 +00:00
kleink 0bf753ef67 Cosmetics: there are exceptions to the PVR major/minor rule. 2002-05-31 20:10:45 +00:00
thorpej 10e4eb9d0b Make this work with an ISO C preprocessor. 2002-05-31 20:01:28 +00:00
thorpej 9e383c402e Use C-style comments in a few places where ' appears in the comment,
so that this works with GCC 2.95.3's ISO C preprocessor.
2002-05-31 19:59:00 +00:00
thorpej 969c677abf Remove redundant (and incorrect) extern decl. 2002-05-31 19:49:42 +00:00
thorpej 28afbb384c Build with -ffreestanding. 2002-05-31 18:26:26 +00:00
thorpej 6ef955a02d Make this work with an ISO C preprocessor. 2002-05-31 18:22:54 +00:00
thorpej 3a00c62229 Move the IDTVEC() macro to <machine/asm.h>, and make it work with
an ISO C preprocessor.
2002-05-31 18:07:31 +00:00
thorpej a5baff6d08 Add an __unused__ attribute to n_support and n_lower, since they are
unused if a kernel supports all CPU families.
2002-05-31 17:46:51 +00:00
ragge f811a80bc3 Handle machine checks separate from other "stray" interrupts. 2002-05-31 15:58:26 +00:00
ragge 787f3adbcf ALIGNENTRY must always be 0 on vax, otherwise loadfile_aout won't work. 2002-05-31 15:22:01 +00:00
kleink 46b946bc5f Fill in real cache size/organization information and recolor; currently
doesn't make a difference except for the 604e.

XXX Does not consider L2 caches yet.
2002-05-31 15:04:14 +00:00
bjh21 54f310b7ce Use ${PRINTOBJDIR} rather than rolling our own. This makes parallel
builds work properly.
2002-05-31 13:46:00 +00:00
toshii f98f1c4df5 Add a missing config_hook_init call. 2002-05-31 13:43:28 +00:00
bjh21 31e94b1399 Insert .WAIT between libsa and boot so that parallel builds have a chance
of working.
2002-05-31 13:42:25 +00:00
augustss e916f073c3 Add bus_space_vaddr(). 2002-05-31 11:31:30 +00:00
augustss fb0ca293ff Add some. 2002-05-31 11:13:23 +00:00
augustss 301d69b351 Remove some devices. 2002-05-31 11:03:53 +00:00
augustss c838cc089e Don't use IPL_AUDIO. 2002-05-31 11:00:38 +00:00
augustss 81dc1093c0 Don't define IPL_AUDIO since there's no splaudio(). 2002-05-31 10:53:34 +00:00