Commit Graph

14995 Commits

Author SHA1 Message Date
mjacob 6cd64be0b6 fix minor typo 1998-04-24 01:25:18 +00:00
jonathan b5798a80f0 define mips3 COUNT and COMPARE cp0 registers (onchip cycle counter) 1998-04-23 10:32:08 +00:00
jonathan 3d2cea267e Commit change missed during Decsystem 5100 chagnes:
prototype declearation for method to override wbflush() callback
vector with model-specific code. Used on DEC r2000a machines with
writebuffers which indicate writebuffer drain via cp0 usability bit.
1998-04-23 10:31:02 +00:00
leo 2c492c0040 Crazy Dots driver by Julian Coleman. 1998-04-23 09:26:18 +00:00
leo 9f8316940b Use NOWAIT when malloc()-ing a buffer for switching screens. It might be
running from an interrupt handler.
1998-04-23 09:22:15 +00:00
leo 243c5f7b9c Update copyright year (it really is 1998). 1998-04-23 09:17:44 +00:00
chs 8cacea4ea0 fix a timing problem with polled output on sun4c's. 1998-04-23 04:06:17 +00:00
leo fe41c75b56 Add the 'bus' code for a linear big endian bus (like VME). 1998-04-22 08:01:17 +00:00
leo b821c044e6 Add isapnp stuff (Thomas Gerner) 1998-04-22 07:57:52 +00:00
leo 5a784cc595 Fix prototype of interrupt function. 1998-04-22 07:53:22 +00:00
jonathan 6c0abe64fc defopt NTP and PPS_SYNC, in preparation for adding PPS support. 1998-04-22 07:08:11 +00:00
matthias 0a733bc86a db_memrw.c: There is no pmap_pte in pmap.new.c, use kvtopte.
disksubr.c:	kill register, use explicit types (egcs).
kgdb_machdep.c:	There is no pmap_pte in pmap.new.c, use kvtopte.
locore.s:	PTmap, PTD and PTDpde are not used with pmap.new.c.
machdep.c:	remove unused reference to panicstr (egcs).
		Some pmap.new.c changes.
vm_machdep.c:	Change i386_btop to ns532_btop in pmap.new.c code.
1998-04-21 20:12:17 +00:00
frueauf 863ece9212 egcs warning: don't use a char for array index, cast it to int. 1998-04-20 20:41:05 +00:00
mark 7782adb98e Use r12 as a temporary register in setrunqueue() and remrunqueue() as it
does not need to be preserved across function calls. This means the use
of r4 can be eliminated thus saving a stack push and pop for r4.
1998-04-20 17:27:30 +00:00
sakamoto 9880e1560f Back out the changes about NVGA. It's not necessary. 1998-04-20 12:24:03 +00:00
drochner 92b545d880 There are NE2100 compatible cards which cannot IRQ 10.
Use IRQ 9 in the default configuration.
(Thanks to Rick Byers <rickb@iaw.on.ca>.)
1998-04-20 10:58:01 +00:00
scottr 88aa59e1cd Correct type of 'nofault', and some whitespace KNFing. 1998-04-20 06:46:16 +00:00
scottr ec5cc6194d More kgdb groundwork pulled from hp300. While I'm in here,
correct some type-related problems and eliminate the register
qualifier.
1998-04-20 06:45:26 +00:00
scottr a2973edb42 Lay groundwork for KGDB by pulling in the trap 15 handler from hp300. 1998-04-20 05:46:04 +00:00
scottr b57acd6cd4 Minor adjustment for genassym.cf change. 1998-04-20 05:41:21 +00:00
scottr a8cdbbf548 Garbage collect the constants we don't need. 1998-04-20 05:40:28 +00:00
sakamoto 90bb94019a Use NVGA_ISA and NVGA_PCI instead of NVGA
for ISA/PCI frontend of vga.c.
1998-04-20 05:27:41 +00:00
jonathan bd51370674 Fix indexing bug in bt459 colourmap update.
Causes symptoms in PR# port-pmax/4174.
1998-04-20 05:24:17 +00:00
jonathan bdf3cb0884 * Fix typo in ROM name of mfb (PMAG-AA)
* Use TC_ROM_LLEN instead of constant, add space for sentinel.
* Don't print fb dimensions at console-probe time.
1998-04-20 02:46:59 +00:00
mark ad8c2a5654 Fix the indenting of the comments in this file. 1998-04-19 23:37:22 +00:00
mark 7c57681a0b Guard several more abort information printf() calls with the
verbose_faults variable in the prefetch abort handler.
Remove a lurking spltty() just before a panic in the prefetch abort
handler.
1998-04-19 23:25:49 +00:00
mark 05a669badb General file cleanup. Grouped all the un-handled fault cases together
to share one panic string. Removed a number of postmortem() calls.
Use verbose_faults variable to dictate the printing of fault information.
In several address validation checks, reorder the conditions for more
optimial checking.
1998-04-19 23:18:45 +00:00
mark 98576781d3 Remove conditional compilation from around the exception handler
interrupt enables.
Remove the counting of the use of pcb_onfault.
Removed CONTINUE_AFTER_SVC_PREFETCH and associated code.
1998-04-19 22:45:39 +00:00
mark 66d1783927 Remove conditional compilation from around the exception handler
interrupt enables.
1998-04-19 22:43:27 +00:00
jonathan fc2608c7a2 Define TC_KV(), TC_C() here for benefit of model-specific TCbus initializers. 1998-04-19 11:16:18 +00:00
jonathan bab2163883 Remove kn01var.h. Superseded by ibus. 1998-04-19 10:57:23 +00:00
jonathan cf6765a49c Attach ibus to mainbus.
Commit updated dec_3100.c with  interrupt-enable code for ibus.
1998-04-19 10:54:54 +00:00
jonathan 1a283ae18b Use new ibus attach args. 1998-04-19 10:47:06 +00:00
jonathan 6525db3fdb Update dc_ds.c to use new ibus attach args.
Garbage collect obsolete front-end from dc.c backend.
Partially clean up console init code.
1998-04-19 10:44:41 +00:00
jonathan 1116cb8578 Cleanup comment typos. 1998-04-19 10:22:45 +00:00
jonathan c7597ae8b8 Rework, based loosely on suggestions from Tohru Nisimura.. 1998-04-19 10:18:20 +00:00
jonathan 02e88fb06e ibus devices and 5100 attachment. 1998-04-19 08:47:54 +00:00
jonathan 539856584c Garbage collect obsolete motherboard options from non-GENERIC kernels.
Add "ibus" to configs with  3100 support.
1998-04-19 08:46:50 +00:00
jonathan d47bc69126 Rework pmax kernel config:
* ibus (virtual bus for baseboard direct-attach deviecs)
 * 5100 support, using ibus
 * rename "clock" to mcclock for future support of Qbus machiens
 * use sys/dev/dec mcclock_pad32 machinery for pmax mcclock
 * reworked TC config code.
1998-04-19 08:39:42 +00:00
jonathan 216daa4e5e Configure mips_mclock if "clock|mccclock".
All(?) ARC boxes use mcclock, but QBus decstations use the same
time-of-year clock architecturally mandated for VAXes.
1998-04-19 08:24:19 +00:00
jonathan 59125ec0c9 Define delay() for pmax asc driver, mips_mcclock. 1998-04-19 08:22:22 +00:00
jonathan 85e00b2364 Add -D__pmax__. Leave -Dpmax until all uses changed to __pmax__. 1998-04-19 08:01:01 +00:00
jonathan 9caaf18836 Rework pmax turbochannel config, as suggested by Jason Thorpe.
Also make TC framebuffer-console search table-driven.

Does not yet include "tcasic" layer; there's no such hardware on DECstations
and nothing for a tcasic layer to do.
1998-04-19 07:59:13 +00:00
jonathan e487483678 oops, diffs to use dev/dec/mcclock_pad32 were in a different tree. Fix. 1998-04-19 07:54:45 +00:00
jonathan c84f4e94d9 Copy alpha/tc/mcclock_ioasic.c (duplicated in pmax/tc/mcclock_ioasic.c)
into sys/dev/dec and split into a clockfns layer and a "middle" layer
for other DEC systems which use mcclocks with each onchip byte
register padded out to a 32-bit word.

Clone alpha/alpha/mcclock (also duplicated in pmax port) into
sys/dev/dec, and ifdef for default clockrates on pmax and alpha.

Use new machinery on pmax for ibus,ioasic attached mcclocks.
1998-04-19 07:50:25 +00:00
jonathan 9873ee237f Add dependencies on Makefile for SYSVSHM, SYSVIPC options. 1998-04-19 04:51:18 +00:00
mark 464caff246 Since the kshell stuff is no longer ever built into the kernel,
the last possible hooks having been removed from rpc_machdep.c
and its use has been deprecated for a long long time lets finally
axe it.
1998-04-19 04:48:31 +00:00
mark 569be6d488 Change definitions of MCOUNT_ENTER and MCOUNT_EXIT to block interrupts
via the CPSR rather than via splhigh() due to the overheads involved
in using splhigh()/splx(). (From Chris Demetriou).
1998-04-19 04:16:25 +00:00
mark fcc1093bee Define bus_space_map flags BUS_SPACE_MAP_CACHEABLE and BUS_SPACE_MAP_LINEAR.
Comment arm32_bus_dma_segment structure members.
Remove the _dm_loadlen field from the arm32_bus_dmamap structure.
1998-04-19 04:13:24 +00:00
mark 47ec8f3afc Validate the source address in db_read_bytes() to avoid faulting when
reading invalid addresses.
1998-04-19 04:05:24 +00:00
mark 9bbde6c952 Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
Cleaned up a few bits of dead code and renamed rpc_sa110_kickstart() to
rpc_sa110_cc_setup().
1998-04-19 03:59:19 +00:00
mark 33b4b52949 Define the prototypes for rtc_read() and rtc_write() here rather than
in machine/rtc.h
Update the rtc_read() and rtc_write() functions to take a private pointer
as the first argument (currently unused).
1998-04-19 03:55:44 +00:00
mark 1f5455aaaf Update the softc to hold the rtc_{write,write}() argument and update
the function pointer prototypes.
Pass the rtc_arg field as the first parameter when calling the todclock
rtc_{read,write} function pointers.
1998-04-19 03:54:24 +00:00
mark c4f9d5c4b0 Add a rtc argument field to the todclock_attach_args structure.
Update the ta_rtc_{read,write}() functions in the todclock_attach_args
structure to take an argument attach time defined argument field as the
first argument.
1998-04-19 03:51:44 +00:00
mark 15901d1be3 Remove rtc_read() and rtc_write prototypes. 1998-04-19 03:49:17 +00:00
mark effb702da4 Don't explicitly call the debugger on a reset exception. Just print
trap frame address and panic.
1998-04-19 03:41:14 +00:00
jonathan d4a24f85d6 Support shared Decstation 3100 and Decsystem 5100 baseboard devices
using a virtual "ibus" for  baseboard devices.
1998-04-19 02:52:45 +00:00
jonathan 53c671e26c Add locore assembler functions to read mips3 cycle counter, and
read and write compare register (controls cycle-driven periodic interrupt).

Use cycle counter for microsecond time on mips3, but for now only on
3min motherboards (5000/150).  the MAXINE baseboard microsecond
counter is more stable and I don't ave no 5000/260 to test.

XXX clkread() is a mess, it should be rewritten.
XXX should add nanotime() to give inkernel nanosecond resolution,
    and then microtime() reworked to use nanotime().
1998-04-19 01:48:34 +00:00
jonathan 4ea6444493 Decsystem 5100 (aka mipsmate aka kn230) support:
* dec_5100.c: sysconf, interrupt, and  motherboard (drain writebuffer)
   support for 5100.
 * support for hardware kludge in 5100: sii DMA buffer is hardware
   padded to alternate 32-bit words, not alternating 16-bit  halfwords.
 * 5100 has no framebuffer, console is wired to serial port 0.

With ibus support, boots as far as exec'ing init, and hangs.
1998-04-19 01:27:02 +00:00
pk c1a4f8c8ed Define `xbox'. 1998-04-18 19:03:00 +00:00
pk 90b5c246c6 Skeleton code for the SBus expander box. 1998-04-18 19:00:17 +00:00
thorpej 2b6154a68c Add PCI IDE. 1998-04-18 01:19:40 +00:00
thorpej 792e89a201 Add PCI IDE goop. 1998-04-18 01:19:08 +00:00
thorpej 4fc79b8fd3 First cut at PCI IDE compat interrupt support for the EB164 systype.
PCI IDE is found on the AlphaPC 164SX's Cypress PCI-ISA bridge.
1998-04-18 01:18:37 +00:00
thorpej 574b87a792 Initialize the PCI IDE compat interrupt PCI method to NULL; PCI IDE
compat interrupts are not currently supported on these platforms.
1998-04-18 01:12:23 +00:00
thorpej 78c7ebb2d0 Add a second Alpha-specific pci_chipset_tag_t method for establishing
PCI IDE compat interrupts.  Note that this function is optional, and
platform-specific code may initialize the pointer to NULL.
1998-04-18 01:10:54 +00:00
thorpej a5f006fb5f Fix a typo. 1998-04-18 01:09:20 +00:00
thorpej 783382095c Machine-dependent bits for PCI IDE. This redirects PCI IDE compat interrupt
goop to the appropriate platform-dependent code.
1998-04-18 01:08:52 +00:00
mark f9042ff05b Guard the PS/2 mouse attachment and ARM7500 IOC check with the
CPU_ARM7500 macro.
1998-04-17 18:44:09 +00:00
veego 8a9498f09a Don't use an 'register char' as an array index, change it to an int. 1998-04-17 17:57:08 +00:00
veego d15b06459b Add missing int after an register. 1998-04-17 17:38:14 +00:00
drochner 543407f7ee use the mi header (dev/pckbc/pckbdreg.h) 1998-04-17 13:09:23 +00:00
drochner fa82ea6398 it's mi now (dev/isa) 1998-04-17 13:06:48 +00:00
mjacob e77859a612 Hmmm... handle the case where there is no keyboard configured (panic
if the console selection is asking for it). Also add the stuff that
was missing from dec_kn300.
1998-04-17 02:45:19 +00:00
drochner 6af8040a5c -"spkr" now attaches to "pcppi"
-"le at isa" is split into "depca", "nele" and "bicc"
1998-04-16 22:01:41 +00:00
is e61d6bdb82 Dont define splserial here... its now different from spltty. 1998-04-16 21:28:00 +00:00
drochner bf23ba7b87 add a device node for "sysbeep at pcppi" 1998-04-16 20:16:28 +00:00
drochner 46f77d75da Make sysbeep() use dev/isa/pcppi. (sysbeep0 at pcppi?)
Remove findcpuspeed() - it's useless and was commented out for a while.
1998-04-16 20:15:10 +00:00
thorpej 815703e5ec Make function names in printfs and panics consistent. 1998-04-16 19:50:55 +00:00
thorpej a048ee73ca Fix a whitespace botch. 1998-04-16 19:40:56 +00:00
thorpej 2615a1d8d3 Allow device 8 (the SIO) to have its interrupt mapped; there might be
a PCI IDE controller on one of the PCI-ISA bridge's functions (e.g.
AlphaPC 164SX).
1998-04-16 19:24:24 +00:00
drochner 3cc1fe831c count allocated screens correctly 1998-04-16 12:52:42 +00:00
thorpej c72ac312a7 Add pcppi/spkr drivers, and use DHCP for NFS boots. 1998-04-16 04:11:50 +00:00
thorpej f92ae39153 Make this compile if a Rawhide isn't configured. 1998-04-16 04:04:15 +00:00
drochner f44d3a08e5 "spkr" is now MI. Keep this file for compatibility. 1998-04-15 21:53:47 +00:00
mjacob 512e80082b add an AlphaServer 4100 Specific config file 1998-04-15 21:53:25 +00:00
drochner ebefb51112 cdev_{wsdisplay,spkr}_init() are now in sys/conf.h 1998-04-15 21:52:14 +00:00
drochner abce54eaa2 spkr stuff is now in sys/conf.h 1998-04-15 21:48:51 +00:00
drochner 70702ea730 "spkr" attaches to "pcppi" now. 1998-04-15 21:46:23 +00:00
drochner 37db4134a0 VGA and spkr are now MI. 1998-04-15 21:44:39 +00:00
mjacob a8d3df00ed oops- add missing include 1998-04-15 21:42:24 +00:00
drochner 3ae87f413f "spkr" is now mi. Keep this file for compatibility. 1998-04-15 21:40:27 +00:00
drochner 7689c5d866 remove unneeded stuff 1998-04-15 21:39:01 +00:00
drochner 816be100e0 Remove initialization macros for wsdisplay / spkr - they are in mi
sys/conf.h now.
1998-04-15 21:31:40 +00:00
mjacob afeea01bbd add back in display console stuff 1998-04-15 21:29:03 +00:00
drochner 2aa1ce8196 VGA and spkr are now MI. 1998-04-15 21:27:47 +00:00
drochner b7c6c315ea convert to new wscons
(pcppi->pckbc, pms->psm, wscons->wsdisplay)
1998-04-15 21:19:21 +00:00
drochner b98513c4ff convert to mi wscons 1998-04-15 21:15:08 +00:00
drochner b9d78308c1 tell drivers that this port knows about the mi wscons stuff 1998-04-15 21:12:45 +00:00
drochner 534775fe76 explicitely initialize console keyboard 1998-04-15 21:06:46 +00:00
drochner c5ea534f57 Switch the console to polling mode before accessing the keyboard with
interrupts disabled.
1998-04-15 20:51:10 +00:00
drochner fba6e5e23a update for new mi wscons, add ISA speaker 1998-04-15 20:48:52 +00:00
drochner 584f3e8aa0 Adapt PCI console selection to new mi drivers. 1998-04-15 20:46:34 +00:00
drochner 971dd06182 Adapt ISA console selection ti new mi drivers.
(was broken anyway, a "++" was missing somewhere)
1998-04-15 20:43:07 +00:00
mjacob 70e72d5545 redo misleading comment (thanks, soren) 1998-04-15 20:37:39 +00:00
drochner 90fc55bdf9 use mi wscons and device drivers 1998-04-15 20:35:37 +00:00
thorpej f82e238b10 Don't need "delaybah" in the attach args anymore. 1998-04-15 20:11:10 +00:00
thorpej ba1ef83a1e Don't use the ISA `delay port', since it no longer exists. 1998-04-15 20:10:52 +00:00
mjacob bd2e0fee32 delay handle was removed 1998-04-15 19:49:19 +00:00
leo f7d6d7c9b8 Don't clear the 'd_partitions' before starting to read the disklabel. Some
filesystems (iso9660) depend on the info they had already setup there.
1998-04-15 09:02:06 +00:00
leo ae019435eb Probe the 'mainbus' before the other busses. This gives less surprises when
adding things like SCSI controlers to the pci-bus.
1998-04-15 09:00:19 +00:00
mjacob 6cc22e724e Hmmm- how did that happen- I missed a merge 1998-04-15 01:18:17 +00:00
mjacob cddc0bf326 add Alpha 4100 support 1998-04-15 00:53:53 +00:00
mjacob 6ad4ba8370 some cleanup 1998-04-15 00:51:00 +00:00
mjacob aed073a77f add Alpha 4100 support 1998-04-15 00:50:14 +00:00
mjacob 0ba76b38c8 spurious interrupt notification and finally adding vmstat -i support 1998-04-15 00:49:58 +00:00
mjacob 0229740b5e removal of unneeded define 1998-04-15 00:49:17 +00:00
mjacob 5f59df9630 oops on byte enables for TurboLaser systems 1998-04-15 00:48:58 +00:00
mjacob 4fa71d82a5 add Alpha 4100 support 1998-04-15 00:46:57 +00:00
mjacob 17ec1fbf11 clarification of comment 1998-04-15 00:46:41 +00:00
mjacob 65e5c41fad do not cia include files here 1998-04-15 00:46:17 +00:00
mjacob d3f1c5b8d8 add Alpha 4100 support 1998-04-15 00:45:43 +00:00
thorpej 164f56220e Add support for the Cypress CY82C693 PCI-ISA bridge. This bridge is more or
less like an Intel SIO except that the ELCR registers are accessed differently
than on the Intel SIO.

XXX This code needs to be split up into bridge front-end and PIC back-end
XXX pieces.
1998-04-14 22:31:17 +00:00
thorpej 4c01c3c48e Pass the pci_chipset_tag_t to sio_intr_setup(). XXX This code should be
rearranged so that other non-PCI-but-in-all-other-ways-ISA-PIC-like
devices can share code.
1998-04-14 22:20:59 +00:00
is c61f5c0cc5 Uhm... looks like I forgot this when doing the MACHINE_NEW_NONCONTIG stuff.
Sorry folks.
1998-04-14 20:18:08 +00:00
frueauf f7a146be7b Add isa/pcvt to SUBDIR, this will install /usr/include/machine/pcvt_ioctl.h
which is needed by our default xsrc on i386. Closes pr 1391.
1998-04-13 21:54:30 +00:00
ragge 470ec523f2 Wall cleaning. 1998-04-13 12:15:56 +00:00
ragge 4bcd8130fe t_wopen fixes. 1998-04-13 12:14:42 +00:00
ragge eaeee62af2 Wall cleaning. 1998-04-13 12:10:26 +00:00
scottr 0dfa8582c5 Make type explicit for egcs, from Erik Bertelsen in PR 5287.
Dump the register qualifier while we're here, as suggested in the PR.
1998-04-13 02:51:32 +00:00
scottr d87f21702e Make type explicit for egcs, from Erik Bertelsen in PR 5288. 1998-04-13 02:36:24 +00:00
scottr 9a7810a03e Make type explicit for egcs, from Erik Bertelsen in PR 5288.
While we're here, kill register qualifier and other KNF.
1998-04-13 02:35:21 +00:00
tv b21bfbde11 Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
mjacob e40e2ff2d0 A little buglet: softc for pceb is same as sio- so declare it as such.
By not doing so, a very obscure bug followed where the config search
stuff stopped at the bridge (pceb) and didn't even call match for the
two Qlogic ISP cards that followed.
1998-04-12 08:32:19 +00:00
is 4e23fff56a Make ser.c compile again (preliminary release). It needs still a lot of
cleanup, but at least mainstream usage should be possible again (worked
for me 5 minutes ago).
1998-04-11 19:30:56 +00:00
is da0b5bf913 amiga_ttyspl -> amiga_serialspl (and keep ttyspl constant at 4 again).
(Part of this change slipped in with my last machdep commit; thanks to
Matthias Scheler for pointing this out).
1998-04-11 18:28:33 +00:00
matthias 2fe02dea17 Changes for kernels compiled with -mrtd:
locore.s:
- cpu_switch "returns" to proc_trampoline after cpu_fork. cpu_switch is
  called with an argument, remove it from the stack when not compiled
  with -DMRTD.
- use KENTRY instead of ENTRY for all functions called from C.
- when calling C code, don't clean up the stack when compiled with -DMRTD.
- need to split fusubail into fubail and subail, because fu and su
  take different number of arguments.

machdep.c:
- set sf_p when dumping
- new function do_softclock (that just calls softclock) because softclock
  doesn't take an argument.

mainbus.c:
- establish softclock interrupt to call do_softclock

trap.c:
- trap() and syscall() allways use std C calling conventions.
- need to split fusubail into fubail and subail, because fu and su
  take different number of arguments.
- make child_return take only one argument like the other functions
  "called" via cpu_set_kpc.

vm_machdep.c:
- set sf_p in cpu_fork.
1998-04-11 17:44:11 +00:00
matthias bd4f1b48a9 cpu_switch is called with an argument. Reflect this in the switchframe. 1998-04-11 17:30:40 +00:00
mhitch 11b4024ccf Initialize proc0.p_addr so we don't dref NULL in trap(). [From hp300 locore.s]
Fixes PR 5281.
1998-04-11 16:13:57 +00:00
cgd edcb9b60e1 current_spl_level should be initialized to _SPL_HIGH. 1998-04-10 20:29:02 +00:00
mhitch 18114765d8 Fix a bug I think I introduced long, long ago. The bug would only show
up on systems that have Zorro I/O space allocated outside the Z2 I/O
region, and then only if kvm usage is high enough to begin allocating
pages already mapped for hardware mappings.  Found and fixed by Niklas
Hallqvist on OpenBSD.

From niklas@cvs.openbsd.org:
Yay! This fixes a bug that has been there since day one of the amiga port.
We have never protected the kvm area that maps Zorro I/O registers in the
Z2 memory space from being allocated by the kmem_* routines.  Lately kvm
usage has increased and we have needed more kvm allocated than earlier thus
this area have got allocated with random results.  Most often resulting in
MMU fault panics, but also in hangs.  This bug has stalled the amiga port
release builds for several weeks, but now I *hope* the amiga will have a
chance to be built and tested in time for 2.3.
1998-04-10 15:59:35 +00:00
leo 85966e661a Use MI wdc-driver. 1998-04-10 10:37:04 +00:00
leo bc2d7f642e le_bus.c is dependent on pci & isa. 1998-04-10 10:28:47 +00:00
leo bc9ebf17a7 Major overhaul of the atari bus_space implementation. 1998-04-10 08:19:53 +00:00
mark af29a19dd0 Fix the interrupt number for the PS/2 mouse port on the ARM7500
(from David Forbes).
1998-04-10 06:54:30 +00:00
mark 447623df53 Correct the values of IOMD_MSDATA and IOMD_MSCR as they are 4 times too
big. Spotted by David Forbes.
1998-04-10 06:53:08 +00:00
scottr ff2ed23c61 If we know the location and size of the on-board video buffer,
don't bother to try and suck the information out of the Mac OS page
tables.
1998-04-10 02:56:56 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
pk 98e9f557c2 No need to export bus_intr_establish(). 1998-04-07 20:43:58 +00:00
pk beb02e6b82 Use bus space methods to implement the vme bus space functions. 1998-04-07 20:21:55 +00:00
pk b333d0bb62 The bus space functions now take care of "pass-through" methods. 1998-04-07 20:20:03 +00:00
pk fbc1fe8213 bus_space_mmap() has changed to take a `bus_space_handle_t *' argument,
like other bus space methods.
1998-04-07 20:18:17 +00:00
pk 3f455e21d9 The bus space functions now take care of "pass-through" methods. 1998-04-07 20:11:54 +00:00
pk 5ecf4dce67 Remove old mapdev() function prototype. 1998-04-07 20:08:29 +00:00
pk 286472fe4d * Pass the bus tag instead of just the cookie to all bus space methods.
* In the bus tag structure, keep a reference to the parent bus.
* Express all bus space methods as inline functions in stead of macros
  and use the parent bus tag reference to find the nearest "upstream"
  bus that implements the method.
1998-04-07 20:07:23 +00:00
pk dd3352e3e3 bus_space_*() functions now have the bus tag as first argument.
Remove old mapdev() function that is no longer used.
1998-04-07 19:57:37 +00:00
is 1e9c878d39 ser.c, mfc.c and msc.c dont compile currently. 1998-04-07 19:43:08 +00:00
thorpej 8e115c7176 Fill in pmap_collect(), doing what the Alpha port's pmap does - forget
the physical mappings for the entire address space, thus freeing up
the page tables held by the pmap.
1998-04-07 18:32:10 +00:00
matthias b47b6cc4d2 New macro KENTRY to declare assembler functions used by the kernel to
make -mrtd kernels possible.
1998-04-03 23:01:37 +00:00
pk 676939e234 Make the single-step support routines available to KGDB-only kernels as well. 1998-04-03 19:53:36 +00:00
cgd b81a5e0d4c set apm_damn_fool_bios on standby request if another request is
already in progress (as is done in the suspend case).  Suggested
by Soren S. Jorvang in PR 5246, but diff in that PR cleaned up so
it'd still work right when debugging printfs were enabled.
1998-04-03 18:18:05 +00:00
enami f7fc870789 Add entry for aic* at isapnp, but comment outed. 1998-04-03 04:35:39 +00:00
enami 6821ff25c2 Add entry for aic* at isapnp. 1998-04-03 04:35:05 +00:00
enami 6223459801 Add entry for mbe* at pcmcia (but comment outed). 1998-04-03 04:29:52 +00:00
enami c95ab20c4a Add entry for mbe* at pcmcia. 1998-04-03 04:29:13 +00:00
enami 078370be30 Add comment outed entries for ate0 and fmv0.
Remove fe0.
1998-04-03 04:25:15 +00:00
enami b1b3597d5e Add entries for ate0 and fmv0 (former is tested but latter is not).
Remove fe0.
1998-04-03 04:23:50 +00:00
mark 3d26c2dbf1 In cpu_fork() if the vmspace is shared don't fiddle with it. e.g. don't
try and replace the zero page pagetable and mapping.
1998-04-03 01:58:40 +00:00
mark d6fb052cdd Setup proc0.p_addr much earlier on in the startup. 1998-04-03 01:56:34 +00:00
cgd 0d0f2a0713 kill unnecessary (unused) definition of partab (char partab[];), which
caused a compiler warning with egcs.
1998-04-02 02:46:02 +00:00
mark 27af7137f4 Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
1998-04-02 02:01:13 +00:00
mark ac4c80ec10 Include machine/asm.h and use the ENTRY() macro for all function entry
points.
1998-04-01 23:14:21 +00:00
mark 90a05fec98 Tidied up various comments. Use the function entry macros from asm.h for
all entry points and don't bother profiling cpu_reset().
Flush the I and D TLB's after turning the MMU and cache off in cpu_reset().
1998-04-01 23:12:32 +00:00
mark b2286e384a Include machine/asm.h and use the macros from there for declaring
the function entry points.
Removed some redundant .req statements.
1998-04-01 23:09:06 +00:00
mark a877b68db5 Don't include sys/device.h here. 1998-04-01 23:05:28 +00:00
mark f0393b3819 Remove a chunk of dead comments as they appears in disassem.c where
they make a lot more sense.
1998-04-01 23:04:16 +00:00
mark 4a96466f61 Remove redundant .req assembler statements. 1998-04-01 23:02:32 +00:00
mark eb81ac0bbc Remove a load of redundant .req statements. 1998-04-01 23:00:13 +00:00
mark ae5c857ba4 Remove redundant .req statements.
Make various entry points non-profiling.
1998-04-01 22:59:25 +00:00
mark fd18f1a45b Remove some redundant .req statements. 1998-04-01 22:55:45 +00:00
mark 077c15ab4d Remove some redundant .req statements.
Make various entry points non-profiling.
1998-04-01 22:55:05 +00:00
mark 268d889d0d Make the floppy_read_fiq and floppy_write_fiq entry points non-profiling. 1998-04-01 22:53:32 +00:00
mark 7f98e08105 Remove some redundant .req statements. 1998-04-01 22:52:24 +00:00
mark f4c5b8f91a Define profiling and non-profiling versions of the ENTRY and ASENTRY
macros. No extra profiling code is generated if profiling is turned
on yet, but get the structure ready. (from cgd).
1998-04-01 22:50:22 +00:00
pk 437796f42a Move initialization of `proc0.p_addr' from cpu_startup() to bootstrap(). 1998-04-01 14:03:26 +00:00
ender 84ada512a7 Add the newly created bus_space.c so it gets compiled. 1998-03-31 22:09:28 +00:00
pk 763a681898 Accommodate cgsix bus-attach split. 1998-03-31 21:12:15 +00:00
pk e3e74bd0d5 Factor out bus code into separate files. 1998-03-31 21:05:04 +00:00
jonathan d850158a7e Garbage-collect pmax_boardtype. Remoe pmaxtype.h includes from TC
framebuffer code. Elsewhere, use systype.
1998-03-31 11:32:52 +00:00
jonathan e485e43d44 Add writebuffer-flush for Decstation 5400, 5100 which use
coprocessor 3 for writebuffer control.
1998-03-31 11:04:10 +00:00
jonathan 88d943c976 Add emtpy entries for unused systypes between 5400 (0x6) and 5500 (0xb) 1998-03-31 11:00:01 +00:00
drochner e9ca6a9081 Remove conditionals on PCVT_{NET,FREE}BSD to make the source easier to
read.
1998-03-31 08:22:13 +00:00
thorpej 7e74fb627d Allow this to work w/ UVM (API issue). 1998-03-31 08:18:33 +00:00
thorpej 8c33969680 Fix PR # kern/68 by ensuring that a PC has a valid mapping before attempting
to disassemble it.
1998-03-31 08:16:28 +00:00
mycroft 4fe1e7a83d Make main() return int to shut up egcs. (Yuck.) 1998-03-31 05:29:21 +00:00
matthias 28b0f7408b Make this compile again after the changes to the tty subsystem. 1998-03-30 20:10:26 +00:00
mhitch 57f61ecbbd Modify TK50 check to also check for a TZ30 tape, and adjust the modesense
data length accordingly.
1998-03-30 19:50:47 +00:00
cgd 05bb5a1d2f revert back to 1.28 1998-03-30 17:52:03 +00:00
pk be4108fec1 Replace direct `sparc_bus_map()' calls with bus space map method. 1998-03-30 14:21:38 +00:00
pk c2d9565240 mainbus `pa_addr' is now a `bus_addr_t'. 1998-03-30 14:15:57 +00:00
pk fed9d8e6d6 Make mainbus attach phys addr field a bus_addr_t. 1998-03-30 14:15:12 +00:00
jonathan ba4e7c74a9 Remove ancient non-MI pmax/tc/tc.c code. 1998-03-30 10:41:34 +00:00
jonathan 2f23758d46 garbage-collect "extern int systype" 1998-03-30 09:52:11 +00:00
jonathan 9d3e5cca36 garbage-collect old integrated frontend from sii backend. 1998-03-30 09:47:51 +00:00
jonathan 05bfc158d1 Undo previous rev; systype is declared extern in pmaxtype.h (while it lasts). 1998-03-30 09:44:03 +00:00
jonathan fff42c01c8 Define IPL_ constants for pmax. 1998-03-30 09:07:08 +00:00
jonathan 920f9e8dc9 Declarations for shared 3max(kn02)/3maxplus(kn03/kn05) memory
subsystem and NVRAM code.
1998-03-30 09:02:03 +00:00
jonathan e7e94824b9 Move sprintf() of model string after call to model-specific *_os_init()
routine, so that cpu_mhz is set.
1998-03-30 06:45:37 +00:00
mycroft 1a36e9e970 Add explicit int types for egcs. 1998-03-30 06:07:40 +00:00
mycroft 1fc84bbd8d Add explicit int types for egcs, and nuke register. 1998-03-30 06:05:39 +00:00
mycroft 450748892d Make the previous slightly less nasty. 1998-03-30 06:04:29 +00:00
mycroft 38008a99e3 Add explicit int types for egcs, and nuke register. 1998-03-30 06:02:13 +00:00
mrg ca86fc945e <pmax/pmax/trap.h> has been obsoleted... 1998-03-30 04:45:50 +00:00
mycroft d4da63c6c3 Eliminate cs_heldchar. It is not necessary in my version of the driver. 1998-03-30 02:41:21 +00:00
jonathan b800227f95 Garbage-collect old code for direct attachment. 1998-03-30 02:34:25 +00:00
jonathan e7312dce1d * Mouse reset blocks waiting for response for mouse.
Only initialize the mouse if we are using rcons as the console device.
1998-03-30 02:15:37 +00:00
mycroft 692fe3cc96 Use a 4-bit table to speed up the CRC even further, without increasing the
code size too much.
1998-03-29 23:14:14 +00:00
pk a55cefe6b4 Initialize `par_err_reg' in the mainbus attach function. 1998-03-29 22:13:30 +00:00
pk b782c3448c obio_bus_probe() => bus_space_probe() 1998-03-29 22:10:32 +00:00
pk 2ad26b801c Fill in the bus tag's `bus_space_unmap' method. 1998-03-29 22:06:58 +00:00
pk 82663a0330 Implement `_obio_bus_map()' and insert it into the obio bus' bus tag.
Remove obio_bus_probe().
1998-03-29 22:05:05 +00:00
pk 57a8159633 Enter `obio_find_rom_map()' prototype.
Make `oba_paddr' field a `bus_addr_t'.
Define temporary compat `obio_bus_map()'.
1998-03-29 22:02:46 +00:00
pk 11928be0ff `sparc_bus_mmap()' declaration moved to machdep.c 1998-03-29 22:00:33 +00:00
pk 759c8965a3 Use `obio_find_rom_map()' explicitly instead of using `obio_bus_map()'
without a proper bus tag.
1998-03-29 21:59:44 +00:00
pk 2f1dd95a2d Declare `sparc_bus_unmap()' static. 1998-03-29 21:56:32 +00:00
tron 8295d8475b writedisklabel() always used the offset of the first partition in the MBR
to address the disklabel even if NetBSD resides on another partition.
1998-03-29 21:30:20 +00:00
mrg 47a62a0eed use bitmask_snprintf. 1998-03-29 05:10:45 +00:00
mrg b61e2629f2 remove register from decl. 1998-03-29 05:08:46 +00:00
scottr 8e25cfb973 Better integration of Power Manager IC ADB driver into the direct ADB driver framework,
from Takashi Hamada.  Also includes a handler for unsolicited ADB
packets.
1998-03-29 03:50:30 +00:00
jonathan 0e0d7a04aa Split 3max (kn02) and 3maxplus (kn03, kn05) memory-error handling out
dec_3max.c into a shared file. These models have compatible memory
subsystems, the same memory slots, and (apparently) the same error reporting.

Add markers for where MNN probes for configurations with a mixture of
RAM sizes and for Prestoserve NVRAM (in normal RAM slots) should go.
1998-03-29 01:12:14 +00:00
thorpej f1821c7811 Adjust for recent ttyopen() and dialout device changes. 1998-03-28 23:49:06 +00:00
thorpej 0ce9e8b825 We don't have software-only maps, so a NULL pmap_t will never be passed
to pmap functions.
1998-03-28 19:53:42 +00:00
pk 2a65520c69 bus_space_probe() prototype. 1998-03-28 19:45:29 +00:00
thorpej cbc72091e5 Remove a comment that is not applicable in NetBSD - we don't have
software-only maps.
1998-03-28 19:44:49 +00:00
pk 89444e9309 Implement generic bus probe function. 1998-03-28 19:44:08 +00:00
thorpej ce4810822b Add autoconfiguration support for the Cypress 82C693 PCI-ISA bridge,
found on AlphaPC164SX boards.

Partially from Anders Magnusson <ragge@ludd.luth.se>.
1998-03-28 06:58:43 +00:00
cgd 7fa109343c cope with name fixup in pcidevs 1998-03-28 02:12:02 +00:00
cgd c0ac8bae67 GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
thorpej 4893f22399 Much more sane boot block builds, from Chris Demetriou. 1998-03-28 00:21:35 +00:00
mark 66477b8680 Only call dosoftints() from splx if there is a soft interrupt actually
pending. This save us doing a function call and a bunch of instructions
for every splx() call. (Patch from cgd).
1998-03-28 00:14:51 +00:00
mark b6fa862ee6 Remove un-necessary prototype of set_boot_devs() (from cgd). 1998-03-28 00:06:03 +00:00
mark fcade25040 Make physlock global rather than a static local to mmrw() (from cgd). 1998-03-28 00:04:46 +00:00
cgd 56eaa22285 kill some unused variables that i missed in my last checkin 1998-03-27 23:39:57 +00:00
cgd db74b327b9 fix a few bogus pointer checks (was checking pointers which would
never be against NULL, instead of checking the correct pointer against
NULL).  Pointed out (with diff) to Mark Brinicombe on March 17, no reply.
1998-03-27 19:28:52 +00:00
thorpej a95651eaea Add a PMAP_KERNEL_PTE() macro that returns the PTE for a given KVA. If
DEBUG, this performs a table walk.  Othwise, the Virtual Page Table is
used.  Use this macro in a few places where this was done by-hand.

Make vtophys() use PMAP_KERNEL_PTE().  In non-DEBUG cases, this is
a fair bit faster.
1998-03-27 19:18:04 +00:00
scottr e3e82a2bd2 Move bus_space implementation to bus_space.c. 1998-03-27 18:11:31 +00:00
scottr a1c2154bd6 Add (commented out) ALTXBUTTONS option. 1998-03-27 06:12:32 +00:00
scottr 57191652f3 Don't map Opt-{1,2,3} to mouse buttons unless the ALTXBUTTONS option is
specified.  (Doing so breaks German keyboards!)  Fixes PR 4929.
1998-03-27 06:10:54 +00:00
cgd b3d285e625 add -nostdinc to CPPFLAGS, so that /usr/include won't be used 1998-03-27 01:32:53 +00:00
ross 2ce8cda3e5 Get rid of a /* in a comment. 1998-03-27 01:17:18 +00:00
thorpej b1e15c2005 Add some robustness to pmap_alloc_physpage(): Instead of panic'ing if
we can't get a page, find an inactive pmap and pmap_collect() it,
freeing up a few pages.  Go ahead and die if we can't allocate a page
after 5 tries.
1998-03-27 00:52:43 +00:00
sakamoto 2467110095 Change commented out default baudrate(38400 to 9600) of serial console. 1998-03-27 00:11:07 +00:00
sakamoto 94a783a350 allow use of new wscons code. 1998-03-27 00:07:53 +00:00
sakamoto f9133e686e Change default console. pc -> wscons 1998-03-26 23:51:08 +00:00
sakamoto 6143f6a20e Allow to use the new VGA and keyboard controller drivers as console 1998-03-26 23:45:59 +00:00
sakamoto a46fb646ee add entries for the new wscons stuff 1998-03-26 23:43:43 +00:00
sakamoto a81efa33bc tell drivers that this port knows about the new wscons code
(and generates the NWSCONS etc include files)
1998-03-26 23:42:53 +00:00
sakamoto 3334a0d040 Add bus_space_copy_region_N(). 1998-03-26 23:41:51 +00:00
thorpej b86884a71a Give pmap_collect() some substance: when called, a process is being
swapped out, so remove all of the physical mappings the process has
in order to free up the page table pages.

Since the pmap module is allowed to "forget" mappings, pmap_collect()
may be called in other situations where the memory situation is desperate,
although it's more likely that the pages will simply be needed again the
next time a process runs.
1998-03-26 22:18:36 +00:00
mark 653457f11b Remove the variable oldtm from diagnostic printf() statement as this
variable no longer exists.
1998-03-26 21:27:12 +00:00
mark 35dc347724 Bring this more up to date. 1998-03-26 20:43:02 +00:00
mark 8003976152 The ehbug option is dead now the etherH driver has been replaced with
an NE2000 attachment.
1998-03-26 20:42:34 +00:00
mark cd0f9898b5 Fix problems with microsecond timestamping in microtime().
Remove some old dead code.
1998-03-26 20:07:18 +00:00
mark 26634e5f83 Cleaned up the IOMD access macros. 1998-03-26 20:05:49 +00:00
mark 6fa49296d7 Include machine/asm.h. Removed un-necessary .req directives. Use the
ENTRY() macro for declaring function entry points.
1998-03-26 20:05:13 +00:00
mark c6b5400405 Add a couple of missing brackets in the arm_byte_to_page and
arm_page_to_byte macros.
1998-03-26 19:57:13 +00:00
mark 47ec7dab23 This file is no longer included by anything and is out of date. All
podule definitions can be found in the podulebus subdirectory.
1998-03-26 19:55:53 +00:00
chuck 5f8c3edfed add pmap_dump as a DEBUG function 1998-03-26 19:49:51 +00:00
thorpej 531db9e0d3 Sanity check the virtual addresses in the kernel and non-kernel cases
of pmap_enter() (and pmap_kenter_*()).  Remove diagnostic check for
kernel pmap in pmap_alloc_asn().
1998-03-26 19:06:28 +00:00
thorpej 040f7cbc70 Remove references to pmap.old.h - It should have just been pmap.h, but
that isn't necessary, either, since <vm/vm.h> is already included.
1998-03-26 18:17:13 +00:00
pk f3d6050987 Typo in initial interrupt register mapping code. 1998-03-26 16:11:40 +00:00
tsubai 3ff4af3e9e Add MIPS_INT_MASK_FPU definition and remove unnecessary code. 1998-03-26 13:15:01 +00:00
jonathan 6b2d0fa8a0 * Create /sys/arch/mips/include/intr.h, with extern declaration of
interrupt-callout vector from mips locore dispatch code to port code.
* Move branch-emulation declaration to mips/include/trap.h.
* Garbage-collect pmax/pmax/trap.h.
  Not needed now pmax/pmax_trap.c is gone, and after above tidy-up.
1998-03-26 12:46:33 +00:00
jonathan 01be9f533f Add extern declaration of old "systype" global variable holding model type,
until all pmax code uses platform support.
1998-03-26 11:44:28 +00:00
jonathan 4d3f17a9f7 Garbage-collect oldstyle model-select options from GENERIC. 1998-03-26 11:35:42 +00:00
jonathan 9376fa1a1b Commit MIPS_INT_MASK_FPU change: use MD symbol to check for pending FPU
interrupts.
1998-03-26 09:21:05 +00:00
thorpej dd3d062237 Delete a couple of gratuitous printfs. 1998-03-26 06:36:36 +00:00
thorpej 8a86fd47be It's Just Wrong to configure a KN02 system slot as an IOCTL ASIC, but
since it's currently done that way, nuke the gratuitous printf that
reports the behavior.
1998-03-26 06:35:27 +00:00
thorpej 38d5126caf Set cpu_model in the dec_foo_init() functions, make them consistent and
descriptive, and print the model before reporting physical memory size.
1998-03-26 06:32:37 +00:00
thorpej b6fca1a9c8 The line between "family" and "model" are ... very fuzzy on the DECstation.
So, don't bother.
1998-03-26 06:27:57 +00:00
scottr 5fa1b5f440 Add Performa 580/588 to the list of machines which have a Cuda chip.
XXX - we should really be using machine ID symbolic constants here, not
numbers.
1998-03-26 06:25:49 +00:00
thorpej d654444e88 Right now all platforms use the tc_slot_info[] stuff, so put it in a place
where everyone can get at it.
1998-03-26 03:12:05 +00:00
thorpej c4ba627afc Kernel config file for bishop.nas.nasa.gov and ripley.nas.nasa.gov,
AlphaStation 500 and AlphaStation 600, respectively.
1998-03-26 03:00:36 +00:00
thorpej 9234f2450b Enable DDB history, netbsd.gdb. 1998-03-26 02:58:48 +00:00
thorpej 6111783e61 if NEW_SCC_DRIVER, 3000/300 and 3000/500 aren't PROM console candidates. 1998-03-26 02:53:21 +00:00
thorpej a9e071bef5 defopt NEW_SCC_DRIVER 1998-03-26 02:52:43 +00:00
thorpej 1282aca230 Add options UVM, PMAP_NEW, and NEW_SCC_DRIVER. 1998-03-26 02:51:46 +00:00
thorpej 73f1a02583 If NEW_SCC_DRIVER is defined, the 3000/300 and 3000/500 are not
PROM console candidates.
1998-03-26 02:45:34 +00:00
thorpej 7b4da708cc Add support for attaching a zstty as the console, conditional on
NEW_SCC_DRIVER.
1998-03-26 02:43:22 +00:00
thorpej 4a4bccc923 Remove references to NEW_PMAP. 1998-03-26 02:21:46 +00:00
thorpej 76ba34c797 Remove references to "new_pmap". 1998-03-26 02:19:02 +00:00
thorpej 456b3df281 Remove the Mach 3 pmap from the tree, replacing it with the contents of
pmap.old.<whatever>.  To see the history, look at the corresponding
pmap.old.<whatever> file.
1998-03-26 02:18:03 +00:00
thorpej 17513c206c make this compile 1998-03-26 01:09:04 +00:00
thorpej 60e832dc24 Make this compile. 1998-03-26 01:01:13 +00:00
pk f658122053 Check for a valid PROM virtual address. 1998-03-25 23:15:07 +00:00
thorpej 3ac5a77c70 Make pmap_kremove() deal with mappings entered with pmap_enter() as well.
Prevents stale PV entries from lingering around.  Fixes a nagging
"kernel stack not valid halt" I was seeing with PMAP_NEW.

Idea from Chuck Cranor.
1998-03-25 22:52:28 +00:00
chuck 1c1186a3f2 the kernel remove function can encounter mappings that are on the
pvlists if they were entered by the fault routine.   in this case
we had better call pmap_remove to clear out the pventry structures.

appears to fix some pvlist releated panics people have seen with pmap.new.
1998-03-25 22:49:11 +00:00
is 6c7f702633 - remove one level of soft interupt in the software autorepeat code
- WOPEN -> wopen
1998-03-25 22:14:13 +00:00
mjacob db6aafad0b With new pmap stuff, the need for MSS3 goes away. 1998-03-25 18:33:41 +00:00
chuck a30817ebaa if installing page 2 as a PT page for first 4M (for BIOSCALL),
make sure we zero it first so that the PT is not filled
with random garbage
1998-03-25 16:30:43 +00:00