Commit Graph

3290 Commits

Author SHA1 Message Date
drochner dd457b5369 pull in new PC display headers
support "pcdisplay" console device
1998-05-28 16:56:26 +00:00
drochner dc8a7077ed Handle the i386/PMAP_NEW copyout() differently:
Don't try to avoid faults when the PTEs are checked. Set pcb_onfault
instead so that trapwrite() is called as if the PTE were RO.
This is faster than explicitely ckecking the PDEs - at least in the
majority of calls where the PT is already present.
Thanks to Stefan Grefen for input and testing.
1998-05-27 15:53:30 +00:00
kleink a97fc2f180 If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
drochner 480294be7d remove assumption about code aligment after "jmp"
(is not worth the possible confusion)
1998-05-24 12:04:23 +00:00
fvdl 27fea992a8 Add the newer PII (model 5) and newer AMD K6 (model 6,7) plus the
AMD K6-3D (model 8) to the cpu type table.
1998-05-21 23:34:40 +00:00
thorpej 2352dfea2b Make this compile with LOCKDEBUG. 1998-05-20 17:32:13 +00:00
drochner 6de27a7083 Make copyout() and Co. work with PMAP_NEW on real i386 processors.
PMAP_NEW doesn't fault in page table pages automatically on access to
PTmap[], so we have to check the PTD explicitely.
If a PTP is needed, call uvm_fault(). pmap_enter() will DTRT.
Move calculation of the index into PTmap[] inside the loop in copyoutstr()
(non-PMAP_NEW case). Page boundary crosses are rare, so this should save
some cycles in average.
1998-05-20 16:30:54 +00:00
augustss 796e91b2a7 Add ym (Yamaha OPL3-SA3) driver. 1998-05-20 16:25:06 +00:00
thorpej 89835ce0fd Correct a typo in some code that isn't yet used. 1998-05-19 22:09:00 +00:00
thorpej 6626878e7b It is no longer necessary for pmap_pinit() and pmap_release() to be
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
drochner 4153971158 Framework to test standalone code in a friedly user environment. 1998-05-15 17:07:14 +00:00
drochner a8857f05e8 Allow to use the code in user land test programs. 1998-05-15 16:38:53 +00:00
drochner 12d352b2f9 minor corrections 1998-05-14 18:34:11 +00:00
drochner 04682788a9 misc improvements:
-initialize errno to 0 before receiving
-minimal allowed packet size is 4 (empty data packet)
-Be nice to the TFTP server - tell it that the transfer is finished
  (additinal ACK at EOF, ERROR otherwise). Otherwise, it will linger
  around and retransmit. This can be left out (TFTP_NOTERMINATE) if we
  are really short on space.
1998-05-14 18:26:47 +00:00
drochner 2e9a412d43 allow to use from user space test programs 1998-05-14 18:17:44 +00:00
drochner 26d2f5e3b6 allow to access from user space test programs 1998-05-14 18:15:02 +00:00
kleink 687ea7404c Fix some arithmetics lossage on typeless pointers. 1998-05-08 16:55:15 +00:00
mycroft c85dd6f9e1 Fix botch in i386 copyoutstr() case. The index into the page table was
corrupted after the first page.  From Matthias Drochner.
1998-05-08 10:05:47 +00:00
drochner 2a3fff85f0 add RCS ID 1998-05-06 13:32:18 +00:00
chuck 7704d6d342 correct some addresses in the comment that i missed when
KERNBASE changed a while back (from Matthias Drochner)
1998-05-05 01:36:46 +00:00
thorpej 88e3ea0922 Use pci_bus_flags(). 1998-05-04 18:49:33 +00:00
thorpej c099eb3a4a Add a function, pci_bus_flags(), that determines which flags (for memory
and i/o enabled) should be passed to the primary PCI bus's autconfiguration
node.  Use this function to detect broken PCI-Host bridges, which have
problems with memory-mapped access.  Add the SIS 85C496 to this list.
1998-05-04 18:49:07 +00:00
thorpej 627388689b Whitespace. 1998-05-04 06:09:35 +00:00
drochner 8b49b1c0b1 Set console to polling mode before calling cngetc(). 1998-05-03 10:14:19 +00:00
augustss 7458164379 Add Ensoniq AudioPCI driver. 1998-05-01 22:00:37 +00:00
thorpej 1686aca01d Pull in opt_gateway.h as appropriate. 1998-04-29 23:11:00 +00:00
thorpej a6084492d9 Fix some whitespace. 1998-04-28 02:04:13 +00:00
kleink a53c1863fe Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
thorpej aefae6b463 Eliminate some needless indirection through ISA DMA front-end functions. 1998-04-27 00:21:57 +00:00
thorpej ff701f8abb Garbage-collect the DMA tag's "_cookie" member; it's not used for anything. 1998-04-26 22:37:20 +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
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
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
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
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
drochner 2aa1ce8196 VGA and spkr are now MI. 1998-04-15 21:27:47 +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
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
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
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
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