Commit Graph

82107 Commits

Author SHA1 Message Date
simonb 7b9237cb08 White space nit. 2001-06-22 11:42:33 +00:00
simonb 363019a6c1 Add a db_active variable that indicates if a call to the debugger is
active.  Seems to be required by the MI com driver nowadays.
2001-06-22 11:40:41 +00:00
simonb 4a8066748f Use register names from <machine/walnut.h> and not magic numbers. 2001-06-22 11:37:49 +00:00
simonb c32976ecd7 Make this work without DDB configured in. 2001-06-22 11:36:05 +00:00
chris c3b7efe5d3 GC a couple of unused entries in the pmap struct 2001-06-22 09:12:11 +00:00
chris cca2bd293b Use a pool to store pmap structs. 2001-06-22 09:09:42 +00:00
jdolecek 5f9c0daf71 linux_sys_socketcall(): refuse negative 'what' values 2001-06-22 08:27:05 +00:00
thorpej 36a4b627d0 Sigh, Jason needs to go to sleep. 2001-06-22 07:00:25 +00:00
thorpej 32e780695d Add a couple of missing p6032 bits. 2001-06-22 06:50:21 +00:00
chs 58079906be don't use the list pointers after we take an object off its list. 2001-06-22 06:20:24 +00:00
chs 24204a1ea2 for QUEUEDEBUG_*_POSTREMOVE(), set the pointers to 1 instead of 0
so that we'll crash instead of thinking we're at the end of the list.
2001-06-22 06:18:22 +00:00
thorpej 0c37c9e860 Check in work-in-progress of P-6032 support. This is not tested,
but is meant for back-up purposes.
2001-06-22 06:02:54 +00:00
thorpej 7f047ac2b2 Use the other DMA window (with prefetch enabled) on the P-4032
on-board Ethernet.  Suggested by Nigel Stephens <nigel@algor.co.uk>.
2001-06-22 05:57:26 +00:00
simonb 22267aa60b Include <sys/exec_elf.h> as the other arch's linux_exec.h file do.
New linux_trap.c compiles now.
2001-06-22 05:12:42 +00:00
thorpej b440db94e8 Fill in one P-6032 snippet. 2001-06-22 04:33:26 +00:00
thorpej 4b23ee5d3b PCI configuration space access for BONITO. 2001-06-22 03:58:55 +00:00
thorpej 5df8e5587e Basic BONITO software state definitions. 2001-06-22 03:58:33 +00:00
thorpej 90c3629b19 Add a definition for BONITO_PCIMAPCFG_TYPE1, and make the BONITO
accessor macros useful in the NetBSD kernel environment.
2001-06-22 03:58:03 +00:00
thorpej e4ce5f4268 A P-6032 will never have a V3 PBC -- don't include its option header. 2001-06-22 03:45:24 +00:00
simonb 7fe4c3ba1d Make this compile when DEBUG isn't defined. 2001-06-22 03:25:39 +00:00
thorpej b5443137f0 Only call through the function pointer if it's not NULL. 2001-06-22 01:42:20 +00:00
toshii 8128f45c37 Remove useless DEBUG code. 2001-06-22 01:29:26 +00:00
yamt 1aa18a915f update comments 2001-06-22 00:01:47 +00:00
matt 41d73006f1 DMISS/DCMP/HASH1/HASH2/IMISS/ICMP/RPA are also valid on the MPC6XX
(specially the 603 and maybe the 601)
2001-06-22 00:01:25 +00:00
chris 2f52c6af4f Remove commented out reference to EBSA missed in previous change. 2001-06-21 23:11:48 +00:00
eeh 6bda7d4cc7 Add an install kernel w/room for a miniroot. 2001-06-21 23:00:19 +00:00
eeh 09af009af3 Fix typo in previous. (damn vi.) 2001-06-21 22:58:36 +00:00
eeh 5e8c69237f Add sparc64 support for both sparc and sparc64:
ELF64 for 64-bit sparc64 kernels.
ELF32 for 32-bit sparc and sparc64 kernels.
a.out for old sparc kernels.
2001-06-21 22:57:25 +00:00
eeh 6541f113b9 Add an assembly version of memset(3). 2001-06-21 22:41:55 +00:00
chris 9bb435db31 Tidy up bootconfig, only needs the footbridge section on cats. 2001-06-21 22:08:28 +00:00
matt 6d3037579c Change a debugging message a bit. 2001-06-21 22:05:50 +00:00
bjh21 bd503d43b6 Add "Mark Brinicombe for the NetBSD Project", from dev/ic/seeq8005.c. 2001-06-21 21:53:44 +00:00
wiz dad52345fd Sync with top.1 v1.6. 2001-06-21 21:36:23 +00:00
wiz d6232cb1ae Fix some typos and grammar. 2001-06-21 21:36:05 +00:00
wiz c384a41e3f Turn -S (display of system processes) on by default.
If they are using so much CPU that they would be in the top 10 (or so)
they should be shown. Ok'd by christos.
2001-06-21 21:27:50 +00:00
christos 97184638db make sure we remove all the global references refering to a shared object
when we remove it. Similar to the fix I applied a while ago to ld.elf_so
2001-06-21 21:19:25 +00:00
christos 096152524b casts to size_t 2001-06-21 21:17:10 +00:00
christos e01ff467fb order the eE options as the others. 2001-06-21 20:58:18 +00:00
yamt b12809f15e linted. 2001-06-21 19:37:06 +00:00
jdolecek 36f8e84443 Move prototype of sysctl_dopipe() from <sys/sysctl.h> to <sys/pipe.h>
and adjust kern/kern_sysctl.c accordingly.
2001-06-21 19:08:36 +00:00
thorpej 1ce7119f17 More ISA interrupt rototilling. I get *some* interrupts on a:
we1 at isa0 port 0x300-0x31f iomem 0xcc000-0xcffff irq 10
we1: WD8013WC Ethernet (16-bit)
we1: Ethernet address 00:00:c0:94:f6:72

...but still nothing on the PCIC.
2001-06-21 19:00:18 +00:00
jdolecek 82ce96aaec Don't include opt_new_pipe.h, it's not needed here 2001-06-21 18:59:51 +00:00
thorpej e0901dc354 Fix whitespace botch. 2001-06-21 18:58:18 +00:00
thorpej 2ab206fbb5 Update, based on i8259a manual. 2001-06-21 18:57:04 +00:00
jdolecek ad2b5880f0 Oops, fell into rpipe/wpipe trap:
The end we want to do selwakeup() on is not necessarily same as the one
we send SIGIO to. Make pipeselwakeup() accept two parameters and update
callers accordingly. This change fixes behaviour for code, which does
select(2)s on the write end waiting for reader (watched on gv, the problem
manifestated itself as a too long delay before the document was displayed).

Clearly separate the resource free code for FreeBSD
and NetBSD case in pipeclose(), so that it's a bit clearer what's going on.
Also LK_DRAIN the lock before the memory is returned to pipe_pool.

Add missing wakeup() in pipe_write() for PIPE_WANTCLOSE case.
2001-06-21 18:46:22 +00:00
matt 756d684c5a Rename/enumerate the PTE protection bits to their real purposes. 2001-06-21 18:03:37 +00:00
bouyer b1a2f97303 Also print DSA addr in a DIAGNOSTING printf. 2001-06-21 16:55:20 +00:00
bouyer c38d9f6655 Update documentation about the Compaq Deskpro 4000. kern/13244 from Andrew Gillham. 2001-06-21 16:35:47 +00:00
bouyer 8a46c28bc6 Proper media support for Compaq Deskpro 4000. PR kern/13244 from
Andrew Gillham.
2001-06-21 16:33:33 +00:00
briggs 9fb64d8fcd Build with and without option NEWPMAP. 2001-06-21 16:30:05 +00:00