Commit Graph

20014 Commits

Author SHA1 Message Date
kleink
ac88fcbb17 G/c orphaned prototype. 1999-11-15 02:00:08 +00:00
thorpej
4ab7f024dc Fix a couple of pmap_enter() calls I missed. 1999-11-15 00:06:58 +00:00
augustss
3d275209e8 Add dev and function locators to cardbus devices. 1999-11-14 23:21:48 +00:00
thorpej
52806c2c2a Fix typo in previous. 1999-11-14 19:20:27 +00:00
soren
b0be8ac6ea Match ECP devices as well. 1999-11-14 18:03:38 +00:00
eeh
96ff315a99 Change one more instance of access_type' to flags' in pmap_enter(). 1999-11-14 17:25:01 +00:00
drochner
d3d6c8d951 add commented out pnpbios entries 1999-11-14 13:31:04 +00:00
takemura
d7d5ca87f3 Support the frame buffer in which white pixel value is zero. 1999-11-14 12:33:11 +00:00
thorpej
2cfc62b5ae Update for pmap API change. 1999-11-14 02:39:09 +00:00
thorpej
158b1a55f1 Add an "index" locator to the pnpbios `bus'. This allows us to wire down
device instances if there are more than one of a given type in the PnP
BIOS device table.

Add a pnpbios attachment for `lpt'.
1999-11-14 02:15:50 +00:00
mhitch
ed2a0c2648 Fix an additonal return in pmap_enter() that wasn't returning a value.
Use flags (formerly access_type) to set page reference/modified status.
Don't use the PG_CLEAN flag from the UVM when checking to see if a
writeable page has been marked as modified.
When updating page status to modified from the UTLBmiss handler, set
the referenced bit in addition to the modified bit.
1999-11-13 23:16:39 +00:00
mhitch
27a8dc486b Use console_debugger() to enter DDB on a break, instead of Debugger(). It
can now be controlled with sysctl on the 3100 & 5000/200.
1999-11-13 22:58:11 +00:00
mhitch
babe07a8b5 When called from the debugger, the keyboard handler was returning 0 due to
a missed change when kdbMapChar() was changed to return a string.  Return
the correct chacter from the string.
1999-11-13 22:56:56 +00:00
thorpej
728d672378 Backout my libsa changes. 1999-11-13 21:33:12 +00:00
matt
d4c19a672a adapt to jason new pmap_enter change 1999-11-13 21:32:25 +00:00
thorpej
36ff5d93e8 Backout my libsa changes. 1999-11-13 21:17:56 +00:00
matt
3ca3e51df8 Nuke TCP_COMPAT_42. Use sysctl to enable it if required. 1999-11-13 20:56:14 +00:00
matt
3891060822 Nuke TCP_COMPAT_42. Use sysctl to set it as needed instead. 1999-11-13 20:55:12 +00:00
matthias
2c3b2bd9f9 Make copystr return ENAMETOOLONG if maxlen == 0 (pointed out by Charles). 1999-11-13 18:01:27 +00:00
perry
a228a21023 no longer needed 1999-11-13 17:58:41 +00:00
perry
341edec257 make the comment on how to use the cinclude stuff for crypto clearer. 1999-11-13 17:57:28 +00:00
perry
53eda555f4 Integrate the IPv6 bits from GENERIC.v6 1999-11-13 17:54:17 +00:00
scw
0587ca2eaa Make this work with the new scsibus mid-layer, using Ignatios' Amiga
fix as a reference.
1999-11-13 15:33:57 +00:00
minoura
1a29be4d0c Increase ramdisk size. 1999-11-13 14:19:46 +00:00
soren
0b0e306a89 Add almost-PCI IDE attachment for the Toshiba Portege 3000 series. 1999-11-13 13:39:17 +00:00
pk
a9cdefb6e6 Remove implementation of the -h' and -a' options. 1999-11-13 12:09:41 +00:00
thorpej
1946167939 Update for pmap_enter() API change. No functional difference. 1999-11-13 00:30:26 +00:00
thorpej
abff7cb610 Update for pmap_enter() API change. 1999-11-13 00:27:21 +00:00
thorpej
59cbff957d Update for pmap_enter() API change, and return failure if possible. 1999-11-13 00:26:22 +00:00
lukem
0888d71168 recognise the ACER labs M1543 PCI-ISA Bridge in siomatch(). the DS10 now boots!
thanks to thorpej/ross/mrg for helping me out on this.
1999-11-12 22:07:28 +00:00
kleink
c52f431558 Bring high-resolution time interfaces closer to SVR4:
* Change gethrtime() to use mono_time.
* gethrvtime() is defined to return the lwp/process's virtual time;
  use p_rtime augmented with the current runtime.

Reviewed by: christos
1999-11-12 20:45:44 +00:00
drochner
f165ee13d2 include "pnpbios" definitions 1999-11-12 18:40:07 +00:00
drochner
59e13361f3 make "i386_isa_chipset" globally visible so it can be used from outside
the "isa" bus, attach "pnpbios" pseudo-bus if configured
1999-11-12 18:39:38 +00:00
drochner
8f5c3d689b add GDT segments for pnpbios use 1999-11-12 18:37:29 +00:00
drochner
2298f7abf4 "pnpbios" pseudo-bus. Reads out device IDs and ressource usage from the
BIOS and attaches devices to it.
While it is potentially able to deal with all the motherboard ISA
devices, it is only used in hairy cases for now - laptop stuff in
particular.
1999-11-12 18:36:46 +00:00
simonb
2b6e59dd39 Don't include <lib/libkern/libkern.h> for prototypes that are also in
<lib/libsa/stand.h>.  The alpha still needs libkern for the division
and remainder support.
1999-11-12 13:11:40 +00:00
nisimura
91fd021893 - Arrange 'platform' struct to have clkread entry, which can interporate
HZ using high resolution timer circuit if available.  Merge os_init
  into the primary hardware initialization in sysinit[].init.
- Nuke an irrelevant attempt to disable RTC under splhigh condition.
- Make sure IOASIC DECstations accumulate device interrupt mask bits into
  certain global variables.
- Have witchcrafts to issue ACK to RTC interrupt.
- Add a missing \n and a minor rearrangement in cpu.c
1999-11-12 09:55:37 +00:00
mark
3d347d6d24 Regenerate from podules. 1999-11-12 07:38:51 +00:00
mark
9d919b7239 Add EtherI and EtherN podule ID's
From Mike Pumford, part of PR/8765.
1999-11-12 07:37:21 +00:00
mark
e28a162f54 In _bus_dma_sync() drain the write buffer after the cache clean.
Spotted by Richard Earnshaw.
1999-11-12 07:29:34 +00:00
nisimura
95e2c7af76 Make sure wbflush symbol treated as a C function call. 1999-11-12 06:17:13 +00:00
matt
d2434ef890 remove reference to auxiotwo 1999-11-12 06:15:38 +00:00
matt
73ae3282ab turns we need to tweak the auxio1 reg to enable the modem. also fix a call
to sbus_bus_map.  it's closer to working but I wonder if COM_FREQ is the
right value.
1999-11-12 05:20:03 +00:00
matt
8ffb2596c7 make this compile under current 1999-11-12 04:42:19 +00:00
matt
3744fe193f add some stuff needed for pcmcia support 1999-11-12 04:41:46 +00:00
simonb
4abf82d09b Remove references to libkern after Jason's recent work to libsa. 1999-11-12 01:37:42 +00:00
thorpej
47f5c977ef Don't reference libkern.h. 1999-11-11 20:28:04 +00:00
thorpej
e29afb6f98 No longer need to build libkern. 1999-11-11 20:27:42 +00:00
thorpej
d642bd03d1 Add register prefixes. 1999-11-11 17:08:37 +00:00
matt
1138f7e762 add COMPAT_14 1999-11-11 15:55:53 +00:00
itohy
de6b762004 Make X680x0 IOCS library build on ELF toolchain. 1999-11-11 08:16:20 +00:00
itohy
59c36c2cb6 Make Human68k DOS library build on ELF toolchain. 1999-11-11 08:14:43 +00:00
itohy
fcc45340da Make it build on ELF toolchain. 1999-11-11 08:12:50 +00:00
thorpej
f16bb11bf0 Add register prefixes. 1999-11-10 23:17:21 +00:00
hubertf
83964cc3e3 add (commented out) APM options 1999-11-10 22:39:45 +00:00
drochner
283100a20d clarify diagnostic message about nonstandard/reserved/OEM defined
event codes
1999-11-10 16:55:25 +00:00
drochner
536f716be9 use console_debugger() on CTL-ALT-ESC to honour the ddb.onconsole sysctl 1999-11-10 16:52:14 +00:00
tsubai
90a8355d04 Support md root for INSTALL. 1999-11-10 13:33:09 +00:00
nisimura
24a33d9f37 Remove a small scale 'improvement' for TLB mod exception which is now
found harmful.  Fix panics on MIPS1 only kernels.
1999-11-10 08:06:05 +00:00
mycroft
fd8d1c65eb Add USB support. 1999-11-10 05:57:52 +00:00
mycroft
74ca1c37ef Deal with /psuedo-hid in the following atrocious way:
* If only one of ukbd or akbd is configured, use the node for that device.
* If both are configured, use ukbd.
Ultimately, the right way to deal with this is probably so simulate the effect
of /psuedo-hid using wsmux.  But not today.
1999-11-10 05:23:18 +00:00
thorpej
c718a7c548 Add register prefixes. 1999-11-10 00:13:59 +00:00
thorpej
e9e011443c Add register prefixes that I missed before. 1999-11-10 00:02:23 +00:00
thorpej
ae13d86f18 Add register prefixes. 1999-11-10 00:01:32 +00:00
kleink
b4f0936a8c Per discussion on tech-toolchain, remove MIPS-specific <machine/elf.h> header;
all the information is available from <sys/exec_elf.h>.
1999-11-09 21:50:18 +00:00
kleink
1c2019b5a8 Rip protection against multiple inclusion from wrapper headers. 1999-11-09 21:34:03 +00:00
mycroft
8f05f33e49 Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
already too large, and GENERIC won't be far behind.
1999-11-09 18:39:41 +00:00
scw
9cc52f53a8 Drop some #defines which are now in sys/disklabel.h. 1999-11-09 10:03:20 +00:00
marc
e1e554ac35 charles was on drugs. There's no such thing as #elifdef. 1999-11-09 02:25:33 +00:00
pk
560567d851 Include <sys/exec.h> instead of <a.out.h>/ 1999-11-08 23:29:56 +00:00
pk
a96dbfa190 Remove inclusion of unused headers. 1999-11-08 23:29:05 +00:00
mhitch
f4fa9aae9f When the framebuffer is closed, reset the keyboard. We don't know what the
X server may have done with the keyboard state.  X11R6 was changing the
keyboard modes, which were not compatible with the lk201 keyboard handling
in NetBSD.
1999-11-08 18:41:32 +00:00
mycroft
336e3613c3 Kill wsmux. DIE DIE DIE! 1999-11-08 06:17:42 +00:00
eeh
86667308d7 Implement sysctl machdep.booted_kernel. 1999-11-08 05:06:42 +00:00
eeh
5ce41ef1f2 Fix boot device detection code. 1999-11-08 05:05:26 +00:00
mycroft
fb17cb2665 Disable wsmux for now. 1999-11-08 04:50:30 +00:00
mhitch
8008907a4c && doesn't work very well for testing a flag - tcds_params() was always using
the baseboard ID and FAST settings instead of getting them from the TC option
card EEPROM.
1999-11-08 03:00:32 +00:00
thomas
938dcb33e9 Align IO and memory of PCI devices. 1999-11-07 22:23:05 +00:00
mhitch
5239567fb0 Don't use MIPS3_L2CACHE_ABSENT to control compiling the Level 2 cache flush
in pmap_remove_pv().  Also comment why I'm doing the second cache flush
operation.
1999-11-07 19:42:23 +00:00
chs
f4dbce1e9a in copy{in,out,}str(), return an error if maxlen == 0. 1999-11-07 17:31:37 +00:00
chs
f1c14a8b5d in copystr(), be sure to return an error if maxlen == 0. 1999-11-07 17:01:20 +00:00
pk
1ad621b38f Handle empty `input/output path' when looking for console device; patch
from Brian D. Chase.
1999-11-07 16:36:16 +00:00
uch
2cf4f4b9b6 Clear interrupt status before dispatch handler. 1999-11-07 14:07:50 +00:00
mrg
defe7bd119 make this compile without DEC_3000_300 1999-11-07 09:14:34 +00:00
scottr
4ecba735df Garbage collect adb_initted. 1999-11-07 08:22:50 +00:00
scottr
0b8b3c403e In the interrupt handlers, check adb_polling instead of
adb_initted to decide whether to handle 'recovered' interrupts
immediately.
1999-11-07 08:18:24 +00:00
scottr
26208b5e57 Garbage-collect adb_init(). It's been dead for a long time. 1999-11-07 08:08:10 +00:00
scottr
c11dd8b6dd We want adb_polling set regardless of whether we're using the MRG driver. 1999-11-07 08:07:20 +00:00
mycroft
277394fdd3 Fix WARN_REFERENCES() here for the ELF case. 1999-11-07 07:20:26 +00:00
mycroft
cf29975968 Hack to work around _C_LABEL() fallout so WARN_REFERENCES() works again. 1999-11-07 07:12:07 +00:00
scottr
8da942f249 Oops... last rev created an unused variable. While here, clean up
adb_reinit()'s variables a bit, too.
1999-11-07 06:15:09 +00:00
scottr
23411c4c1b Convert one more buffer copy that I missed in rev 1.28. 1999-11-07 05:50:26 +00:00
mycroft
4c0911c827 Make this more current. 1999-11-07 01:09:12 +00:00
mycroft
6816b631ab Nit: Make bootrealseg conforming. 1999-11-07 01:06:37 +00:00
mycroft
f991846760 Make this a little more current. 1999-11-07 01:04:59 +00:00
scottr
a7628ea793 Always using polling for poweroff (from macppc). 1999-11-07 00:16:39 +00:00
scottr
27adad708f ite_polling -> adb_polling 1999-11-07 00:12:55 +00:00
scottr
57dc0b9f46 We need adb_initted in a couple of places; declare it here. 1999-11-07 00:12:54 +00:00
scottr
ad43c94436 ite_polling -> adb_polling 1999-11-07 00:12:53 +00:00
scottr
c827b513ac Convert buffer copies to memcpy(). 1999-11-06 23:50:29 +00:00