Commit Graph

4360 Commits

Author SHA1 Message Date
thorpej 2128a07943 Put an interrupt-safe mutex around PCI configuration space access. 1999-12-11 20:48:25 +00:00
sommerfeld 85ba879817 MP: spinlockinit actually takes 3 args, not 4. 1999-12-11 19:39:31 +00:00
joda 3ae2d6605b defopt APM_DISABLE_INTERRUPTS 1999-12-08 16:46:32 +00:00
thorpej 388112cd09 Add nsphyter. 1999-12-07 19:38:54 +00:00
thorpej 1488729b56 Update for reality. 1999-12-07 19:38:36 +00:00
thorpej 28de1b15a4 Add tlp at cardbus, and nsphyter. 1999-12-07 19:37:40 +00:00
ragge 0513268399 CL* discarding. 1999-12-04 21:13:19 +00:00
thorpej 4560ac465a Split the PC-like keyboard controller driver into chip back-end and
bus front-end.
1999-12-03 22:48:22 +00:00
thorpej cc0eadd619 Make pmap_main_lock a spin lock, not a sleep lock. 1999-12-03 18:49:37 +00:00
drochner e5bc2ce76f add support for 3c905b-Combo 1999-12-02 13:21:48 +00:00
drochner 262d9092fc add media definition for 100baseTX 1999-12-02 13:20:56 +00:00
drochner 671919edee add consistency check whether the end mark does appear before the
reported number of nodes
1999-11-30 15:54:55 +00:00
drochner ab0574c601 activate "coma bug" workaround for 6x86MX too.
Closes PR port-i386/7538 by darkstar@pgh.net.
1999-11-30 15:22:52 +00:00
drochner b678bca85b Allow loading of kernels larger than (16-1)M.
XXX This is a stopgap fix which can be pulled up to 1.4.x. It only replaces
the arbitrary 16M boundary by an arbitrary 128M boundary. A clean solution
would need changes to the mi loadfile.c parts.
1999-11-30 12:02:13 +00:00
itojun 726970dc8c add cnw* into pcmcia section. 1999-11-29 12:56:25 +00:00
drochner cfabac64f5 fix vm_page initialization for the case where kernel+symbols+tables
exceed 16M
1999-11-24 18:32:50 +00:00
itojun e9a0023b37 bring in content of GENERIC.v6 into GENERIC.
remove GENERIC.v6 file (as it is part of GENERIC now).

"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only).  We may need to think about it again.

if you have problem compiling with INET6 on archs I do not have access to,
please contact me.

XXX what to do with arch/arm32/SHARK{,.v6}?
1999-11-21 14:00:37 +00:00
matt 1d740db7d2 Not all platform have devices which need isadma. Make the isa_dmainit
call conditional.
1999-11-19 02:40:25 +00:00
tron 6bb7163ea2 Fix typo. 1999-11-17 20:41:27 +00:00
thorpej 7f28924acc If we see a bogus $PIR table entry, just ignore it. The MPIIX has
entries for the IRQs used by the IDE controller, which aren't really
PCI IRQs (they're ISA compat IRQs), and thus have link values that
don't make a lot of sense.
1999-11-17 18:55:15 +00:00
soren b4c9eea282 Add newline in debug printf. 1999-11-17 12:34:52 +00:00
thorpej 3f761bc3a7 Enable PCI bus renumbering, and add some CardBus Ethernet cards. 1999-11-17 07:34:48 +00:00
thorpej 11d76dfece Add PCI bus renumbering code. 1999-11-17 07:34:15 +00:00
thorpej 0d79886ad5 Fix up the PCI bus numbering after fixing up interrupts. 1999-11-17 07:33:41 +00:00
thorpej f4b4d4508a Code from UCHIYAMA Yasushi's PCI BIOS patches to renumber the PCI
busses.
1999-11-17 07:32:58 +00:00
jun b2557d295c add:
#options        SOFTDEP         # FFS soft updates support.
1999-11-17 03:56:38 +00:00
thorpej 92fcbce96b Add my laptop's configuration file as an example. 1999-11-17 01:24:49 +00:00
thorpej ad161afb12 Add glue for BIOS32 and PCI BIOS. 1999-11-17 01:22:29 +00:00
thorpej 4bfa60e3d3 Initialize BIOS32 and PCI BIOS as appropriate. 1999-11-17 01:22:09 +00:00
thorpej d6d9fbe240 Interrupt router drivers from UCHIYAMA Yasushi's PCI BIOS patches,
cleaned up and reworked a bit be me.
1999-11-17 01:21:20 +00:00
thorpej 2026e5f71b PCI interrupt routing fixup code, from UCHIYAMA Yasushi's PCI BIOS
patches, cleaned up and heavily reworked by me.  Basic algorithm is
the same, although the code structure is now quite different.

Main differences:
- Initialization path is totally different.
- We use the `compat router' information, if present, to determine which
  PCI ICU driver we should use.
- Fixup configuration headers on devices not on bus 0.
1999-11-17 01:20:38 +00:00
thorpej e345f0f17c Basic interface to the PCI BIOS and PCI Interrupt Routing table, separated
out from UCHIYAMA Yasushi's PCI BIOS patches, and fairly heavily reworked
by me.

Main differences:
- Only use the PCI BIOS to get the config mechanism and interrupt routing
  info for now.  No need to use the BIOS for PCI config access right now,
  since the old mechanism works fine, and this keeps the code smaller.
- PCI BIOS initialization code path is much different.
- Always use the $PIR table if it exists, and only fallback to the
  PCI BIOS 2.1 GetInterruptRouting call if it's not there.

This module does not include any of the fixup code; that is coming
in separate commits.
1999-11-17 01:16:36 +00:00
thorpej 4a98f5856e Basic interface to BIOS32. Separated from UCHIYAMA Yasushi's PCI BIOS
patches and cleaned up a bit.
1999-11-17 00:55:50 +00:00
drochner bb765a3924 "idx" is modified by pnpbios_getnode(); use the original value 1999-11-15 21:50:50 +00:00
augustss 56d687b0e6 Add dev and function locators for the USB host controllers at pci. 1999-11-15 20:10:49 +00:00
dante 6081361f0d Add WDTR, SDTR and TAGQ disable options 1999-11-15 20:03:50 +00:00
fvdl 8bec119fcc Add commented out option SOFTDEP to all GENERIC kernels. 1999-11-15 19:10:44 +00:00
fvdl d116707af0 Add
prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix

to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
1999-11-15 19:00:25 +00:00
fvdl 0b1963121a Add Kirk McKusick's soft updates code to the trunk. Not enabled by
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.

Bump version number to 1.4O
1999-11-15 18:49:07 +00:00
augustss 3d275209e8 Add dev and function locators to cardbus devices. 1999-11-14 23:21:48 +00:00
soren b0be8ac6ea Match ECP devices as well. 1999-11-14 18:03:38 +00:00
drochner d3d6c8d951 add commented out pnpbios entries 1999-11-14 13:31:04 +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
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
soren 0b0e306a89 Add almost-PCI IDE attachment for the Toshiba Portege 3000 series. 1999-11-13 13:39:17 +00:00
thorpej 1946167939 Update for pmap_enter() API change. No functional difference. 1999-11-13 00:30:26 +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
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
marc e1e554ac35 charles was on drugs. There's no such thing as #elifdef. 1999-11-09 02:25:33 +00:00
mycroft 277394fdd3 Fix WARN_REFERENCES() here for the ELF case. 1999-11-07 07:20:26 +00:00
mycroft 6816b631ab Nit: Make bootrealseg conforming. 1999-11-07 01:06:37 +00:00
mycroft 80173a8cef Enable DHCP by default, rather than BOOTP, as BOOTP is much more likely to
fail (due to option length issues), and DHCP is now prevalent.
1999-11-06 16:23:49 +00:00
enami de37487d49 - Export initrtclock().
- Call it from apm_resume().

This fixes timer problem on some laptop after hybernation (PR#4808).
Reviewd by: fvdl@netbsd.org
1999-11-06 01:14:00 +00:00
drochner db5d01fc72 back out the "ep"/"ex" guessing part of the previous - the check was
removed from the kernel and the device name is only informational now
1999-11-05 22:57:39 +00:00
drochner 8625e61c24 don't check the device name passed by netboot ROMs against the driver
name - drivers change too often, bus attachment information should be
sufficient to identify the boot device
1999-11-05 22:54:43 +00:00
thorpej 718f6380a7 Add tlp, document TLP_MATCH_* options, and add some missing PHYs. 1999-11-05 21:36:21 +00:00
sommerfeld 458feeb836 Add awi 1999-11-04 19:43:13 +00:00
mycroft 3c702c1d8d Recognize the 3c595, and use `ex' for 3c90x now. 1999-11-03 12:38:54 +00:00
mycroft dfc00b5b24 Back out the GDT changes in the previous. Didn't mean to commit that. 1999-11-03 09:55:32 +00:00
mycroft 1ee8f66dfe Picking a few nits...
* The direction flag wasn't set right in the presence of ROMDEBUG.
* There were missing data32's.
* We weren't as careful as we should be with relocations.
1999-11-03 09:28:15 +00:00
drochner e6d27a3a83 correct debug printf() to make it compile with DISK_DEBUG again,
closes PR kern/8718 by Takahiro Kambe
1999-11-02 16:52:25 +00:00
augustss 04235d23f6 Enable fms device again. 1999-11-01 23:27:56 +00:00
augustss 6d6d495cfa Disable fms driver for the moment. 1999-11-01 21:44:35 +00:00
augustss 684aa0605c Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.
1999-11-01 20:43:12 +00:00
joda 74b6d909b1 add fxp CardBus cards 1999-10-31 15:17:03 +00:00
mycroft 093997a6f6 Remove totally gratuitous check on the unit number in dev2bios(). 1999-10-28 05:20:05 +00:00
drochner 353a512c22 create "machine" symlink 1999-10-25 20:27:48 +00:00
drochner 7a63478423 make the code which decodes the MAKEBOOTDEV()-style boot device
(as passed by the pre-1.3 bootloader) optional
1999-10-25 17:26:05 +00:00
drochner 0bd36d187b EXEC_ELF32 is already defined in std.i386 1999-10-25 17:13:45 +00:00
itojun 44a06d35fa use "options \t" instead of "options\t\t" to avoid change in column
when you comment an option out.
1999-10-25 16:47:03 +00:00
drochner 4cc6f12c09 Don't let loadfile_machdep.h make it to /usr/include - the i386
stand Makefiles already set up the compile environment so that
machine/loadfile_machdep.h can be found.
1999-10-25 15:12:16 +00:00
drochner e5f51da9de -mask interrupts w/o a handler
-update PIC _after_ the interrupt handler is linked into the chain
This fixes problems with dynamically installed interrupt handlers:
Interrupts were enabled before the handler was installed under some
circumstances (esp. on faster machines), leading to endless interrupt
handling.
1999-10-25 14:49:41 +00:00
kleink 522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
fvdl 67eefde8f0 bdevvp returns a locked vnode, so vput it. From Bill Studenmund. 1999-10-18 19:37:28 +00:00
augustss 12cebe3298 Add ohci at cardbus. 1999-10-15 13:16:42 +00:00
haya 6b911855eb add NetBSD ID tag. 1999-10-15 06:43:06 +00:00
haya e5cc414836 add NetBSD ID tag. 1999-10-15 06:42:21 +00:00
haya 4eee111127 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
jdolecek 7f589dba84 rename the MD Debugger() to cpu_Debugger()
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()
1999-10-12 17:08:56 +00:00
drochner 6b98862760 forgot to comment out the orphaned "scsibus" 1999-10-08 13:53:00 +00:00
ad 0d7e968d86 Enable large cursor by default (at least on i386 for the moment), in
response to result of poll on tech-kern.
1999-10-06 23:01:45 +00:00
fvdl a4e89ca2a1 Define CPU_FPU_PRESENT sysctl value. 1999-10-06 20:04:53 +00:00
fvdl 7c0b0a7b1c Add machdep.fpu_present sysctl. 1999-10-06 20:04:26 +00:00
fvdl 7bae87cae4 Set variable i386_fpu_present to 1 if a functional FPU was detected. For
later retrieval by sysctl.
1999-10-06 20:03:51 +00:00
drochner 724d0011ed comment out "ncr* at isa?" (NCR 53C80 - cheap SCSI) in the standard
config files. The probe funktion gives false hits and steps onto
other hardware. (PR port-i386/8361 by cgd and my own experience)
1999-10-06 12:21:43 +00:00
itohy 245053a1af Add "opl at ym" and "mpu at ym".
Fix typos.
1999-10-06 08:13:17 +00:00
mycroft f233c16c58 Sync with reality. 1999-10-05 03:31:43 +00:00
fvdl 5c04333d5d It's legal to mmap pages in the lower part of the stack (< limit), and
use them, so allow this by relaxing the check for it.
1999-10-04 17:36:37 +00:00
thorpej c98787207b Add Megahertz Ethernet/Modem combo card goo. 1999-09-28 18:07:29 +00:00
enami 2230805f45 Add missing backslash. 1999-09-28 09:57:35 +00:00
ad c62af9270a Note DPT controllers as needed. If it looks like a stripped down GENERIC,
it gets it.
1999-09-27 23:59:50 +00:00
kleink 0b9965d236 For ELF, rename the profiling entry from mcount to __mcount to avoid clashing
with the user's namespace, also within file scope; for binary compatibility,
define a weak alias for the previous name to cover our tracks.
1999-09-27 09:47:44 +00:00
tron dd82f86245 Add Realtek 8129/8139 driver to install kernel as suggested by
Patrick Welche in PR install/8477.
1999-09-23 16:09:13 +00:00
drochner 2576aadde3 add missing break, spotted by Wolfgang Solfrank 1999-09-20 16:07:45 +00:00
ad 117b17fafc Document PCDISPLAY_SOFTCURSOR. 1999-09-19 21:50:05 +00:00
thorpej 11cae42531 Centralize the declaration and clearing of `cold'. 1999-09-17 19:59:35 +00:00
thorpej 3b01d1b872 Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
chs f3a668ed84 eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
drochner 2c0e7cf113 allow to set boot timeout and password, following PR port-i386/8196
by Stephan Thesing
1999-09-10 16:45:27 +00:00
drochner 3e60c834ed install /boot -r-------- for security reasons 1999-09-10 16:41:10 +00:00
drochner 4486b15211 -make ustarfs optional (enabled per default) for cases where space is
scarce
-make the boot timeout patchable
-optionally, call checkpasswd() before the boot menu can be accessed
(The latter 2 follow PR port-i386/8196 by  Stephan Thesing.)
1999-09-10 16:38:46 +00:00
drochner 5c48b9a115 improve awaitkey()'s printout for >9 seconds 1999-09-10 16:23:55 +00:00
drochner 2914ef7fd2 sync with changes to if_fxp header,
thanks to <ks@ub.uni-mainz.de> for testing
1999-09-10 09:12:44 +00:00
augustss 14b98cd440 Add uaudio driver. 1999-09-09 12:33:43 +00:00
itohy cd74d2c98b Introduce new option APM_NO_POWER_PRINT which disables printing
power status on the console (if apmd is absent).
Some systems generate APM_POWER_CHANGE events too frequently (more then
once per minute), and printing the status makes single user operations
rather difficult.
1999-09-09 03:52:21 +00:00
kleink 562c87f80e Exclude some code moved here in rev. 1.206 if no npx is configured to make
such kernels link again; addresses PR port-i386/8262 from Ben Harris.
1999-09-08 09:16:47 +00:00
ross 9efd996351 spelling 1999-09-07 18:27:58 +00:00
christos 0b8242ef73 Oops forgot to include new files. 1999-09-07 18:20:40 +00:00
jtk 41360ce4ff regen with ELF. Still works OK. 1999-09-04 22:26:21 +00:00
jtk 4dc03cfa09 fix for building on ELF 1999-09-04 22:25:51 +00:00
thorpej c068ef8152 Add `umass'. 1999-08-29 16:55:48 +00:00
thorpej 2cf3330a1b Garbage-collect reference to <sys/dmap.h>. 1999-08-23 22:29:37 +00:00
kleink 5663256d0a Unlike in an i386 a.out assembler, where in an .align n directive n is meant
to be the logarithm to base 2 of the alignment, in an ELF environment n is
the actual alignment boundary; thus, adjust the directives accordingly.

Albeit the wonderful i386 architecture doesn't mind the smaller alignment in
an obvious way, it is likely to have resulted in some performance penalty
during the a.out->ELF transition.
1999-08-23 08:24:36 +00:00
simonb 3c185af5fd Include <sys/endian.h> after defining whether where are little- or
big-endian.  i386, pc532 and vax still include <machine/byte_swap.h>
and define macros for the {n,h}to{h,n}*() functions.  mips also
defines some endian-independent assembly-code aliases for unaligned
memory accesses.
1999-08-21 05:53:50 +00:00
simonb 06a92524c2 Include <sys/bswap.h> for function prototypes. i386, pc532 and vax
still include <machine/byte_swap.h> and define macros for some of
the bswap*() functions.
1999-08-21 05:39:51 +00:00
drochner 6bd627f17f back out last rev - it looks like a local hack which shouldn't go here,
and it breaks the "opms at pckbc" case
1999-08-19 15:33:16 +00:00
chs bb0c381fb9 two changes to prevent the kernel's pmap from being locked recursively
via interrupts:

(1) pmap_map_ptes() and pmap_unmap_ptes() don't need to do anything to
    map the kernel's pmap, since all pmaps contain the kernel's PTPs.
    this fixes interrupt-context calls to pmap_extract().
(2) pmap_kenter_*() and pmap_kremove() no longer adjust the kernel pmap's
    resident and wired counters.
1999-08-18 03:59:36 +00:00
drochner 57882d3779 oops - there got something into the last commit which shouldn't 1999-08-17 21:31:57 +00:00
drochner fcf48304c2 add some v1.2 bits, comment out the APM_IOC_DEV_CTL ioctl which I didn't
find a use for
1999-08-17 19:05:53 +00:00
drochner e0444db55a -let the driver identify itself as v1.2 for the BIOS, recognize the
added APM event type and print out some more info if APMDEBUG
-separate segment lenghts of 16-bit and 32-bit code cleanly
-minor fixes in segment lenght calculation
1999-08-17 19:04:24 +00:00
drochner 601f4102cc add a flag to control use of APMv1.2 1999-08-17 18:58:49 +00:00
drochner 58cde1da1e add rl* at pci? (Realtek Ethernet) 1999-08-17 17:48:38 +00:00
augustss db574ba708 Add umodem device. 1999-08-16 22:27:08 +00:00
augustss c97c41e5c8 Add opl* at wss? 1999-08-14 21:20:45 +00:00
bouyer 3c4909c449 Add wi* at pcmcia, wawelan adapters can be used for installs. 1999-08-12 15:32:24 +00:00
thorpej 28fb7c1eb8 Define cpu_number() as discussed on tech-smp. 1999-08-10 21:08:05 +00:00
fvdl d04fb757d6 Correct comment about family 6 not being available from AMD, since that's
no longer true.
1999-08-10 12:16:13 +00:00
fvdl fbcdd32245 Recognize K7^WAthlon 1999-08-10 12:00:50 +00:00
bouyer 385f47fe73 Add wi at pcmcia. 1999-08-09 18:13:26 +00:00
thorpej eb20bbc780 Change the semantics of splsoftclock() to be like other spl*() functions,
that is priority is rasied.  Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.

This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).

XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX.  This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
jdolecek d61380b6b4 mark file system NTFS as experimental 1999-08-05 15:52:11 +00:00
drochner 29a8d333b6 put biosdiskclose() inside LIBSA_NO_FS_CLOSE 1999-08-03 19:46:22 +00:00
thorpej 35730a15fe Add the "sip" driver (SiS 900 Ethernet). 1999-08-03 03:23:28 +00:00
augustss dd3788e008 Alphabetize. 1999-08-02 17:44:59 +00:00
augustss 42fb510148 Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
darrenr 01f3c66113 merge patch from PR#6279 as suggested some time ago. 1999-08-02 08:34:50 +00:00
augustss 694384f946 Add the MPU 401 ISA attachment. 1999-08-01 18:16:35 +00:00
mycroft 1880910b3a Sync with GENERIC. 1999-07-30 02:35:18 +00:00
augustss f641c4b3b6 Make two wsmux pseudo devices and add mux locators. 1999-07-29 19:36:58 +00:00
augustss 3652732791 Add wsmux device.
(Also add lots of missing chrtoblktbl[] entries.)
1999-07-29 19:14:35 +00:00
augustss a7cd454b1d It's time to be COMPAT_14. 1999-07-29 10:37:12 +00:00
thorpej 51d09124f9 Fix another locking error: if freeing a PV entry, don't attempt to
free a PV page if the PV entry was associated with the kernel pmap,
since the kernel pmap is locked, and freeing the page will execute
a code path which will attempt to lock it again, resulting in deadlock.
No real loss, since the next time a PV entry is freed, the page will
be freed, too.
1999-07-28 06:54:41 +00:00
thorpej eced87ad87 Fix a locking error: When allocating a PV page for the kernel pmap,
the pmap would be locked, and we would deadlock when mapping the
newly allocate PV page.
1999-07-28 05:37:54 +00:00
mellon 6d03d79b64 - compat_aout requires compat_13_machdep.c for definition of sigreturn. 1999-07-28 01:57:05 +00:00
thorpej 9d4524778d Slight adjustment to last; move pmap_kenter_pa() to where the other
pmap_k* functions are.
1999-07-28 01:17:01 +00:00
thorpej 31fa5c6f78 Don't inline pmap_kenter_pa(). It doesn't buy us much to do so, and
it's nice to have it show up in stack traces.
1999-07-28 01:07:52 +00:00
wrstuden f3b3a1b98d If we get into pcclose() without a defined tty, just exit rather than
dereferencing a null pointer.
1999-07-26 19:31:54 +00:00
cgd f886376518 be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
thorpej e70f375122 Lock the proclist as appropriate. 1999-07-25 18:05:31 +00:00
augustss 9e89bd8c34 The configuration and interface locators are pointless for the generic
USB device.
1999-07-22 09:35:06 +00:00
tron f808646713 Use wsmouse protocol for PS/2, Logitech bus and Microsoft InPort mice
by default. The X11 distribution included in our last release already
supports it and the wsmouse protocol can be used for any of the above
and for USB mice.
1999-07-21 20:28:45 +00:00
thorpej befbb301fd Use the lock manager to lock the GDT, rather than a non-MP-safe homegrown
method.
1999-07-20 23:07:12 +00:00
thorpej eff41cf3b1 Implement cpu_wait(), and move the call to tss_free() from switch_exit()
to cpu_wait(); tss_free() may block, and thus requires a valid context.
1999-07-20 22:25:18 +00:00
christos 41cc9a0eb8 enable PPP_BSDCOMP, PPP_DEFLATE, PPP_FILTER, PFIL_HOOKS, IPFILTER_LOG
on the GENERIC kernels that had them commented out.
XXX: Please note, that not all the kernels have all the options defined!
1999-07-20 07:40:34 +00:00
chs 47602880d7 KNF. 1999-07-18 21:33:20 +00:00
tron a868069601 Add a few more CPU models as suggested by Scott Telford in PR i386/7048. 1999-07-17 00:42:20 +00:00
drochner 7dab8cef61 fix logics in device recognition 1999-07-15 18:00:27 +00:00
drochner 8137f06eac recognize SIS 85C503 as PCI-ISA bridge, from Gregory McGarry per PR
port-i386/7972
1999-07-14 09:18:20 +00:00
kleink a963797502 Add eso(4) and the devices attached to it. 1999-07-12 15:16:23 +00:00
kim 0dc60ae78c Build bootblocks to always use COM0 for console. 1999-07-11 01:23:53 +00:00
kim f93a90f888 Use same Makefile for biosboot_com0 too. 1999-07-11 01:22:45 +00:00
itojun f7bf9de42a remove duplicated "files.crypto-intl" inclusion. 1999-07-09 20:14:26 +00:00
thorpej 0945bf58b0 Add examples for including the kernel crypto bits from either crypto-us
or crypto-intl, commented out, with instructions to use only one, and
adjust the prefix as necessary.
1999-07-09 18:55:33 +00:00
mrg ecdad0ec33 clean up a bit after jason :)
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
  would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
  $INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
thorpej 3ebbe095e0 Change the pmap_extract() interface to:
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
drochner 6211cd566c fix creation of DOS / ROM images from ELF executables: use "objcopy" 1999-07-08 14:32:28 +00:00
christos 2f1646ea98 Remove -DDEBUG 1999-07-06 14:37:05 +00:00
fvdl a32341998c Add COMPAT_AOUT to GENERIC 1999-07-05 22:40:34 +00:00
fvdl b82e1a8b93 EXEC_ELF32 is standard now. 1999-07-05 09:14:09 +00:00
tron d2b6a2c28b Optical cleanup in WSCONS configuration section. 1999-07-03 12:09:52 +00:00
thorpej 14a2fa8169 Fix IPv6 software interrupt vector label. 1999-07-01 22:03:38 +00:00
itojun 5effafcaa6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
itojun 427639cdce - Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
  and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
itojun 74d3c214ec KAME/NetBSD 1.4 SNAP kit, dated 19990628.
NOTE: this branch (kame) is used just for refernce.  this may not compile
due to multiple reasons.
1999-06-28 06:36:47 +00:00
augustss 94b815050e Add powerhooks, i.e., the ability to register a function that will be
called when the machine does a suspend or resume.
XXX Will go away when Jason's kevents come to life.
1999-06-26 08:25:25 +00:00
marc cd040ea927 s/mkdir/mkdir -p/, since not all the parents of $(FONTDIR) are
guaranteed to exist.
1999-06-23 04:29:28 +00:00
augustss 0e64bf3732 Add ess to isa attachment. The entry is commented out for the moment since
I'm not sure how accurate the probe is.
1999-06-18 20:27:59 +00:00
thorpej 88f71d9598 Update a uvm_map_pageable() call that I forgot to commit previously. 1999-06-18 06:32:05 +00:00
cgd 7c02d93c04 nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
I'll do what I can to make new ones soon.  8-)
1999-06-18 04:49:24 +00:00
thorpej 0288ffb53a pmap_change_wiring() -> pmap_unwire(). 1999-06-17 19:23:20 +00:00
thorpej f5a527bb4e Remove pmap_pageable(); no pmap implements it, and it is not really useful,
because pmap_enter()/pmap_change_wiring() (soon to be pmap_unwire())
communicate the information in greater detail.
1999-06-17 18:21:21 +00:00
thorpej e2442268e9 PMAP_NEW is no longer optional on the i386; the old pmap's page table
allocation strategy no longer works at all.  Move pmap.new.* to pmap.*.

To read the revision history of PMAP_NEW up until this merge, use cvs
rlog of the old pmap.new.* files.
1999-06-17 00:12:10 +00:00
kim c867e93fae Pickup changes from ../biosboot/Makefile and add .PATH so that source
files are found.  Now this compiles ok (have yet to run the blocks).
1999-06-13 17:21:18 +00:00
christos 2cfd9ef718 Synchronize with GENERIC 1999-06-09 01:47:14 +00:00
thorpej 2c35c7bd03 Only declare block major numbers for devices which can be the root device. 1999-06-07 20:31:27 +00:00
thorpej d76e7b8c6d Don't pass a nam2blk around at all; just have setroot() and friends reference
dev_name2blk[] directly.  Addresses PR #7622 (ITOH Yasufumi), although
in a different way.
1999-06-07 20:16:08 +00:00
mrg 03c5c00056 remove "EXPERIMENTAL" comment from this file, as it does not exist elsewhere in this directory. 1999-06-07 14:43:34 +00:00
thorpej a0faadd7d2 Make traces work with ELF kernels. 1999-06-07 07:00:07 +00:00
dante 600618d977 Add adv0 entry under ISA SCSI controllers 1999-06-06 17:37:03 +00:00
thorpej c5e6001ff8 Don't built most of the PCVT utilities; they're not really useful anymore,
now that we're trying to deprecate PCVT.

XXX Leave the fonts and font editor for now.
1999-06-04 18:47:33 +00:00
thorpej beb8d06638 Generally update the comment above vunmapbuf(). 1999-05-26 22:19:33 +00:00
thorpej a2d06a4721 Generally update the comment above the vmapbuf() implementations. 1999-05-26 22:07:36 +00:00
thorpej 2580d306ab Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.
1999-05-26 19:16:28 +00:00
thorpej ed0aee1190 When mapping bus space, we can use pmap_kenter_pa(), since the pages
are never managed.
1999-05-25 23:30:27 +00:00
thorpej 774ceea703 msgbuf doesn't need VM_PROT_EXEC, biostramp does. 1999-05-25 23:19:00 +00:00
thorpej 5832084eaf bus_dmamem_map() maps DMA safe memory, which is usually one or more
managed pages, into KVA space.  Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().

Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE.  We do this for a couple of reasons:

	(1) On systems that have H/W mod/ref attributes, the hardware
	    may not be able to track mod/ref done by a bus master.

	(2) On systems that have to do mod/ref emulation, this prevents
	    a mod/ref page fault from potentially happening while in an
	    interrupt context, which can be problematic.

This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!

Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.
1999-05-25 23:14:03 +00:00
thorpej f197609d93 Add some DIAGNOSTIC checks for inconsistent use of pmap_enter/pmap_kremove. 1999-05-25 20:33:33 +00:00
thorpej f311a1c308 Make a slight modification of pmap_growkernel() -- it now returns the
end of the mappable kernel virtual address space.  Previously, it would
get called more often than necessary, because the caller only new what
was requested.

Also, export uvm_maxkaddr so that uvm_pageboot_alloc() can grow the
kernel pmap if necessary, as well.  Note that pmap_growkernel() must
now be able to handle being called before pmap_init().
1999-05-20 23:03:23 +00:00
lukem e4a87aa1a9 * convert to using MI allocsys(). most ports were using an MD allocsys(),
although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes
1999-05-20 08:21:42 +00:00
bouyer cbd39e5f67 Document the 'wdc at isa' flags. 1999-05-19 14:41:54 +00:00
drochner 19e64942a2 don't printf(NULL), not even in the DEBUG case
(It doesn't hurt the bootloader, but the junk output hangs my serial
console.)
1999-05-15 15:42:23 +00:00
thorpej c10a926030 Allow the caller to specify a stack for the child process. If NULL,
the child inherits the stack pointer from the parent (traditional
behavior).  Like the signal stack, the stack area is secified as
a low address and a size; machine-dependent code accounts for stack
direction.

This is required for clone(2).
1999-05-13 21:58:32 +00:00
thorpej c256b94b6e Oops, forgot to commit this file. 1999-05-12 21:21:48 +00:00
thorpej 5f3034757f Move the user-set LDT out of the PCB and into the pmap. Applications
which set the LDT and share VM space (e.g. new versions of WINE) expect
the LDT to be logically coupled to the address space.  Use the new pmap_fork()
interface to copy non-shared user-set LDTs when the address space is forked.
1999-05-12 19:28:28 +00:00
drochner 998ac16bb7 add some casts for gcc -Wall, from David Rankin
<drankin@bohemians.lexington.ky.us> per PR port-i386/7554
1999-05-11 19:57:05 +00:00
drochner 6959d736df make sure the ./machine link is created early enough for specific targets,
fixes PR port-i386/7553 by David Rankin <drankin@bohemians.lexington.ky.us>
1999-05-11 19:43:09 +00:00
drochner fe310dd299 include <lib/libkern/libkern.h> for intoa()/inet_ntoa() 1999-05-07 16:19:27 +00:00
christos 3cc711cbe0 Well we are functional enough to install from an NTFS volume, so why knot? 1999-05-06 17:12:26 +00:00
christos d8463798c9 Add NTFS 1999-05-06 16:29:26 +00:00
christos 0c7931917a recognize ntfs mbr fsid 1999-05-06 15:45:51 +00:00
drochner 4479f71283 sync diagnostic printouts in opms_pckbc_probe() with dev/pckbc/psm.c:
pmsprobe() -- most notably: put a part inside #ifdef DEBUG
1999-05-06 09:10:51 +00:00
chs 9528f61050 in vmapbuf(), use pmap_enter() instead of poking PTEs directly. 1999-05-05 05:25:32 +00:00
chs 39a7993efb update resident_count and wired_count properly in pmap_kenter_*()
and pmap_kremove().
1999-05-05 05:21:13 +00:00
fvdl 4fbaa0b272 Restrict "out of CHS range" check to harddisks. 1999-05-04 17:14:55 +00:00
christos c596c324e3 Define __builtin_*() for lint 1999-05-03 16:30:31 +00:00
fvdl ec559f688b Be more careful with saving registers around the "out of CHS range" check. 1999-05-02 12:44:34 +00:00
drochner e26f758e69 ed* -> we*, PR port-i386/7503 by Andrew Gillham <gillhaa@ghost.whirlpool.com> 1999-05-01 17:19:52 +00:00
christos 57e4b98787 - Use the proper multiply instructions so that we don't get truncated. 1999-04-30 15:31:17 +00:00
fvdl 48003b2c88 Only use int13 extensions if the sectors can not be read through the
older CHS interface. This works around stupid BIOSs who report that
int13 extensions are present and functional, but fail when you actually
use them. Like Adaptec SCSI BIOSs.
1999-04-28 23:24:42 +00:00
christos 4f8814a98c Fix tyop 1999-04-28 10:58:10 +00:00
christos c5ec77e01b use new loadfile 1999-04-28 09:14:22 +00:00
christos 5317a4673a Use new loadfile 1999-04-28 09:14:07 +00:00
christos a030d021a7 Use new loadfile.c 1999-04-28 09:13:51 +00:00
christos 0766a607d4 MD defines for the MI loadfile 1999-04-28 09:10:07 +00:00
thorpej b8073b401b Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
abs 0d2cfcdb5a Update vanity config 1999-04-26 18:30:45 +00:00
simonb 5d8b1ef3e4 g/c REAL_CLISTS. 1999-04-25 02:56:26 +00:00
drochner ca053f4364 remove an "unmodified" so that the copyright notice will hopefully match
pk's "BSD-style (clauses: 2; no acknowledgements)" pattern
1999-04-22 10:27:16 +00:00
fvdl 3fb6f009a4 Handle instruction prefixes (skip them, in our case). 1999-04-22 00:23:33 +00:00
mycroft 0e603b27d7 +LFS +MFS 1999-04-19 16:57:06 +00:00
drochner 2519327c42 oops - forgot half of it 1999-04-17 16:52:06 +00:00
drochner 9684e9a613 disable the "aria" sound board per default until the problems with its
"probe" functions are solved (gives false positives)
1999-04-17 16:50:26 +00:00
drochner 982c55e22c another nit in error handling: don't try to print out a NULL filename
(which means "use default" and is dealt with properly by open())
1999-04-17 11:18:36 +00:00
explorer 6f9b6a2f1a remove BUFPAGES= line for now (commented out) 1999-04-16 01:11:22 +00:00
explorer 927ebf9949 sync to the currently installed kernel 1999-04-16 01:09:25 +00:00
christos 30ffed2123 remove bogus prototype for getopt 1999-04-14 15:22:46 +00:00
christos c70b4ad2a1 Add prototype for getsecs 1999-04-14 15:22:07 +00:00
drochner 1ecbaaabf8 this is now sys/lib/libsa/ufs_ls.c 1999-04-14 13:31:49 +00:00
hpeyerl 6cde76c6fe fix some copyright foo. 1999-04-14 12:56:33 +00:00
drochner e4841b3edf add prototypes, use ufs_ls() from mi libsa,
compile with -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
1999-04-14 11:53:43 +00:00
drochner 312eae2bf4 add prototypes, use ufs_ls() from mi libsa, revert to "void main()",
compile with -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
1999-04-14 11:45:39 +00:00
drochner dd0ed4267b add prototype 1999-04-14 11:19:23 +00:00
drochner 2d1e6a1f5a add prototypes, slight formatting changes 1999-04-14 11:17:04 +00:00
drochner ffd8d7c6d0 add prototypes
being here, format ala KNF
1999-04-14 10:57:59 +00:00
pk b13e5d1469 Quote "AS IS" as in the majority of Carnegy Mellon notices. 1999-04-12 20:38:17 +00:00
chs f455dd6596 add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
drochner 7d5e1f9211 fix error handling: almost all errors were ignored 1999-04-09 20:12:57 +00:00
bad 201401bd9a Enable the TROPIC based shared RAM Token-Ring drivers. 1999-04-09 18:17:35 +00:00
drochner 552f55e726 Call bi_getbiosgeom() after loadfile() returned successfully. This avoids
a memory leak if loadfile() gets an error.
1999-04-08 18:21:15 +00:00
drochner 31ca52f98b add "poll" entry to i4btel device 1999-04-08 12:10:53 +00:00
drochner 0ead10436a define VERSIONFILE, from John Darrow <John.P.Darrow@wheaton.edu>
per PR port-i386/7336
1999-04-08 10:23:23 +00:00
pk c40eb1cd97 Fix a pasto in copyright text which has been procreating like rabbits.. 1999-04-06 20:09:18 +00:00
drochner 5d86b86370 #ifdef out the last change for the branch 1999-04-01 19:36:09 +00:00
drochner 3497f157fd On serious boot errors, dont lock the machine. Instead, wait 3 seconds
and call the ROM BASIC vector. This might behave differently on different
machines, but normally it allows to reboot without power-cycling.
1999-04-01 17:07:54 +00:00
drochner 99a84ef740 sync to changed biosdisk interface again 1999-04-01 16:09:49 +00:00
thorpej 2f832df90c Do proc0's TSS and LDT initialization at the end of configure() (i.e.
once the FPU has been attached).
1999-04-01 00:37:50 +00:00
thorpej 967b8c433c Don't call configure() from cpu_startup(). 1999-04-01 00:17:45 +00:00
mycroft 94590084d7 Enable rnd. 1999-03-31 14:16:20 +00:00
fvdl fb1b0e7a0b Shifting ecx without explicit prefix in real mode won't work. 1999-03-30 22:35:21 +00:00
drochner 17de7b2576 adapt to set_geometry change: we don't have to correct the geometry
anymore
1999-03-30 17:58:05 +00:00
drochner 62031ff978 fix some disk handling problems introduced in the last commits:
-read retries were botched, use the right sector count
-read-ahead buffer was effectively unused
-concentrate the handling of the weird BIOS geometry report at one place
-fallback for old floppies left cylinder count uninitialized
1999-03-30 17:55:48 +00:00
drochner 4feae58ec1 sync to changed geometry handling in the standalone code 1999-03-30 11:51:35 +00:00
bouyer 20cfe22bc8 Needs to include opt_bufcache.h. 1999-03-30 08:21:54 +00:00
perry 55adc1e16e remove BROKEN_LPT_DELAY option 1999-03-29 21:51:25 +00:00
drochner 2396efd0b7 add a commented out WS_KERNEL_BG option, closes PR port-i386/7271
by Charlie Root <root@theprovider.com>
1999-03-29 19:57:34 +00:00
mycroft 7c33a450ba Recalculate delaytab[]. We need to round up in case we were on the edge of a
tick and the hardware mysteriously responds fast enough that the delay ends
up being 1 tick short.  An unlikely event, but just in case anything actually
relies on this...
1999-03-29 17:54:34 +00:00
mycroft c40877ff9d delay(): For small values of n, use a fixed lookup table. Also use
rtclock_tval as the limit, since this is what we actually programmed the chip
for.
1999-03-29 17:33:29 +00:00
fvdl 1e3ed49ca1 Remove debugging printf. 1999-03-28 19:55:51 +00:00
fvdl b815df141c Only use the total number of sectors information field from the EDD if
the bit is set that declares the geometry valid. The spec itself says
that this field isn't covered by the "geometry valid" bit, but at
least one BIOS implements it that way.
1999-03-28 19:41:27 +00:00
abs 67f5f8fa08 Another vanity config 1999-03-28 01:09:48 +00:00
nathanw 95b075be1e Remove commented-out uaudio declaration;
we don't actually have support for it.
1999-03-27 23:27:57 +00:00
kleink 65dd935211 Typo. 1999-03-27 11:42:12 +00:00
explorer f644cf78d0 remove EXPERIMENTAL comment, enable /dev/random in GENERIC kernels 1999-03-27 07:04:35 +00:00
mycroft 93768384ee Fix a bug in pmap_collect_pv(), even though nobody currently uses it:
When we put a page on the collection list, we must subtract NPVPPG from the
total free count: one for each pv_entry that's free in that page, and one for
each free pv_entry in other pages that we're going to eat by moving the ones
in the page being collected.
1999-03-27 05:57:02 +00:00
mycroft 12d512bbb7 Oops; vm_offset_t -> vaddr_t. 1999-03-27 00:30:06 +00:00
mycroft 9c6b797796 Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.
1999-03-26 23:41:25 +00:00
perry b476609d5f fix typo 1999-03-25 17:06:38 +00:00
explorer bdf33ae1f0 add entry for lmc* at pci? 1999-03-25 03:35:26 +00:00
perry ea0f7990a8 add a (commented out) BROKEN_LPT_DELAY 1999-03-25 02:22:21 +00:00
tron 1eb060a0ba Remove remaining "ifdef UVM" checks. 1999-03-24 11:23:45 +00:00
tron e1d80e2d51 Don't include "opt_uvm.h" any more. 1999-03-24 11:21:47 +00:00
mrg ca5f9685bb clean up kernel/config files files for machVM lossage. 1999-03-24 06:06:09 +00:00
mrg d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
drochner 76fa1751fe Add a macro to check for sufficient pointer alignment in bus.h context,
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
bad b5348881aa Add tcic PCMCIA controller. 1999-03-23 20:08:55 +00:00
bad 23d89d53f3 config(8) glue for the TCIC PCMCIA backend. 1999-03-23 20:07:39 +00:00
christos f36829e285 s/DEBUG/LDT_DEBUG/ This got too verbose when running Wine. 1999-03-23 15:48:19 +00:00
bad fee4297b62 Add IBM and 3COM ISA Token-Ring drivers. 1999-03-22 23:43:30 +00:00
mycroft 6ada3afd8b Reject variant numbers which are too large (so that a new version of isapnpdevs
with an old driver will not lose mysteriously).
1999-03-22 10:00:09 +00:00
mycroft 2cccf3bd4a Update callers of isapnp_devmatch(). 1999-03-22 09:44:12 +00:00
mycroft a873302b17 Add a SonicVibes. 1999-03-22 07:51:28 +00:00
mycroft 2fba0f875b More sound cards for testing... 1999-03-22 07:50:29 +00:00
thorpej a77ccfe460 Garbage-collect. 1999-03-20 01:40:25 +00:00
cgd d324c9f2f6 pull isa_machdep.h in from machine/ instead of from $(MACHINE)/isa/ 1999-03-19 05:13:16 +00:00
cgd 37d2c204a7 Moved to arch/i386/include/isa_machdep.h,v 1999-03-19 05:02:11 +00:00
cgd 7b5fe5e402 Moved from arch/i386/isa/isa_machdep.h,v 1999-03-19 05:02:10 +00:00
cgd d00106ee06 if you pull in isavar.h, you don't need isa_machdep.h. 1999-03-19 04:58:45 +00:00
cgd 6d371b2fa9 Moved to arch/i386/include/pci_machdep.h,v 1999-03-19 03:36:14 +00:00
cgd 2ee7faa480 Moved from arch/i386/pci/pci_machdep.h,v 1999-03-19 03:36:13 +00:00
cgd d6d5f13551 Moved to arch/i386/include/isapnp_machdep.h,v 1999-03-19 03:18:54 +00:00
cgd 6d9d9e12e2 Moved from arch/i386/isa/isapnp_machdep.h,v 1999-03-19 03:18:53 +00:00
cgd a12c0565ed Moved from ../eisa/eisa_machdep.h,v 1999-03-19 02:56:59 +00:00
cgd 67ba5610b9 Moved to eisa_machdep.h,v 1999-03-19 02:56:58 +00:00
chs ab7269f62a if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
and print a message about it.  this will be used to recover from
out-of-swap conditions.
1999-03-18 04:56:01 +00:00
sommerfe bc533621ed defopt MINIROOTSIZE 1999-03-17 18:59:21 +00:00
sommerfe a9a3ed03ee Build kernels -Os. Appears to generate smaller code than -O1 or -O2 1999-03-17 18:40:30 +00:00
chs 1edbaac92c when destroying a pmap, unlock it before freeing it to keep LOCKDEBUG happy. 1999-03-17 01:34:04 +00:00
drochner 937ba3a513 add prototype WSDISPLAY_DEFAULTSCREENS option, improve wscons related
comments
1999-03-16 16:31:54 +00:00
christos 16f90e3d2a Enable EXEC_ELF32... It only adds 4K to the kernel, and makes an ELF
install floppy to work (from Andrew Gillham)
1999-03-15 07:22:18 +00:00
mycroft deab09f540 Only need one of vga_isa and vga_pci. 1999-03-14 10:34:18 +00:00
mycroft cac14a50bc Update to -current, switch to wscons. 1999-03-14 10:31:43 +00:00
sommerfe 82f8a7dee9 Turn off biosboot_ser until makefile issues get worked out.. 1999-03-14 05:50:38 +00:00
fvdl 35d517b9f1 Hack to make biosboot_ser work.
XXX The makefile structure in src/sys/arch/i386/stand is very bad.
1999-03-14 00:04:06 +00:00
tron 32e0182e15 $(OBJS) -> ${OBJS} 1999-03-13 20:58:25 +00:00
perry 21ce7a4f23 nuke ovbcopy reference 1999-03-12 23:08:11 +00:00
sommerfe fc47c0c742 Also build serial bootblocks by default, installing into
/usr/mdec/biosboot_ser.sym
Change Makefile.booters to not assume `version' file is in source directory.
1999-03-12 16:07:57 +00:00
sommerfe df8e0043e3 Fix compile warning in getcomaddr() 1999-03-12 04:14:37 +00:00
fvdl 8371eb7a88 Clean up the BIOS disk matching code a bit (better naming, one structure
and sysctl to export to userland). Also, only use total number of sectors
given in the extended parameters if the physical chs geometry is
marked invalid. Hopefully fixes a problem where BIOSs would not correctly
fill in this field.
1999-03-12 01:01:41 +00:00
fvdl bc38bb1052 Declare nhd to be unsigned char, as we're only copying one byte to it.
From Matthias Drochner.
1999-03-11 12:34:36 +00:00
sommerfe 2ec4ac3d65 Increase default MSGBUFSIZE due to more and chattier drivers in -current 1999-03-10 18:02:22 +00:00
drochner b477d700f2 add support for 3c905b TX 1999-03-10 10:37:38 +00:00
mycroft 5ec1e5beab Add an ieee.h. 1999-03-10 08:13:01 +00:00
fvdl bdb770bc34 Create a list of native disks too, and make it retrievable. It contains
all matching BIOS disks per entry, so that we have complete match info.
Enable the matching code.
1999-03-10 01:28:24 +00:00
fvdl 06d4fb4d0d While at it, add K6-III recognition too. 1999-03-09 16:05:34 +00:00
fvdl 70a96d92da Recognize Pentium III 1999-03-09 15:48:15 +00:00
drochner 743494ae88 add a function to pass the "memory map" ie the outcome of INT15/0xe820,
to the kernel
1999-03-08 21:44:48 +00:00
drochner 6fb323453d add a definition to pass the "memory map", ie the outcome of INT15/0xe820,
to the kernel
1999-03-08 21:42:48 +00:00
drochner 0cb921e61e change the interface for getmementry() to hold the iterator in an
argument and to return success or error explicitely.
Now we can "error" and "end of list" cleanly; this should fix the
problem where the last list element was ignored.
1999-03-08 21:38:28 +00:00
fvdl 1cd0b43e81 bios disk matching needs more work for a few cases. Disable until
I have time to look at it further.
1999-03-08 01:26:00 +00:00
fvdl eed16d934a Match BIOS <-> NetBSD devices after autoconf. Match by a checksum
and a partition table compare. Define a sysctl to get the info
out.
1999-03-08 00:12:28 +00:00
fvdl 5db52a7a6b Add some fields to the already defined, but unused, bootinfo structure
for BIOS geometry. Define CPU_BIOS_GEOM sysctl value in cpu.h.
1999-03-08 00:10:42 +00:00
fvdl f8e221511b * query BIOS geometry information, possibly using the int 13 extensions.
* pass them on to the kernel
* print a message if the 2nd stage bootloader returns (i.e. fails)
  instead of just hanging.
1999-03-08 00:09:24 +00:00
he e9f9c1625e Add handling of OMAGIC files, where exec header isn't part of the
text segment.  Needed for woring installboot, since biosboot.sym is OMAGIC.
1999-03-07 20:03:44 +00:00
fvdl 5a32d4bb8b Make bootblocks really work this time. From Christos. 1999-03-05 20:33:08 +00:00
mycroft 69d7e3bcdc Nuke wdc at isapnp. 1999-03-05 07:33:42 +00:00
christos 4b494ca224 Fix the symbol reading problem... 1999-03-04 20:46:23 +00:00
simonb 1397fd691b fix spel. 1999-03-01 12:46:16 +00:00
explorer 3ebb419571 Update to slightly altered rnd_attach_source() api 1999-02-28 17:08:05 +00:00
drochner d57c7b76ca replace ENTRY() label in data segment which broke the code completely 1999-02-28 11:45:44 +00:00
scottr d32ed292af defopt BUFCACHE and BUFPAGES. 1999-02-27 06:39:34 +00:00
christos e13149e632 Don't need to stick the interpreter at 0 anymore, it relocates itself. 1999-02-25 10:18:04 +00:00
drochner 9e8c9e9594 -pull in exec.c, needed since loadfile.c
-don't pull in tftp.c anymore, it's in libsa now
1999-02-24 19:38:17 +00:00