Commit Graph

2463 Commits

Author SHA1 Message Date
mycroft
0903ac5cd2 Do an async_update() iff the output buffer is empty.
Make the IOPL handling #ifdef COMPAT_1[01].
1996-03-05 12:57:30 +00:00
mycroft
0c231d0e0d Update the CRT start registers asynchronously. 1996-03-05 11:38:31 +00:00
thorpej
85720fdf67 Add a blurb about the EXTMEM_SIZE option to the example kernels, disabled
by default.
1996-03-05 01:32:11 +00:00
thorpej
b65bdb63d6 Add an EXTMEM_SIZE option to set the size of extended memory on systems
that lie about it.  Deals with PRs #1319 and #1831.
1996-03-05 01:28:51 +00:00
thorpej
ae5cde21bd RCS id police. 1996-03-05 00:37:24 +00:00
cgd
c8487c701e reorganize mapping register definitions 1996-03-04 19:30:50 +00:00
cgd
18ec26aa21 add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
execpt without quotes.  meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
mycroft
7f1ba9f148 Update for changed DMA interface. 1996-03-04 04:01:03 +00:00
cgd
fedca4f133 Attach isa, eisa, and pci to mainbus now, rather than root. The i386
now has a single device tree (rather than a forest).  Also, attach
EISA only if it's present, and attach in order: PCI, EISA, ISA (most
specific to least specific).
1996-03-04 03:25:48 +00:00
jtk
8c395495bf set ia->ia_iosize to 0 so that the probe code doesn't spit out lots of
gunk.
1996-03-03 04:12:48 +00:00
cgd
1c5d7babe5 Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE. 1996-03-01 23:30:08 +00:00
scottr
9aebe01038 Add newlines to CPU class notices 1996-03-01 21:49:49 +00:00
cgd
3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
cgd
379b6eadf4 pci devices are now specified like "foo* at pci? dev ? function ?". also,
add support for PPB's and secondary PCI busses, where appropriate.
1996-02-28 02:02:29 +00:00
cgd
0bcfb3598b update for adjustments to ISA and PCI 'files' files 1996-02-28 01:58:25 +00:00
cgd
df03361e4b update for new method of attaching isa/pci busses 1996-02-28 01:54:44 +00:00
cgd
591c6fd2cd make PCI bus match/attach and sub-device attachment machine-independent.
(remove that code from this file.)
1996-02-28 01:50:02 +00:00
cgd
f5f5831829 make ISA bus match/attach and sub-device attachment machine-independent.
(remove that code from this file.)
1996-02-28 01:49:35 +00:00
jtc
bfbc5fb90c Copyright assigned to the NetBSD Foundation 1996-02-27 22:39:39 +00:00
jtc
8bd51c47b9 Copyright assigned to the NetBSD Foundation 1996-02-27 22:28:09 +00:00
cgd
e4a3b7650e oops; remove extraneous #if/#endif pair 1996-02-27 00:15:23 +00:00
cgd
570976f77c change previously-useless config_rootfound() for the EISA bus so that
it provides what the new MI EISA code expects.
1996-02-27 00:13:45 +00:00
cgd
188cda224f Trim some comments relating to EISA configuration that are no longer relevant. 1996-02-27 00:08:29 +00:00
cgd
440b3cbc94 update for new EISA autoconfiguration: there can now be an eisa0 at root,
and ahb attaches to eisa, not isa.  Also, ahb* at eisa?... is now supported,
so you can get all ahb's configured easily.
1996-02-27 00:06:42 +00:00
mycroft
2ce52ae489 Define build programs with ?=', so they can be overridden with makeoptions'. 1996-02-26 02:53:20 +00:00
scottr
5be12dbfc8 Move the speaker driver to 'new' config. (Closes PR 1361, from Rafal Boni) 1996-02-22 05:53:16 +00:00
mycroft
2b9c3e10b9 Add SCSI scanner device. 1996-02-18 22:57:54 +00:00
mycroft
f9596bfc43 Use the same timing hacks as in pccons for the keyboard. 1996-02-18 22:49:12 +00:00
mycroft
0e335a2150 Move the DDB initialization later. 1996-02-18 22:44:27 +00:00
mycroft
d1bae2700f Add the obligatory copyright notice. 1996-02-18 13:01:05 +00:00
christos
4d234d08d8 Move pmap_page_index declaration to <vm/pmap.h> 1996-02-12 21:12:29 +00:00
christos
47058c3660 make pmap_page_index() return a signed int. 1996-02-12 21:11:20 +00:00
thorpej
d586688437 In fdcretry(), set the state to DOSEEK rather than SEEKCOMPLETE before
retrying the operation.  Fixes disk_unbusy() imbalance and really seems
like the right thing to do in case it was the seek that failed.  Takes
care of PR #1985.  Patch from John F. Woods <jfw@jfwhome.funhouse.com>
1996-02-10 18:31:13 +00:00
christos
45aca3f276 fix _insque and _remque declarations 1996-02-10 00:51:52 +00:00
mycroft
45e308cd51 Be more verbose when a CPU class is not configured. 1996-02-09 17:15:27 +00:00
mycroft
db070d4271 Enforce the hierarchy: imp > tty > net > bio, to cater to lame PC devices. 1996-02-09 02:26:00 +00:00
mycroft
753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
jtc
7eb02879b7 Simplify -I's in CFLAGS 1996-02-05 07:42:54 +00:00
christos
684b37e33e vm prototype changes. 1996-02-05 01:59:12 +00:00
mycroft
b6f55847e5 Fix #includes. 1996-02-03 01:05:36 +00:00
mycroft
5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft
dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft
9db20bf150 Don't define _KERNEL here. 1996-02-02 19:42:08 +00:00
mycroft
9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
mycroft
f3bbe0e453 Turn off a few things. 1996-02-02 09:09:39 +00:00
mycroft
fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft
88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
mycroft
b050cf3d61 Allocate the GDT area in a different way. 1996-01-31 03:13:07 +00:00
scottr
25879b675b Resolve return type conflict for microtime(); closes PR #1835. 1996-01-30 23:15:01 +00:00
mycroft
467bd97c79 Make a small attempt to deal better with VM86 mode in GDB. 1996-01-13 06:14:44 +00:00
thorpej
e422ebca1a Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.
1996-01-13 02:05:14 +00:00
thorpej
43b4486bb3 Balance calls to disk_busy() and disk_unbusy() properly to avoid
dk_busy < 0 panics.  Count seeks.
1996-01-12 00:19:29 +00:00
mycroft
8ee41dc35a Make sure some registers are accessed in 16-bit mode. 1996-01-08 22:23:35 +00:00
mycroft
d74e9d43ab Also reset %fs and %gs when delivering a signal. 1996-01-08 20:12:20 +00:00
mycroft
47e444bf50 Attempt to deal with wrap-around problems in 16-bit segments. 1996-01-08 19:11:00 +00:00
mycroft
7149c5ff14 VM86 support, by John Kohl, touched up a bit by me. 1996-01-08 13:51:30 +00:00
thorpej
5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
mycroft
87a8c945ba Hand-code softintr() to deal with GCC braindamage. 1996-01-07 21:48:35 +00:00
mycroft
ba1353b388 Stylistic changes. 1996-01-07 21:29:47 +00:00
mycroft
0696821419 Deal with GCC's dead code elimination being suboptimal. 1996-01-07 03:59:28 +00:00
mycroft
41f463bf2c Modify splraise() to allow better optimization. 1996-01-07 02:40:44 +00:00
mycroft
946507cf4d Make cpl, ipending, and astpending volatile. 1996-01-07 02:08:28 +00:00
mycroft
3afeb8d6b0 Make sure interrupts are disabled before jumping to a resume point, to prevent
races.
1996-01-07 02:07:07 +00:00
mycroft
f149f4f6f1 Make FPU faults use INTRFASTEXIT, and remove INTREXIT. 1996-01-07 02:04:31 +00:00
mycroft
9e6f4ae58a Remove unused macros. 1996-01-07 02:03:20 +00:00
mycroft
19914b6e10 Build the frame for recursive interrupts manually, and make sure to disable
interrupts to avoid races.
1996-01-07 02:02:28 +00:00
mycroft
7f6d0eaf9b Put #includes in the right order. 1996-01-07 02:00:31 +00:00
mycroft
96e91cd027 Don't save caller-saved registers. 1996-01-06 22:15:29 +00:00
jtc
2fce159ff8 Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.
1996-01-04 22:21:33 +00:00
thorpej
17eb6e2bc1 Move the old-style disk instrumentation "structures" to a central location
(sys/kern/subr_disk.c) and note that they should/will be deperecated.
1995-12-28 19:16:31 +00:00
perry
74e1e47aeb fixed my own pr 1758 -- the floppy drive motor was not being turned off
at halt time, especially if a floppy was mounted. Added a shutdown hook
to turn off the motor. Per a request by mycroft, the cookie from the hook
is saved in a new member I added to the fd_softc structure.
1995-12-28 15:48:57 +00:00
mycroft
883fb8f0ca Copy md_flags during fork. 1995-12-26 16:59:47 +00:00
mycroft
cd8fe86bcb Make the type of __builtin_va_list a long. 1995-12-26 01:16:24 +00:00
mycroft
0c00214737 Use __builtin_va_alist. 1995-12-26 00:19:09 +00:00
mycroft
fa887628d8 Stylistic changes. 1995-12-25 23:15:31 +00:00
mycroft
d1de691efb Stylistic changes. 1995-12-25 22:22:02 +00:00
mycroft
0199e002ad Update for GCC 2.7, and fix bugs. 1995-12-25 21:41:08 +00:00
neil
c93761e267 Added ccd pseudo device. 1995-12-24 18:00:29 +00:00
mycroft
3da4b2a160 The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft
1ca89b7f91 Enable paging of the user area. 1995-12-24 01:07:32 +00:00
neil
6d9d4bb77a Added ccd pseudo-device. 1995-12-24 00:22:20 +00:00
perry
765bb97fe9 fix my own pr 1762, in which it was noted that boot2 used a busy loop
to time out the boot prompt.  Now uses a usleep() routine that calls
the BIOS and the functionality is separate from gets(). Timeout is
#defined to 5 seconds. Also did some minor cleanup in preparation to
prototype/ANSIfy everything.
1995-12-23 17:21:23 +00:00
mycroft
d2e4a2de4b Minor cleanup. 1995-12-21 01:08:59 +00:00
mycroft
6698d239ca Use the U suffix to insure unsigned values are treated as such. 1995-12-20 23:30:57 +00:00
mycroft
e28d5e9168 Use #pragma only for 2.0 <= GCC < 2.7. 1995-12-20 18:09:24 +00:00
mycroft
e09cc4cf9d Use alternate structure packing method added in GCC 2.7. 1995-12-20 17:58:55 +00:00
mycroft
dab27d0c21 Use explicit integer sizes. Adjust constraints for GCC 2.7.2. 1995-12-20 07:53:09 +00:00
ghudson
132f58bfc5 Call doshutdownhooks() before asking for a halt keypress. 1995-12-14 18:31:20 +00:00
tls
9ddf72180a add 3C590 support to all generic and install kernels 1995-12-14 01:09:59 +00:00
cgd
0585b39d85 use pcvt, with PCVT_NSCREENS=1 and PCVT_24LINESDEF. 1995-12-12 01:52:39 +00:00
mycroft
3a0fa6f8ee NISA --> NISADMA, per Neil McRae. 1995-12-09 07:39:02 +00:00
mycroft
498f9ca1e7 Include /dev/io as one of the `kmem' devices. 1995-12-09 05:53:00 +00:00
mycroft
76813521bb Return 0 in the child, not the parent pid. 1995-12-09 05:00:27 +00:00
mycroft
0e0ac5ed68 cpu_fork() now returns void. 1995-12-09 04:37:23 +00:00
jtc
0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
mycroft
e2baea19f3 Make sure vt_coldinit() is called before vt_coldmalloc(). 1995-11-26 21:01:16 +00:00
jtc
ce0b404f4e fixup copyright notice before the release 1995-11-17 06:47:27 +00:00
cgd
e9ef628234 don't link against libkern, so that boot blocks will work properly.
(pulled down from 1.1 release branch.)
1995-11-16 22:38:16 +00:00
christos
c0aaa86553 Add a config line for 3c590 ethernet cards 1995-11-10 19:34:54 +00:00
fvdl
051bb183e3 Same as in 1.1 branch. 1995-11-09 08:40:51 +00:00
hpeyerl
5d67fa8cb9 Taking out the trash. 1995-10-31 18:03:39 +00:00
tls
20fd1b6a7f Start to sort out install kernel size and bt/aha issues. Will be revised. 1995-10-28 04:06:21 +00:00
tls
488b27678f The INSTALL kernel is broken and will be replaced by split INSTALLAHA/INSTALLBT. 1995-10-28 03:55:10 +00:00
mycroft
baf5b9b139 Fix oversight in last change; some BIOSes leave junk in %fs and %gs that must
be cleared.  Pointed by Alasdair Baird.
1995-10-24 16:27:54 +00:00
jtc
1fa962ddd0 netbsd.warped.com aka. {ftp,sup}.netbsd.org 1995-10-20 21:24:37 +00:00
mycroft
61d3ef1018 Fix small oversight. 1995-10-15 22:09:45 +00:00
mycroft
c3779c515d Fix typos. 1995-10-15 05:58:44 +00:00
mycroft
5a227363fd Fix problem reported by r_friedl@informatik.uni-kl.de; when LDT is resized,
the wrong amount of memory is freed.
1995-10-15 05:48:08 +00:00
mycroft
e964003409 Rename some variables for consistency. 1995-10-15 05:43:49 +00:00
mycroft
e8011301bf Style police. 1995-10-15 04:18:27 +00:00
fvdl
6ce6eef6d8 child_return broke Linux fork() 1995-10-14 14:06:16 +00:00
mycroft
086845d5d3 Move the initialization of proc0's TSS and LDT to the end of cpu_startup(),
and switch to dynamically allocating the TSS.
1995-10-12 17:56:36 +00:00
mycroft
50f83bdbdf Maintain a free list. 1995-10-11 23:39:08 +00:00
mycroft
2765bc7b44 Go back to statically allocating the GDT entries for proc0. 1995-10-11 19:32:31 +00:00
mycroft
059cb84d53 Fix typo. Also, remove diagnostic in svr4_sys_sysarch(). 1995-10-11 17:04:11 +00:00
mycroft
ddbde6d166 Remove reference to dead variable. 1995-10-11 06:24:28 +00:00
mycroft
72805df917 Various changes from John Kohl and me:
Map kernel stacks only at unique addresses.
Use one TSS per process.
Add sysarch calls for modifying IOPL and the I/O permission bitmap.
Add a compacting GDT entry allocator, for TSS and LDT selectors.
Enable modifying %fs and %gs with PT_SETREGS.
Sanitize various bits of code.
1995-10-11 04:19:29 +00:00
mycroft
28484180c7 Fix minor oversight. 1995-10-10 18:27:25 +00:00
mycroft
eb44441b87 Pull in microcode dependencies. Remove -fno-builtin. 1995-10-10 05:58:00 +00:00
mycroft
5d9ff18d18 Switch to user code and data selectors in the GDT while handling signals. 1995-10-10 04:54:18 +00:00
mycroft
25f53a986f Add USERMODE() and KERNELMODE() macros, and use them. 1995-10-10 04:45:03 +00:00
mycroft
4fd4545646 Fix #include misordering. 1995-10-10 01:40:13 +00:00
mycroft
37758b3f84 Minor change. 1995-10-10 01:30:25 +00:00
mycroft
090f48526e Add ahc and COMPAT_FREEBSD. 1995-10-10 01:29:15 +00:00
mycroft
2dd293d3c3 Add hooks for COMPAT_FREEBSD, from Noriyuki Soda. 1995-10-10 01:26:36 +00:00
mycroft
0ad97bc5c9 FreeBSD binary compatibility module, from Noriyuki Soda. 1995-10-10 01:22:31 +00:00
mycroft
8096b83664 Eliminate soft segment descriptors; instead use a functional interface for
creating segment descriptors.  Add the duplicate system call gate used by
BSD/OS 2.0 executables.  Prototype setsegment() and setgate(), and fix a bogon
caught by this.
1995-10-09 06:34:11 +00:00
thorpej
28b46fc9ec Update vtrace() for prototype changes and renaming changes. 1995-10-09 04:00:24 +00:00
fvdl
81d650570f Implement the KDGKBMODE ioctl for Linux (possible with pcvt 3.32). 1995-10-08 22:45:20 +00:00
jtc
9ba33c87cc Update makefile to handle the fact that keycap.5 was moved out of man5
into this directory.
1995-10-08 21:59:43 +00:00
jtc
df99cef0ac Patch from Frank van der Linden to allow kernels with pcvt but without
XCONSOLE to compile.  I've been told that this patch has been sent to
Helmuth.
1995-10-08 21:57:39 +00:00
jtc
95f29581c3 Remove files that have been removed from or renamed in the current pcvt sources 1995-10-07 23:25:09 +00:00
jtc
be0a951c76 Update our Makefile.inc.
Remove various OS-specific Makefile.inc templates.
1995-10-07 21:51:42 +00:00
jtc
d9789d4225 Overlay our pcvt with pcvt 3.32 sources. All of our fixes have been
incorporated into the master sources, so it is unnecessary to resolve
all the conflicts that would occur if we let CVS "merge" the versions.
1995-10-07 21:43:25 +00:00
jtc
68b7d2aca6 import pcvt 3.32 1995-10-07 21:11:27 +00:00
jtc
652374b8ca import pcvt 3.32 1995-10-07 21:10:55 +00:00
jtc
81c0777f62 import pcvt 3.32 1995-10-07 21:09:43 +00:00
mycroft
245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
mycroft
037949ced9 Undo accidential deletions in last commit. 1995-10-06 07:12:42 +00:00
mycroft
f2d15e5b48 Remove unneeded input operands to fnsave(), fnstcw(), and fnstsw(). 1995-10-05 23:06:15 +00:00
mycroft
45dc3570ec Use ISA_IPL_TTY, to fix race conditions. 1995-10-05 22:06:47 +00:00
mycroft
ec30c873ea Switch the AUX_ENABLE and AUX_DISABLE flags, per Mathias Engan. 1995-10-05 14:12:21 +00:00
mycroft
4a17d4a861 Undo accidental deletions in last commit. 1995-10-03 20:18:58 +00:00
thorpej
bca85a86b1 Compile the kernel with -fno-builtin. 1995-09-19 23:25:29 +00:00
thorpej
7d7396c414 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:53:47 +00:00
jtc
864f186a4e Use MAN instead of MAN8 (although it doesn't matter here because vgaio
is neither built nor installed).
1995-09-16 15:52:38 +00:00
jtc
6e9c7ee5a8 Use MAN instead of MAN3 and MAN5 1995-09-16 15:49:40 +00:00
jtc
ee21163cab moved up one level in directory structure 1995-09-16 15:47:27 +00:00
hpeyerl
8acf48ade5 update comment to include Etherexpress. 1995-09-14 12:46:42 +00:00
fvdl
c08d930690 Get address of buffer right when returning from graphics mode. 1995-09-10 10:45:16 +00:00
fvdl
43279db68d Fix PR #1445 (incorrect ifdef/else/endif), from Bill Sommerfeld via
John Kohl.
1995-09-08 07:57:15 +00:00
fvdl
df2f99818a Get notion of VT number right. 1995-09-07 21:55:43 +00:00
fvdl
1b8c8d3906 Fix broken VT_WAITACTIVE ioctl (from pcvt 3.30, needed for Linux
svgalib binaries).
1995-09-04 22:33:21 +00:00
mycroft
b8b9c4c9ff Make sure vt_coldinit() is always called before vt_coldmalloc().
Remove pcvt_kbd_raw.
1995-09-03 01:20:33 +00:00
mycroft
29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
fvdl
10101d52ba Only define some vars (one of pcvt-specific type) when pcvt is configured.
Fixes PR #1424 (from Mike Long)
1995-08-31 09:33:10 +00:00
fvdl
0324e91dae Remove VT-switch disabling hack now that pcvt handles this. 1995-08-30 00:32:51 +00:00
fvdl
9fc36ab1a4 * Don't scroll by setting the CRT start address when in graphics mode, and
make sure to use the right buffer (fixed in the same way as pcvt 3.30)
* Maintain keyboard state locally per VT. This makes sense, enables switches
  between VTs with different kbd states, and aids Linux VT emulation.
1995-08-30 00:29:09 +00:00
fvdl
cf13e627f4 Undo unintended parts of previous change. 1995-08-27 21:30:00 +00:00
fvdl
a084a7d3dd Remove bogus check in ioctl(fd, VT_RELDISP, VT_FALSE). Needed for
Linux VT emul stuff. This fix was already applied in pcvt 3.30
1995-08-27 20:59:00 +00:00
fvdl
9ca2821d22 A couple of definitions added for previous changes. 1995-08-27 20:57:18 +00:00
fvdl
040bcc367d Add some yucky code to emulate Linux VTs well enough to make svgalib
stuff work reasonably well.
1995-08-27 20:56:38 +00:00
ghudson
bbfb3349c0 Call doshutdownhooks() before resetting the CPU. This should probably
be in architecture-independent code.
1995-08-24 19:16:47 +00:00
jtc
0da9212559 recommanded -> recommended; PR #1395 1995-08-22 19:43:06 +00:00
mycroft
e11b690b80 Require drives 2 and 3 to be explicitly configured. 1995-08-21 06:56:14 +00:00
thorpej
66dcd8fd69 Add entries for the ccd. 1995-08-17 17:40:42 +00:00
chuck
72d03ec724 TDR config update (from Theo). 1995-08-14 20:32:38 +00:00
mycroft
96d6db2c1a Export bsd_to_ibcs2_sig[], and use it.
Nuke ancient vmtime().
1995-08-14 02:27:30 +00:00
mycroft
9b899c17cd Export bsd_to_linux_sig[], and use it. 1995-08-14 02:19:08 +00:00
mycroft
0a601c87ba Rename two functions. 1995-08-14 02:13:42 +00:00
mycroft
1e69f23205 Export bsd_to_svr4_sig[], and use it. 1995-08-14 02:07:57 +00:00
mycroft
baaaba9bc5 Rearrange #includes. 1995-08-14 01:38:24 +00:00
mycroft
9440382c88 svr4_stack_t --> svr4_sigaltstack 1995-08-14 01:13:29 +00:00
mycroft
36a94a031a Lock the process in core before operating on it. 1995-08-13 09:05:51 +00:00
mycroft
c8e379015c Fix sysbeep() for the case of pitch == 0, and garbage collect a useless
variable.
1995-08-13 04:06:29 +00:00
mycroft
54c9a1df90 Replace splnet() with splsoftnet(). Add splnet(). 1995-08-13 00:22:40 +00:00
mycroft
3ee59cd771 Fix oversight in previous change; spl*() must also block
software interrupts.
1995-08-09 01:47:37 +00:00
mycroft
bc59b73733 Merge npxinit() into npxdna(), and remove duplicated code. 1995-08-06 19:48:58 +00:00
mycroft
b725d8b30b Update the comment describing how this works. 1995-08-06 19:31:49 +00:00
mycroft
3c20501d57 Clear MDP_USEDFPU on exec. Set it in process_write_fpregs() unconditionally,
for the benefit of the emulator.
1995-08-06 19:01:14 +00:00
mycroft
ef504e724d Fix oversight in previous. 1995-08-06 18:05:22 +00:00
mycroft
764d69bf8e Make process_write_fpregs() safe. 1995-08-06 18:02:22 +00:00
mycroft
d730fead60 Eliminate direct uses of curproc in npxdna() and npxinit(). 1995-08-06 17:59:10 +00:00
mycroft
0affdcf4d8 Pass curproc to npxdna(). 1995-08-06 17:54:35 +00:00
mycroft
ccdf6ac81b Change le0 iosiz. 1995-08-06 16:14:29 +00:00
mycroft
a326c49adf Stop using cr0 to flag that the FPU has not been used. 1995-08-06 06:05:28 +00:00
mycroft
ce7cc0c18a Move the `used fpu' flag into mdproc, so it can be referenced when a process
is swapped out.  Implement process_{read,write}_fpregs.
1995-08-06 05:32:59 +00:00
cgd
0d41f58879 fix a pasto 1995-07-27 21:39:59 +00:00
mycroft
1dbdf20df6 le can also be on PCI. 1995-07-27 04:40:55 +00:00
mycroft
fc427776a7 Add stuff for I/O mapping. 1995-07-27 00:29:02 +00:00
mycroft
9c4ef77945 Remove extraneous makeoptions declarations. 1995-07-24 03:33:12 +00:00
mycroft
6dfa7461a5 Add -Werror. 1995-07-24 03:30:07 +00:00
brezak
693043d786 GUS audio driver from John Kohl. 1995-07-19 19:58:09 +00:00
cgd
479fb9e45b add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
mycroft
7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
mycroft
9fbf4d6f47 Make hardware interrupts always block all software interrupts. 1995-07-04 07:09:53 +00:00
paulus
f3285c2e0e Add call to pppintr in softnet. 1995-07-04 07:00:47 +00:00
mycroft
2dadf2f086 Simplify some conditionals. 1995-07-02 16:10:40 +00:00
cgd
2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
cgd
a921a720f7 no more serial console. There aren't enough free serial ports on non-crash
machines in my office!
1995-06-28 03:48:48 +00:00