mycroft
1638d144ca
Always go to splhigh() inside DDB.
1998-02-22 14:07:21 +00:00
scw
ef52501a4f
Implement changes for UVM.
1998-02-22 11:33:10 +00:00
mycroft
bb0363853f
ffs() is identical to the one from libc, so just use that.
...
Move random() to libkern.
1998-02-22 09:31:00 +00:00
mycroft
533de19431
Remove random.s.
1998-02-22 08:51:04 +00:00
mycroft
dcfb8695ab
Move to libkern.
1998-02-22 08:50:17 +00:00
mycroft
065e369ab5
Remove random.s.
1998-02-22 08:35:33 +00:00
mycroft
8776736cea
Move to libkern.
1998-02-22 08:34:35 +00:00
mycroft
4b6d15532b
Nuke random.s.
1998-02-22 08:21:33 +00:00
mycroft
5a22434af5
Remove this copy of bzero().
1998-02-22 08:19:05 +00:00
mycroft
f118bc7042
Move to libkern.
1998-02-22 08:13:47 +00:00
mycroft
ab5aeaa789
Clean up #include paths.
...
Copy prom2boot() from kernel source.
rename _rtt() to OF_exit(), and add a _rtt() that calls it.
1998-02-22 07:42:30 +00:00
mycroft
03f75a79ff
Nuke the override of libkern SRCS from orbit.
1998-02-22 07:19:02 +00:00
mark
39ce947f1a
Add missing interrupt enable callbacks lost during the adding of ATAPI
...
support. Spotted while working on MI wdc support for the ICS interface.
1998-02-22 02:36:22 +00:00
mark
05fa7c54a5
Clean up the comments and correctly indent them. Change various RiscBSD
...
references to NetBSD ones.
1998-02-22 00:31:00 +00:00
mark
550b5bff23
Guard spl related variables and pmsputbuffer() with #ifdef MOUSE_IOC_ACK.
...
Declare pmsputbuffer() as static.
1998-02-22 00:25:03 +00:00
mark
a0ce540d73
Guard spl related variables and qmsputbuffer() with #ifdef MOUSE_IOC_ACK
1998-02-22 00:24:12 +00:00
mark
a55279da6a
Updated to use cpu_reset() rather than boot0().
...
Set cpu_reset_address to 0x00000000 for currently supported systems.
Update associated comments.
1998-02-22 00:08:16 +00:00
mark
d011ec2573
Provide a prototype for cpu_reset().
1998-02-22 00:05:56 +00:00
mark
dc37a51773
In the future we may want to branch somewhere other than zero when
...
reseting the CPU. Rename the boot0() function to cpu_reset() and
provide a variable to hold the cpu reset address.
1998-02-22 00:05:00 +00:00
jonathan
78b939d4b5
Pull up duplicated CPP definitions from float.h rev 1.10:
...
>DBL_MIN and DBL_MAX were less precise than they should have been.
1998-02-21 23:50:24 +00:00
mark
44e22f7606
Fix a couple of unused variable warnings for RC7500 builds.
1998-02-21 23:40:03 +00:00
mark
35c234d2a6
Replace -Wreturn-type with -Wall for CWARNFLAGS.
1998-02-21 23:30:56 +00:00
mark
88aa559e5e
Remove inclusion of machine/katelib.h
...
Remove local prototype of savectx().
Comment all the #endif lines for PMAP_DEBUG
Remove un-necessary variable 'up' from cpu_fork().
Use %p rather than %x for several debug print messages.
1998-02-21 23:27:10 +00:00
mark
018ce60490
Remove functions for disable_interrupts(), enable_interrupts() and
...
restore_interrupts() as these have been replaced by macros in
machine/cpufunc.h.
1998-02-21 23:21:28 +00:00
mark
2553c95bde
Include machine/cpufunc.h for interrupt disable/restore routines.
1998-02-21 23:19:36 +00:00
mark
24aaa5f9dd
Add macros for the CPU functions disable_interrupts(), enable_interrupts()
...
and restore_interrupts().
1998-02-21 23:17:05 +00:00
mark
ccb81fe3d3
Remove prototype declarations of disable_interrupts(), enable_interrupts()
...
and restore_interrupts() as these are CPU related functions.
1998-02-21 23:16:28 +00:00
mark
706589adb9
Update the L1_SEC() macro to take a cache enable mask.
...
Add a macro L1_SEC_SIZE to define the size of a L1 section.
1998-02-21 23:11:28 +00:00
mark
854d928a14
Fix typo in a DMA dummy stub function.
1998-02-21 23:09:37 +00:00
mark
6eccd50f49
Remove local prototype for savectx().
...
Update all map_section() function calls to map I/O sections as
non-cacheable.
1998-02-21 23:08:17 +00:00
mark
c273b285d8
Remove local prototype of savectx().
...
Updated all map_section() function calls to map sections as non-cacheable.
1998-02-21 23:04:54 +00:00
mark
99ae0b08fe
Updated all map_section() function calls to map I/O sections as
...
non-cacheable.
1998-02-21 23:02:34 +00:00
mark
1c782f5da1
Add a cacheable flag field to the map_section() function so that L1 page
...
table section mappings may be made cacheable.
Remove a few nasty hardcoded shifts and use macros from machine/pte.h
instead.
Cleaned up a few comments.
1998-02-21 23:00:57 +00:00
mark
745e11a2b1
Remove local prototype of savectx().
1998-02-21 22:57:44 +00:00
mark
628ae33403
Remove register declarations.
1998-02-21 22:56:58 +00:00
mark
1bd5283fb7
Remove inclusion of katelib.h and include cpu.h and cpufunc.h.
1998-02-21 22:52:50 +00:00
mark
ba8b28d360
Remove local prototypes of strstr().
1998-02-21 22:51:43 +00:00
mark
c81dae4473
Move some prototypes form katelib.h to a more suitable home in cpu.h
1998-02-21 22:49:18 +00:00
mark
ea04275578
Remove local prototype of disassemble() and include disassm.h instead
...
for prototype.
Fix compiler warnings about unused variables with certain config options.
1998-02-21 22:43:29 +00:00
mark
d13b903579
Remove local prototypes for disassemble() and include disassem.h instead
...
for the prototype.
1998-02-21 22:41:34 +00:00
mark
83fcf2d5c8
Define prototypes for disasm() and disassemble().
1998-02-21 22:38:40 +00:00
jonathan
f7bd3a0119
Move existing contextsw-avoidance code in rzdump() earlier, since rzready()
...
also calls biowait().
Some drives seek to modepage on every modepage geometry-sense in rzready()
cache dev_t of last readied device in rzdump() to elide rzready() calls.
2x speedup of dumps on rz25 and 20x-30x speedup on some IBM OEM 4gig drives.
1998-02-21 20:20:55 +00:00
scw
d38d12d85a
Whoops, cgd's pmap_map change got lost! Put it back.
1998-02-21 19:22:00 +00:00
scw
0e88177c0b
Implement changes for MACHINE_NEW_NONCONTIG and UVM.
1998-02-21 19:03:25 +00:00
christos
4e915f8681
PR/4950: Rene Hexel: Add id for Terratec EWS64 joystick
1998-02-21 13:19:14 +00:00
mark
3fa53fb439
Check the for the TODCLOCK_FLAG_FAKE flag in the attach args to allow
...
a "real" driver to have priority.
Make sure that a todclock service does exist before trying to read and
write the time.
If no RTC read routine exists, just use the suggested time in inittodr().
1998-02-21 03:19:02 +00:00
mark
fb161c5c9c
Set the flags field in the todclock_attach_args to 0.
...
Fix typo in currently commented code.
1998-02-21 03:13:46 +00:00
mark
50f9bf3cb5
Add a flags field to the todclock_attach_args structure.
...
Define a flag bit to indicate that the todclock is faking the RTC
read and write routines.
1998-02-21 03:12:32 +00:00
mark
59be9f9e0e
Don't configure the qms mouse device into A7000 kernels as the A7000
...
only supports a PS2 mouse and not a quad mouse.
1998-02-21 02:46:11 +00:00
mark
5b4cb30e30
Recognise the ARM7500FE IOMD id as supporting a podulebus.
1998-02-21 02:44:42 +00:00
mark
b302819fbe
Nuke db_show_fs_cmd() and the "machine fs" command in the debugger. The
...
command has not been used for years and is really broken now vfs_conf.c
is no more.
1998-02-21 02:42:42 +00:00
scottr
81d2791bd9
Unify ADB options and place them all into opt_adb.h. Provide a knob to
...
enable ADB debugging messages if ADB_DEBUG is configured.
1998-02-21 00:37:07 +00:00
gwr
5f0963e887
Switch to MACHINE_NEW_NONCONTIG
1998-02-20 21:51:29 +00:00
scottr
0ca6188f89
Fix for ADB hang while probing, based on information from Colin Wood:
...
Rather than waiting indefinitely for a mouse or extended keyboard to
respond -- which may not even exist -- time out after 2 seconds and
continue. This corrects a very common problem with the MRG-based ADB
driver that has bitten many people running 1.3.
1998-02-20 18:14:10 +00:00
frueauf
5e3035adb1
include <unistd.h> for optarg/optind.
1998-02-20 09:19:11 +00:00
mycroft
7aad596fa6
Fix formatting glitch.
1998-02-19 23:21:33 +00:00
thorpej
17eae81dc5
Use the generic NetBSD/mips crash dump code.
1998-02-19 23:13:33 +00:00
thorpej
2f74d0222a
savectx() is prototyped in <mips/cpu.h>
1998-02-19 23:10:18 +00:00
thorpej
0743f83f64
Implement new style crash dumps for NetBSD/mips, lifted from NetBSD/alpha.
1998-02-19 23:09:30 +00:00
thorpej
cf06aa7c03
Prototype dumpsys() and savectx().
1998-02-19 23:07:14 +00:00
thorpej
c5862712ae
New crash dump format definition for NetBSD/mips.
1998-02-19 23:06:11 +00:00
thorpej
50f58080f4
Rewrite rzdump(); the previous one was completely broken.
1998-02-19 23:04:41 +00:00
gwr
ce396c52e6
can not use star
1998-02-19 22:50:04 +00:00
gwr
43cbb05833
Support MACHINE_NEW_NONCONTIG
1998-02-19 22:21:28 +00:00
leo
c281cb0e23
Update Hades PCI support:
...
- Initialize the PCI bus and hand-out mem and i/o addresses. (there is
still lots of room for improvements here...)
- Implement the interupt functions
1998-02-19 16:16:51 +00:00
drochner
0587f7e6e7
add COMPAT_386BSD_MBRPART option
1998-02-19 14:21:57 +00:00
drochner
ce380ad936
enable "old partition ID" compatibility per default
1998-02-19 14:18:36 +00:00
drochner
ad33d83f8b
Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
...
partition ID if the NetBSD ID was not found.
Cleanup, use definitions from <machine/disklabel.h>
1998-02-19 14:15:38 +00:00
drochner
411e77cac8
Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
...
partition ID if the NetBSD ID was not found.
1998-02-19 14:12:48 +00:00
drochner
7d1b6dbcbf
-define new own partition ID for NetBSD (0xa9)
...
-protect structure definitions from inclusion in assembler files
1998-02-19 14:10:34 +00:00
drochner
b3019be867
Use an own NetBSD MBR partition type. Add compatibility code for fallback
...
to the old 386BSD ID (#ifdef COMPAT_386BSD_MBRPART).
basically from Duncan McEwan <duncan@MCS.VUW.AC.NZ>
1998-02-19 14:07:33 +00:00
thorpej
69c27a1dfb
Make sure the compile directory is always there.
1998-02-19 09:17:56 +00:00
thorpej
c3a02725ea
Use a reasonable default for NKMEMCLUSTERS. Previous default value wouldn't
...
run multi-user for very long at all, and every kernel configuration file
overrides it!
1998-02-19 06:40:09 +00:00
thorpej
772da350d4
Disable the message buffer during crash dumps by clearing msgbufenabled,
...
not msgbufmapped.
1998-02-19 04:18:30 +00:00
cgd
0924c4443d
Make sure the reason that NOLINT is set is documented. Additionally
...
in places where it should be set (or has to be set right now), do so.
1998-02-19 02:17:05 +00:00
thorpej
258bdac2d5
Include the MFS option header.
1998-02-19 00:32:11 +00:00
thorpej
1870f7af79
Include MFS option header.
1998-02-19 00:31:08 +00:00
thorpej
8a5a1155cf
Include KERNFS option header.
1998-02-19 00:30:38 +00:00
perry
8486362eaf
remove obsolete boot code -- we now use the code in stand/
1998-02-18 19:23:23 +00:00
perry
3add465995
remove obsolete netboot code -- we now use the code in stand/
1998-02-18 19:21:36 +00:00
tsubai
117df8f77a
Initial import of NetBSD/news.
1998-02-18 13:48:03 +00:00
mycroft
2e55db84dd
Sync with powerpc/include/vmparam.h; removes some things which are not used.
1998-02-18 11:11:24 +00:00
mycroft
b7bc9342a8
Fix typo.
1998-02-18 11:10:08 +00:00
mycroft
3b9429b248
Minor changes to make all the float.h files match.
1998-02-18 11:01:27 +00:00
mycroft
5197bf8085
Minor changes.
1998-02-18 10:55:48 +00:00
mycroft
f0a5dd43ce
Multiple-inclusion crap, correct precision of DBL_*, etc.
1998-02-18 10:54:10 +00:00
mycroft
ec9c3ce899
DBL_MIN and DBL_MAX were less precise than they should have been.
...
Other minor changes to match other float.h files.
1998-02-18 10:37:04 +00:00
mycroft
d47ec6f1ae
Include correct information for long doubles (mc68881 extended precision).
1998-02-18 10:24:45 +00:00
mycroft
c525e48e35
Include correct information for long doubles (i387 extended precision).
1998-02-18 09:22:02 +00:00
thorpej
edbfcebb6a
Fixup an inconsistency in the declaration of PTDpaddr, pointed out by
...
Chris Demetriou.
1998-02-18 03:04:40 +00:00
cgd
3bbb7f7d45
Move pmap_map() function definition to MD headers, as appropriate. It's
...
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
cgd
f19c0ee648
nuke pmap_map(). it's an internal MD function, and it's unused
1998-02-18 01:44:32 +00:00
thorpej
b7d1ce7766
Switch the i386 port to the new kernel crash dump format.
1998-02-18 01:09:25 +00:00
is
31c87441a4
Cosmetics. Pointed out by Matthias Scheler.
1998-02-17 19:42:38 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
thorpej
65e20aa9a8
Add first-cut support for UVM. NOTE! User page table allocation does not
...
currently work with UVM in this pmap! This is due to a bug in the interaction
between kernel_object and submaps which will be addressed shortly.
1998-02-16 21:01:39 +00:00
thorpej
d8f3ddff17
Add support for UVM.
1998-02-16 20:54:51 +00:00
drochner
07fdccb3a4
Document new WD80x3 option.
1998-02-16 11:41:14 +00:00
drochner
509f891bd0
-Completely reset the card in EtherStop(), otherwise the next
...
open can fail.
-Disable interrupts in the mask register - EP_W0_RESOURCE_CFG is not
sufficient for PCI cards.
1998-02-16 11:26:36 +00:00
drochner
b8cdacb8d5
Redo standalone driver for WD8013 / SMC Ultra boards.
...
(The old one was buggy.)
Frontend / backend splitup and most code taken from sys/dev/ic/dp8390.c
and sys/dev/isa/if_we.c.
1998-02-16 11:21:59 +00:00