Commit Graph

3260 Commits

Author SHA1 Message Date
cgd
9b6471a47d remove a few unnecessary and incorrect pointer checks. 1998-03-17 21:27:25 +00:00
chuck
6282e70846 print more info for a diagnostic panic 1998-03-17 19:15:07 +00:00
leo
6356561f35 Use bus-dma functions. Also make sure that dma will not use the bounce
buffers (Tested & requested by Noriyuki Soda).
1998-03-16 15:48:00 +00:00
chuck
b87759e7f2 bug fix: bring in-line with rest of uvm: use kernel_map for object offset
rather than kmem_map.   should fix PR#5129 reported by
	Lennart Augustsson.
1998-03-10 14:53:20 +00:00
mikel
7d4b078022 print proper invalid IRQ, from Heiko Rupp in PR 5128 1998-03-09 06:20:26 +00:00
drochner
84963f97b5 Move allocation and mapping of the page table page for "bioscall" from
locore to here.
1998-03-06 14:53:06 +00:00
drochner
25f48b177c Use NKPDE page table pages (instead of only one) for temporary mapping
in transition to relocated mode.
Remove preparation for "bioscall" identity mapping - it is in the way
and can be done later in init386().
Should solve the problem described in PR 4832 and 5102.
1998-03-06 14:51:36 +00:00
jtk
4fcd1c2cdd include <machine/vm86.h> if VM86 option defined 1998-03-06 04:12:56 +00:00
scottb
d24f809241 Added prototype for ibcs2_sendsig. 1998-03-05 05:23:49 +00:00
scottb
b8bb612601 Add ibcs2_sendsig function.
Add ibcs2_sigcode function to locore because we need to call our own
	version of sigreturn.
Add support for emul_ibcs2_xout (XENIX) structure because we need to emulate
	some syscalls differently.
1998-03-05 04:20:44 +00:00
cgd
8854631e5f add file declarations for MD pciide file.
add (temporary) device/file declarations for the MI PCI IDE controller
driver.  These are present here until the wdc declaration mess is
resolved, because until then they need to go into MD files files in
places where they play nice with the wdc declaration.
1998-03-04 06:40:29 +00:00
cgd
ccdea2d9c8 machine-dependent bits (for compat interrupt mapping) of PCI IDE driver. 1998-03-04 06:35:47 +00:00
cgd
9da165424c allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:57:00 +00:00
fvdl
25bc5ab033 Don't make simple_lock decls dependent on NCPU > 1, be consistent with
the rest of the kernel.
1998-03-02 18:06:32 +00:00
mikel
dfb1317f8a remove some lint; from Thorsten Frueauf in PR 5085.
also made one implicit int declaration explicit.
1998-03-02 06:20:16 +00:00
mikel
3119a26ccd s/CFLAGS/CPPFLAGS/ 1998-03-02 06:17:29 +00:00
fvdl
25a2f5ee46 Put #if NCPU > 1 around initialization of simple_locks too, to avoid
compile errors.
1998-03-01 23:19:01 +00:00
augustss
1918ca1e5b Change ie[01] to ef, ai, and ix so that these kernels can be used again. 1998-03-01 20:45:26 +00:00
fvdl
0485953099 Make this compile after the lite2 merge. 1998-03-01 13:22:55 +00:00
pk
32ad582965 Replace monolithic ie0' and ie1' driver by ef', ix', `ai' front-ends. 1998-02-27 23:57:31 +00:00
cgd
84fad9aba3 make it clear that the "old BSD partition ID!" message is a warning (by
prefacing it with "WARNING: ").
1998-02-27 18:57:40 +00:00
perry
edac6b7ff2 define kernel only inline static functions only #ifdef _KERNEL 1998-02-26 01:57:30 +00:00
perry
398e0f8c64 add /* LINTLIBRARY */ to supress lots of "unused function" warnings
from lint.
1998-02-25 22:36:45 +00:00
perry
1ed8ea9966 note second parm of sysarch() is now void *, + trivial KNF, etc. 1998-02-25 21:41:55 +00:00
perry
56c01cbd82 change second parm of sysarch() from char * to void * 1998-02-25 21:24:56 +00:00
drochner
3ee0e26f7d document 3c900 TPO support, add comments 1998-02-25 12:19:12 +00:00
drochner
41bbe0c360 3c900 TPO works too, as reported by Feico Dillema <dillema@acm.org>. 1998-02-25 12:15:49 +00:00
drochner
e225b4cbdd -check MBR signature before using MBR partition data
-add new FAT types and Linux EXT2 to the faked-up partition table
1998-02-22 14:48:27 +00:00
drochner
74b401ffd1 -correct misleading name and comment for MBR partition type 14
-add FAT32 and EXT2FS
1998-02-22 14:45:43 +00:00
mycroft
4b6d15532b Nuke random.s. 1998-02-22 08:21:33 +00:00
mycroft
5a22434af5 Remove this copy of bzero(). 1998-02-22 08:19:05 +00:00
mycroft
f118bc7042 Move to libkern. 1998-02-22 08:13:47 +00:00
mycroft
03f75a79ff Nuke the override of libkern SRCS from orbit. 1998-02-22 07:19:02 +00:00
christos
4e915f8681 PR/4950: Rene Hexel: Add id for Terratec EWS64 joystick 1998-02-21 13:19:14 +00:00
frueauf
5e3035adb1 include <unistd.h> for optarg/optind. 1998-02-20 09:19:11 +00:00
mycroft
7aad596fa6 Fix formatting glitch. 1998-02-19 23:21:33 +00:00
drochner
0587f7e6e7 add COMPAT_386BSD_MBRPART option 1998-02-19 14:21:57 +00:00
drochner
ce380ad936 enable "old partition ID" compatibility per default 1998-02-19 14:18:36 +00:00
drochner
ad33d83f8b Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
partition ID if the NetBSD ID was not found.
Cleanup, use definitions from <machine/disklabel.h>
1998-02-19 14:15:38 +00:00
drochner
411e77cac8 Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
partition ID if the NetBSD ID was not found.
1998-02-19 14:12:48 +00:00
drochner
7d1b6dbcbf -define new own partition ID for NetBSD (0xa9)
-protect structure definitions from inclusion in assembler files
1998-02-19 14:10:34 +00:00
drochner
b3019be867 Use an own NetBSD MBR partition type. Add compatibility code for fallback
to the old 386BSD ID (#ifdef COMPAT_386BSD_MBRPART).
basically from Duncan McEwan <duncan@MCS.VUW.AC.NZ>
1998-02-19 14:07:33 +00:00
thorpej
772da350d4 Disable the message buffer during crash dumps by clearing msgbufenabled,
not msgbufmapped.
1998-02-19 04:18:30 +00:00
perry
8486362eaf remove obsolete boot code -- we now use the code in stand/ 1998-02-18 19:23:23 +00:00
perry
3add465995 remove obsolete netboot code -- we now use the code in stand/ 1998-02-18 19:21:36 +00:00
mycroft
c525e48e35 Include correct information for long doubles (i387 extended precision). 1998-02-18 09:22:02 +00:00
thorpej
edbfcebb6a Fixup an inconsistency in the declaration of PTDpaddr, pointed out by
Chris Demetriou.
1998-02-18 03:04:40 +00:00
cgd
3bbb7f7d45 Move pmap_map() function definition to MD headers, as appropriate. It's
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
thorpej
b7d1ce7766 Switch the i386 port to the new kernel crash dump format. 1998-02-18 01:09:25 +00:00
thorpej
8354e68508 Remove "class" declarations, and add "devclass" declarations where
appropriate.  Fix several inconsistencies between device class and
attributes.  Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
drochner
07fdccb3a4 Document new WD80x3 option. 1998-02-16 11:41:14 +00:00
drochner
509f891bd0 -Completely reset the card in EtherStop(), otherwise the next
open can fail.
-Disable interrupts in the mask register - EP_W0_RESOURCE_CFG is not
  sufficient for PCI cards.
1998-02-16 11:26:36 +00:00
drochner
b8cdacb8d5 Redo standalone driver for WD8013 / SMC Ultra boards.
(The old one was buggy.)
Frontend / backend splitup and most code taken from sys/dev/ic/dp8390.c
and sys/dev/isa/if_we.c.
1998-02-16 11:21:59 +00:00
mrg
7d9acb9bb6 add a commented out PMAP_NEW. 1998-02-13 04:12:33 +00:00
thorpej
cb9500aac0 Fix for defopt'd UVM and PMAP_NEW. 1998-02-11 03:05:35 +00:00
thorpej
e9017a5ab3 Use kernel_map in bus_dmamem_{map,free}(). 1998-02-11 03:03:52 +00:00
thorpej
30aa56fc66 Use M_DMAMAP where appropriate. 1998-02-11 01:37:51 +00:00
mrg
d90485202c - add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
scottb
2ee5fa7f17 iBCS2 code cleanup
added support for ELF binaries
added support for ELF shared libs via mmap code borrowed from svr4_misc.c
incorporated a few XENIX patches from Andreas Wrede <andreas@planix.com>
1998-02-09 02:30:42 +00:00
thorpej
1305ecbe62 Allow callers of uvm_km_suballoc() to specify where the base of the
submap _must_ begin, by adding a "fixed" boolean argument.
1998-02-08 06:15:53 +00:00
thorpej
9eb328b495 RCS ID police. 1998-02-06 22:26:13 +00:00
thorpej
2d1cb11d5b Allow userland access to pd_entry_t and pt_entry_t, like the old pte.h
used to do.  Also, RCS ID police.
1998-02-06 21:58:05 +00:00
cgd
82bb6682da re-indent the EX_FAST change (try to keep a given argument on one line,
so that it's more apparent what the code is going).
1998-02-06 19:51:54 +00:00
mrg
30a584067f remove paging options from kernel files. 1998-02-06 11:20:27 +00:00
thorpej
c0c3c30be3 When allocating bus space in bus_space_alloc(), use EX_FAST to find
the first fit in the map.  The previous behavior violated the principle
of least surprise (especially annoying when you're debugging space allocation
problems).  Suggested by Chris Demetriou.
1998-02-06 10:06:51 +00:00
thorpej
374b6294f9 Back out previous change. Until the default VM system is UVM, these
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:19:23 +00:00
thorpej
10a076eee1 Kernel for zhadum.netbsd.org, soon-to-be CVS server. 1998-02-06 08:08:56 +00:00
thorpej
424e1858c4 Use __BROKEN_INDIRECT_CONFIG where appropriate. 1998-02-06 08:00:52 +00:00
thorpej
b16f0280e3 Add pceb at pci and {eisa,isa} at pceb attachments. 1998-02-06 07:53:26 +00:00
thorpej
9c9a25df29 Don't attach an EISA bus if it's already been configured. 1998-02-06 07:52:13 +00:00
thorpej
cacadb7fbe Erg, typi. 1998-02-06 07:51:46 +00:00
thorpej
fce12f0081 Notify other machine-dependent code that the EISA bus has been configured
in the attach hook.
1998-02-06 07:51:11 +00:00
thorpej
e56b1d0b2d Add an autoconfig node for PCI-EISA bridges. Configures EISA and ISA
bridges via callback.
1998-02-06 07:50:07 +00:00
mrg
6bcccb887c oops, forgot to add these new files 1998-02-06 07:41:33 +00:00
mrg
29e93b8bea add the i386 MD portions for UVM. 1998-02-06 07:21:42 +00:00
thorpej
939995c0dc On the 486 and higher, actually make the bus mem space mapping noncacheable
if mapped with BUS_SPACE_CACHEABLE unset.
1998-02-06 05:35:16 +00:00
drochner
ac884fce95 Allow DELAY() to be called anytime:
-don't enable interrupts at the end of gettick(), restore the previous
 state instead
-start timer/counter 0 from delay() if necessary
-comment out "findcpuspeed()", it would clobber the timer again, and it
 is unused anyway
1998-02-05 19:59:54 +00:00
drochner
3f38ea4063 provide pushfl/popfl to C code 1998-02-05 19:53:52 +00:00
thorpej
8abe76d2f0 Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1 Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
and allow more than one synchronization operation to be specified in
a single call.  Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej
a7c5c1ef3c Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
thorpej
b7b27cb6e4 Back out a change that wasn't supposed to be in here. 1998-02-03 19:16:04 +00:00
mycroft
b5c132e4d2 Prototype __flt_rounds() consistently. 1998-02-03 01:26:20 +00:00
tron
56ba21e271 Add option "#options IPFILTER_LOG", fixes port-i386/4858. 1998-01-29 01:53:03 +00:00
bouyer
2edc21452a The name of cyrix's CPU family 6 model 0 is 6x86MX. Also set this name
for the default name.
1998-01-28 17:08:05 +00:00
thorpej
5d3fc3e8bc Implement bus_dmamap_load_mbuf(). 1998-01-27 03:31:54 +00:00
mycroft
1f21545d93 Correct an oversight in the startup changes that caused the wrong exception
to be reported in one case.
1998-01-24 15:50:42 +00:00
mycroft
8661bee5de Minor change. 1998-01-24 14:22:44 +00:00
mycroft
d664bf39b8 Add some comments about what the control words do. 1998-01-24 14:00:36 +00:00
mycroft
a963fe5864 Store the initial NPX control word appropriate for the emulation in the saved
FPU state, and use it when initializing the FPU on demand.
1998-01-24 13:19:46 +00:00
mycroft
a9a7cc88d1 Need foo_exec.h. 1998-01-24 12:45:16 +00:00
drochner
ae1a2006c5 -take over debugging printf format fixes from sys/lib/libsa/nfs.c rev.1.23
-make error reporting for mount working as in sys/lib/libsa/nfs.c
1998-01-24 12:43:09 +00:00
mycroft
8bd9717302 Add local versions of setregs(), so I can tweak some registers later. 1998-01-24 12:42:22 +00:00
mycroft
4b8a102fbb Fix process_{read,write}_fpregs(). 1998-01-24 12:11:15 +00:00
mycroft
d15d246d32 Add wdc* at isapnp?. 1998-01-23 20:42:34 +00:00
mycroft
c1d56d473f Add wdc* at pcmcia. 1998-01-23 01:16:03 +00:00
mycroft
22c1670658 Some rearrangement of the startup code:
* Move some of the memory bootstrapping and the DDB startup earlier.
* Always put the IDT and the initial GDT and LDT in a separate page.
* Various minor changes.
1998-01-23 00:44:02 +00:00
mycroft
c654cd6a87 Fix a bogon that flared up when XSERVER was defopted. 1998-01-22 20:55:48 +00:00
drochner
9219f22775 strchr.c disappeared from libkern, use index.c instead
(we can't control the libkern build as we want, but it works...)
1998-01-22 15:48:02 +00:00
thorpej
dd4cb910db Generate dependenices on the XSERVER option. 1998-01-22 01:16:23 +00:00