Commit Graph

16720 Commits

Author SHA1 Message Date
tsubai 635d4ae57a Fix typo. 1998-10-14 13:21:10 +00:00
tsubai c539169765 wskbd support. 1998-10-14 12:56:19 +00:00
tsubai f6f8f9b3f5 Oops, remove ite/grf. 1998-10-14 12:31:34 +00:00
tsubai 461a9c9361 Add wsdisplay/wskbd. 1998-10-14 12:28:54 +00:00
tsubai ced4fd09b4 Add wsdisplay. 1998-10-14 12:27:03 +00:00
tsubai 20e56a7571 Add wsdisplay (, wskbd, and wsmouse). 1998-10-14 12:21:21 +00:00
tsubai 9fdd9b72df Implement PCI tag to OpenFirmware device convert function (pcidev_to_ofdev). 1998-10-14 12:18:20 +00:00
tsubai b6e7cc68c6 akbd: wskbd support.
ofb: OpenFirmware generic framebuffer.
1998-10-14 12:15:10 +00:00
augustss 797eea8ae5 Add a sequencer pseuso device since we have a MIDI device. 1998-10-14 11:13:14 +00:00
pk e6c0a03f90 `ncpu != 0' doesn't make much sense when deciding what CP info to print. 1998-10-13 21:08:48 +00:00
pk bf7ace9074 CLKF_INTR() needs to have a MULTIPROCESSOR version. 1998-10-13 20:53:02 +00:00
perry 3a86ff1e67 Fix a stupid bug -- an if that was supposed to be nested but wasn't. 1998-10-13 15:14:13 +00:00
pk 802248ee1c We use MULTIPROCESSOR explicitly here, so pull in "opt_multiprocessor.h". 1998-10-13 13:37:14 +00:00
pk 14a3acbd47 srmmu_cache_flush(): handle small (< NBPG) ranges more efficiently. 1998-10-13 13:34:06 +00:00
tsubai 7d9356dcca Fix cut-and-paste miss... 1998-10-13 13:15:29 +00:00
pk 1e0064d5d6 EINTSTACK => EINTSTACKP 1998-10-13 12:05:44 +00:00
bouyer 10788ef1be Add a CPURESET_DELAY options which specifies the delay (in milliseconds)
between the "rebooting" message and the hardware reset. If set to 0, the call
to delay() is disabled. Default is 2s.
1998-10-13 11:43:50 +00:00
kleink cee25f5a9c Since libc is not ready for enabling weak symbol support yet, disable the
WEAK_ALIAS() macro for now (like cdefs.h).
1998-10-13 11:39:26 +00:00
pk d5e94d4fb2 Add missing `return'. 1998-10-13 11:33:36 +00:00
tsubai ffb3220169 Don't panic when pmap_remove_pv even if pa is not managed.
(i.e. I/O device.  framebuffer etc.)
1998-10-13 11:30:47 +00:00
tsubai b373c846b4 ADB change. 1998-10-13 11:25:26 +00:00
tsubai 7756c05cc4 Split ADB driver to aed (ADB event device), akbd (ADB keyboard),
and ams (ADB mouse).  adb is a bus now.  (from Colin Wood)
1998-10-13 11:21:20 +00:00
enami 470c2f6696 Remove space at the end of line. 1998-10-13 03:57:27 +00:00
pk 8511a94f26 Oops, USPACE does not in 13 bits.. repair and save one instruction
in a non-SMP kernel.
1998-10-12 22:05:17 +00:00
is 4e322893fa Make the data pointer of the write_multi, write_region and write_stream
methods const *.
1998-10-12 22:02:43 +00:00
pk c27a8760b7 In switchexit(), switch to the current CPU's idle u.area. 1998-10-12 21:51:54 +00:00
pk dff4866141 Add offset of `cpuinfo.idle_u'. 1998-10-12 21:50:22 +00:00
pk 5d124ce774 Move around a few PTE-manipulating macros. 1998-10-12 21:17:28 +00:00
is 842fbdf4d2 - add bus_space_{copy,set}_region_{1,2} support and implementation for
_1 and for _2 in the contiguous and interleaved case.

- while we're here, reorganize bus.h into sections, and use the defined
  convenience functions everywhere.
1998-10-12 21:15:54 +00:00
pk 83b671e23d Make `cpcb' (current u.area) a per-CPU variable.
Brace some MP-only code with `#ifdef MULTIPROCESSOR'.
1998-10-12 20:56:48 +00:00
perry d6748769a5 Cut down slightly by reducing md size and commenting out ext2fs
support.
(From Havard.Eidnes@runit.sintef.no)
1998-10-12 16:37:44 +00:00
perry 6b858b9573 kernels for 4Mbyte main memory machines (from Havard.Eidnes@runit.sintef.no) 1998-10-12 16:36:18 +00:00
bouyer aaa8f8b183 Patch from Mark Brinicombe for arm32 config with the new ide system. 1998-10-12 16:13:03 +00:00
bouyer 19fddaeeb5 Merge bouyer-ide 1998-10-12 16:09:10 +00:00
perry 37cb095897 1) Change "dectohexdec" and "hexdectodec" to "bintobcd" and
"bcdtobin". The old names were bogus.
2) Make the code grok the NVRAM's century field. This code is, to say
the least, poorly tested. It should make NetBSD play nicer with other
OSes that care about the century field, however.
1998-10-12 15:41:11 +00:00
pk 6791d7f713 Make `_cpcb' (pointer to current user area) a per-CPU variable.
This cpuinfo field is initialized here in locore before calling bootstrap(),
since it must be valid before entering the window overflow/underflow handlers.

Fix miscalculation in the MULTIPROCESSOR version of INTR_SETUP().
1998-10-12 14:39:10 +00:00
pk 523892012a `cpcb' (pointer to current u.area) is now a per-CPU variable. 1998-10-12 14:32:14 +00:00
pk fbbc2eeedd `cpuinfo' is now cleared in locore. 1998-10-12 14:15:13 +00:00
pk 6fc7a5b45a Define `sizeof(struct cpu_info)'. 1998-10-12 14:03:22 +00:00
pk 1fb4827a72 Take care of a MID not present when matching timer register sets. 1998-10-12 12:28:26 +00:00
veego a5eda011ab Include <sys/device.h> for the configure prototype. 1998-10-12 03:51:59 +00:00
mark c70acc4a87 Add console initialisation for wscons via VGA.
Use the boot options console=xxx to select the console where xxx is
vga, fcom or com.
1998-10-12 03:32:51 +00:00
mark 91a04b5d0c Define __HAVE_NWSCONS 1998-10-12 03:12:37 +00:00
chuck 8bef431273 remove unused share map code from UVM:
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
        has been removed)
1998-10-11 23:20:59 +00:00
pk b9d844a520 Allocate a private PCB, kernel stack and interrupt stack for each processor.
As a result, the stack setup code in locore.s changes slightly in
the MULTIPROCESSOR case. Also, make the stack redzone barrier (for
debugging only) a per-CPU entity.
1998-10-11 14:46:45 +00:00
thorpej be326c54fe Add pcmcom driver and com slaves. 1998-10-10 21:58:22 +00:00
scw 260d2c97a9 Make 'configure()' agree with the prototype in <sys/device.h>.
(Returns 'void').
1998-10-10 19:46:29 +00:00
scw bdf8d911fc Clear 'cold' to zero at the end of configure(), where it belongs.
(This used to be done in machdep.c, but thorpej recently zapped
that one ;-)
1998-10-10 19:15:32 +00:00
drochner ff455e77b6 Match pchb by class/subclass, like pcib.
Add a note about this strange Pequr host bridge in Compaq machines.
1998-10-10 14:12:21 +00:00
matt 1163f713bb Make DBL_MIN and DBL_MAX makes limits.h (otherwise CPP complains when
building xlint).
1998-10-10 02:13:55 +00:00