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
cgd
c83f9c5568
remove unused cpu_exec() definitions. moved "broken swap" markers, for
...
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd
2b7d3527a2
define and set PTDpaddr (pyhs addr of kernel PTD)
1995-06-26 13:26:26 +00:00
cgd
db66a978e9
IdlePTD has been gone for a while. PTDpaddr now exists.
1995-06-26 13:25:29 +00:00
cgd
59e990a56b
check CMOS time against base time, for sanity. if CMOS time invalid,
...
warn user and user base time. if base time < 1985, warn the user.
if base time 5 or more years different than clock time, warn user,
and if it's base time that's greater, use it. (The latter case is
handy if one has a machine in which the CMOS battery is dead... I do.)
1995-06-26 10:14:05 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
c8858650b0
DEBUG -> FD_DEBUG, so this thing doesn't spew when used with options DEBUG
1995-06-26 05:47:40 +00:00
cgd
35bea7d1f4
use new-style block device dump functions. (most intelligence here now.)
1995-06-26 05:22:53 +00:00
cgd
5ccd187ba5
reserve VM to map pages being dumped
1995-06-26 05:21:58 +00:00
cgd
dd3e2df4a7
make dump stubs consistent. fix other piece of code to compile
...
properly with DEBUG; used bogus variable.
1995-06-26 05:20:40 +00:00
christos
e14fb59c60
Fix building of libkern that broke with yesterday's fixes
1995-06-26 03:24:17 +00:00
christos
a94817a5de
GENERIC: Add COMPAT_IBCS2 in too by default.
...
Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
so libraries can use the clean target too
- Add genassym to the clean targets
1995-06-24 20:39:40 +00:00
christos
fc741845e6
Stackgap_init() now takes an p->p_emul argument.
1995-06-24 20:36:28 +00:00
jtc
611c2dbdc8
fix typo
1995-06-23 01:33:43 +00:00
fvdl
1634acc3e4
Include file change.
1995-06-22 21:35:42 +00:00
jtc
55fbbc705d
Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif.
1995-06-20 20:45:22 +00:00
jtc
1d65cdd4ab
#include <sys/cdefs.h>.
...
Wrap __flt_rounds() declaration with __BEGIN_DECLS/__END_DECLS.
1995-06-20 20:32:22 +00:00
cgd
8b16cd6552
reenable kernel debugger; new location more amenable to tweaking.
1995-06-18 20:14:44 +00:00
cgd
3722386a41
use new pcireg.h macros
1995-06-18 02:36:41 +00:00
fvdl
ca120e393c
Do extra comparison against linux_elf emul struct pointer to see what
...
we are emulating (unfortunately).
1995-06-11 20:24:42 +00:00
cgd
e58dfa2a1a
make match/attach routines and cfdriver struct mi
1995-06-07 07:06:16 +00:00
pk
a47021162b
Prototype sysarch(2) (Thorsten Lockert, PR#1096)
1995-06-05 19:36:23 +00:00
mycroft
ee9e2e35fa
Increase the delay after pulsing the keyboard reset line.
1995-06-05 03:47:51 +00:00
mycroft
1922f9e648
Use the memory mapping set up by the BIOS.
1995-06-05 03:07:34 +00:00
mycroft
4ea6427a03
Increase size of imask[]. Sigh.
1995-06-04 20:22:50 +00:00
mycroft
bd99191320
IPL_IMP includes IPL_NET, IPL_BIO, and possibly IPL_TTY.
1995-06-04 08:32:24 +00:00
mycroft
8bb190daa3
Add a separate IPL_IMP, used by splimp().
1995-06-04 08:29:41 +00:00
mycroft
d4e9fde6e5
Handle most of the address fixups during bootstrap with a macro.
1995-06-02 18:14:04 +00:00
brezak
cfe5401c83
Integrate patch from Lon Willett that is part of release 3.20
1995-06-02 02:48:41 +00:00
mycroft
d69f7885b7
Allow [nh]to[hn][ls]() to do constant folding.
1995-06-01 17:19:18 +00:00
cgd
471cfd3fc5
define pcicd, pciattach() here now.
1995-05-23 03:43:58 +00:00
mycroft
5ea2d5e6a6
Clean up the FPU state more thoroughly on exec.
1995-05-18 18:59:16 +00:00
jtc
f90f8d10aa
Removing -DKERNEL, transition to _KERNEL has been completed
1995-05-16 22:24:17 +00:00
mycroft
f178e0996d
Sync these.
1995-05-16 14:58:44 +00:00
mycroft
565b3ad195
Put the address of the ps_strings structure in %ebx.
1995-05-16 14:30:47 +00:00
cgd
fc90442d14
add lots of vnds
1995-05-12 21:08:41 +00:00
mycroft
af73578e82
Map the source page of a copy read-only.
1995-05-12 20:57:22 +00:00
cgd
eb4cd26383
from the comments at the top of the file:
...
INSTALL -- somewhat generic kernel with a snowball's chance of
fitting on an install floppy.
This kernel MUST consist (for users' sanity) of a subset of
the GENERIC configuration. It also should support X reasonably
(though the SysV SHM extensions won't work).
To avoid a maintenance nightmare, this kernel consists of GENERIC
with missing options/devices/etc. REMOVED rather than commented
out. That makes it easy to diff agains GENERIC, to make sure that
it really is a subset of the functionality.
1995-05-12 03:19:51 +00:00
cgd
aeb93da3d7
Split FFS,QUOTA line, comment each individually.
...
Add 'options INSECURE' so that the GENERIC kernel is happy with
X's linear mapping.
1995-05-12 03:18:05 +00:00
jtc
8aa6c376b6
KERNEL -> _KERNEL
1995-05-11 16:52:54 +00:00
mycroft
af7265051f
The previous optimization only works for edge-triggered interrupts...
1995-05-08 18:00:20 +00:00
cgd
1c04650195
protect npxproc usage with #if NNPX. From Bob Baron <rvb@cs.cmu.edu>.
1995-05-07 21:07:17 +00:00
mycroft
dbaa7014ef
Turn off a debugging printf().
1995-05-07 03:27:37 +00:00
mycroft
8a50716192
Fix restore of %fs and %gs in linux_sigcode.
1995-05-07 03:16:16 +00:00
mycroft
4e9f66f9ca
Improve Linux signal emulation, and emulate the modify_ldt() call.
1995-05-07 02:59:30 +00:00
mycroft
6e02c4b647
Add a copy of the user code and data descriptors in the GDT.
1995-05-06 20:30:14 +00:00
mycroft
5c75c8b7ad
Use global definitions of i386_[gs]et_ldt_args.
1995-05-06 19:21:37 +00:00
mycroft
7a69a9c95b
Define i386_[gs]et_ldt_args here.
1995-05-06 19:19:57 +00:00
mycroft
e97a07b5a4
Add stub for linux_modify_ldt().
1995-05-06 18:17:15 +00:00
mycroft
524c9c7f2a
Use nvram.h.
1995-05-05 22:28:17 +00:00
mycroft
8fc6a61adc
Add definitions for NVRAM equipment byte.
1995-05-05 22:08:43 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
cgd
2e0e8fc49d
use the machine-independent definitions for the mc146818.
...
wrap the various uses of the chip (including the uses of the NVRAM on it)
around the new defintions, structures, and functions specified in the header.
1995-05-04 19:39:08 +00:00
cgd
7153343684
two cases to quiet the compiler. perhaps should be fixed differently.
1995-05-04 19:35:20 +00:00
mycroft
40b72cc7a2
Wrap NGDT and NLDT in parens.
1995-05-04 05:37:39 +00:00
mycroft
0175317fc3
If we decide to use IRQ 13, explicitly turn off CR0_NE to be sure.
1995-05-04 00:30:56 +00:00
mycroft
94f4346537
Update a comment to match that last change.
1995-05-04 00:20:40 +00:00
mycroft
f0a42753e4
npxinit() should not be called during autoconfig now. Watch for this
...
condition.
1995-05-04 00:16:40 +00:00
mycroft
e03a827a0a
Move some comments from before npxsave1() to before npxsave().
1995-05-04 00:00:25 +00:00
mycroft
bfef4c14c5
Slight rearrangement, to make the TS handling easier to follow.
1995-05-03 23:09:37 +00:00
mycroft
99224602b4
Only dump the FPU state if the process actually used the FPU.
1995-05-03 23:05:46 +00:00
mycroft
d23aebf3bb
Fix pccnpollc().
1995-05-03 20:46:32 +00:00
mycroft
6db4e1b58a
By default, don't frob the ICU masks here. The software masking should
...
be sufficient.
1995-05-03 14:31:35 +00:00
mycroft
f57d609a52
Use PCB_USEDFPU, and a small performance tweak.
1995-05-03 00:17:16 +00:00
mycroft
e772f7c5ef
Set PCB_USEDFPU.
1995-05-03 00:09:13 +00:00
mycroft
029176e96b
Add PCB_USEDFPU.
1995-05-03 00:08:19 +00:00
mycroft
73fead01fc
Fix typos.
1995-05-01 19:45:42 +00:00
mycroft
88f28c3996
Fix typo.
1995-05-01 14:19:14 +00:00
mycroft
8792c8e284
Save and restore %fs and %gs across signals.
1995-05-01 14:15:07 +00:00
mycroft
4eea138a48
Add sc_gs and sc_fs. Move sc_onstack and sc_mask to end.
1995-05-01 14:14:11 +00:00
mycroft
bbfcbb8483
Add VM86 segment registers to trapframe.
1995-05-01 14:13:26 +00:00
mycroft
cef0c43dee
Stylistic changes, and we don't need KERNEL any more.
1995-05-01 13:16:16 +00:00
mycroft
c55ef2fd64
Always reload the LDT iff we reallocated its storage.
1995-05-01 13:13:20 +00:00
mycroft
953e339aa0
Stylistic changes tp cpu_exit().
1995-05-01 13:09:43 +00:00
mycroft
f745c10020
Eliminate _gsel_tss and _default_ldt.
1995-05-01 13:02:24 +00:00
mycroft
e5d7ebde66
Update to match include files.
1995-05-01 11:07:40 +00:00
mycroft
0ea347bf51
Update for changes in segments.h.
1995-05-01 10:43:01 +00:00
mycroft
bce8e94dd2
Correct comments in gdt_segs[] and ldt_segs[] initializers.
1995-05-01 09:08:27 +00:00
mycroft
5d17674312
Remove IdlePTD.
1995-05-01 08:53:13 +00:00
mycroft
87b25c7f5c
Update to match include files. Eliminate _ucodesel, _udatasel, and IdlePTD.
1995-05-01 08:25:30 +00:00
mycroft
ae11bd216c
Remove historical garbage.
1995-05-01 08:14:25 +00:00
mycroft
17dd9534bf
Update to match include files. Eliminate _ucodesel, _udatasel, and IdlePTD.
1995-05-01 08:06:22 +00:00
mycroft
5a7e987371
Make md_regs a pointer to a trapframe.
1995-05-01 07:56:20 +00:00
mycroft
f32276958e
Use segments.h, and some other cleanup.
1995-05-01 07:55:21 +00:00
mycroft
33e0286648
Remove PCB_SAVEFPU.
1995-05-01 07:55:04 +00:00
mycroft
8b51849f9d
Make this includable from locore. Remove unused GDT and LDT slots.
1995-05-01 07:37:43 +00:00
mycroft
c2e46efab2
Rename ibcs2_sigflags to __spare, but leave the space for now.
1995-05-01 04:53:24 +00:00
mycroft
7688f4456e
Remove usages of ibcs_sigflags.
1995-05-01 04:50:28 +00:00
mycroft
92e9818c88
Expose idt[] here.
1995-05-01 04:49:51 +00:00
mycroft
b8d3de2758
Add pcb_cr0.
1995-05-01 04:49:28 +00:00
mycroft
17a5f987ba
Be more aggressive about lazy saving and initialization.
1995-05-01 04:47:43 +00:00
mycroft
f55c4a0a19
Another trivial optimization.
1995-05-01 01:24:04 +00:00
christos
0cd2332f66
sigcode is svr4_sigcode
1995-04-28 23:11:37 +00:00
cgd
0e59975fac
rename files files for new config/config.old naming
1995-04-28 08:19:12 +00:00
mycroft
a9313f09e4
Speed up handling of short and/or misaligned mbufs significantly. No change
...
in the `normal' cases.
1995-04-27 17:18:22 +00:00
mycroft
7dbfb9ead9
Macroize a few more things; suggested by Matt Green. Cast pointers to long,
...
not int. No functional differences.
1995-04-26 09:40:36 +00:00
mycroft
4c3aafc732
Fix typo in previous changes.
1995-04-26 00:00:23 +00:00
cgd
fab3d7b117
kill a bogus NOTREACHED, fix spacing
1995-04-24 06:24:19 +00:00
christos
c5f01c2a4c
Fixed comparison in SYS__syscall to be against sysent instead of
...
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +00:00
christos
de42a28a1b
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
...
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
mycroft
20cf41aa94
Clean this up a bit:
...
* Abstract the conditional for immediate port numbers, and make it always
false if not optimizing.
* Add some whitespace to the string functions to make them more readable.
1995-04-22 03:59:59 +00:00
mycroft
ca88acc618
Fix an oversight.
1995-04-22 01:25:41 +00:00
mycroft
fb82503a03
Fix some outdated comments.
1995-04-22 00:58:19 +00:00
mycroft
c78d8f5e0b
Replace btl with testl.
1995-04-22 00:54:21 +00:00
mycroft
4cd20dfe0a
Move some comments to more appropriate places.
1995-04-22 00:30:47 +00:00
mycroft
9dbd0e8627
Use vfs_shutdown().
1995-04-21 21:56:59 +00:00
mycroft
b4813fa24a
Alias delay() to DELAY() for mi code.
1995-04-21 21:56:01 +00:00
mycroft
b5eab728c1
Make this compile again.
1995-04-21 19:44:52 +00:00
mycroft
305ed29ba1
Remove profiling constants that are no longer needed.
1995-04-21 09:17:23 +00:00
mycroft
99a3edf2ea
Move cpu_reset() from vm_machdep.c to machdep.c, and make it more robust.
1995-04-21 09:15:23 +00:00
mycroft
30e61f6c45
Make RB_KBD work again.
1995-04-21 07:56:40 +00:00
mycroft
7d349f24fb
Clean up init386() a bit.
1995-04-21 07:53:52 +00:00
mycroft
e530f4d515
Remove 486-specific CR0 changes into identifycpu().
1995-04-21 06:43:18 +00:00
mycroft
e4ab9f94f9
Remove the (unused) extra mapping of the first 1MB. Undo the double-mapping
...
of the first 4MB earlier.
1995-04-21 06:23:51 +00:00
mycroft
8190c2e3e7
Clean up hole conversion functions a little.
1995-04-21 05:21:37 +00:00
mycroft
d3672cc33f
We need isa_machdep.h for now.
1995-04-21 05:10:02 +00:00
mycroft
d3971b501d
Remove relocation of Crtat from locore.
1995-04-21 04:51:30 +00:00
mycroft
0ded4e4007
pttty -> ptytty
1995-04-19 22:35:40 +00:00
mycroft
943618dbe5
Fix thinko in previous commit.
1995-04-19 22:08:08 +00:00
mycroft
8854e7193d
Remove d_reset, and change the uses of d_ttys as appropriate.
1995-04-19 19:22:15 +00:00
mycroft
53d73c77a5
Garbage collect #includes.
1995-04-19 19:10:35 +00:00
mycroft
5e398279f4
Using cloning specs for rtfps subdevices.
1995-04-19 19:08:52 +00:00
mycroft
1f599fe30b
Using cloning specs for ast subdevices.
1995-04-19 19:07:33 +00:00
mycroft
4c28b7cb87
Change needs-count' to
needs-flag'.
1995-04-19 19:02:54 +00:00
mycroft
aed68a1067
Implement pctty().
1995-04-19 18:33:27 +00:00
mycroft
b665ddf808
Implement pctty().
1995-04-19 18:10:47 +00:00
cgd
eb1375b9c2
fix my IPL level off-by-one. also, rename intr_disestablish to
...
isa_intr_disestablish like i meant to before.
1995-04-19 06:14:13 +00:00
cgd
19c27da954
comment out the scd major declaration
1995-04-19 02:54:12 +00:00
mycroft
6bb01cf7de
Remove deprecated md prober/probew/kernacc/useracc.
1995-04-19 01:17:11 +00:00
mycroft
82120d943b
Finish updating for new interrupt registration mechanism.
1995-04-18 02:25:18 +00:00
mycroft
8874fd61ca
Update to match generic ISA changes.
1995-04-18 00:59:53 +00:00
brezak
1b8667f0aa
Add config for PSS
1995-04-17 22:44:38 +00:00
cgd
15552a0e17
if_le conflicts with the Alpha; move description back to i386
1995-04-17 20:23:32 +00:00
cgd
6495969b94
use included files wherever possible.
1995-04-17 16:58:14 +00:00
cgd
8fe775c0de
useless, as of the new sound drivers.
1995-04-17 15:29:06 +00:00
cgd
dfeb819b45
move sound drivers to their proper homes.
1995-04-17 15:28:30 +00:00
cgd
cf1c3ea213
these belong in dev/isa; they're being moved there now.
1995-04-17 15:22:27 +00:00
cgd
c0caf19aac
oops; forgot to delete this with my ISA autoconfig changes earlier
1995-04-17 15:17:24 +00:00
cgd
8a640328ed
clean up several ISA device interfaces: autoconfiguration, header
...
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
cgd
236ef3f326
include PCI machine-independent files list
1995-04-17 07:45:29 +00:00
cgd
14d777dff7
allow most program names to be overridden. kill a bogus } in a comment, and
...
an unnecessary blank line.
1995-04-17 07:30:54 +00:00
cgd
5f2be04d8e
use CC="cc -Werror" for cc; kill bogus COMUNIT option
1995-04-17 07:23:50 +00:00
cgd
1b917f3802
use CC="cc -Werror" for cc
1995-04-17 07:23:34 +00:00
mycroft
865e910590
Remove extra EMUL_IBCS2 case.
1995-04-14 23:30:54 +00:00
mycroft
72adfee7f7
EMUL_IBCS2_ELF -> EMUL_SVR4; EMUL_IBCS2_{COFF,XOUT} -> EMUL_IBCS2
1995-04-13 20:48:14 +00:00