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