Commit Graph

14115 Commits

Author SHA1 Message Date
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