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
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
mycroft
1ca89b7f91
Enable paging of the user area.
1995-12-24 01:07:32 +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
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
2765bc7b44
Go back to statically allocating the GDT entries for proc0.
1995-10-11 19:32:31 +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
25f53a986f
Add USERMODE() and KERNELMODE() macros, and use them.
1995-10-10 04:45:03 +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
fvdl
9ca2821d22
A couple of definitions added for previous changes.
1995-08-27 20:57:18 +00:00
mycroft
54c9a1df90
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:22:40 +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
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
9fbf4d6f47
Make hardware interrupts always block all software interrupts.
1995-07-04 07:09:53 +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
db66a978e9
IdlePTD has been gone for a while. PTDpaddr now exists.
1995-06-26 13:25:29 +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
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
pk
a47021162b
Prototype sysarch(2) (Thorsten Lockert, PR#1096)
1995-06-05 19:36:23 +00:00
mycroft
4ea6427a03
Increase size of imask[]. Sigh.
1995-06-04 20:22:50 +00:00
mycroft
8bb190daa3
Add a separate IPL_IMP, used by splimp().
1995-06-04 08:29:41 +00:00
mycroft
d69f7885b7
Allow [nh]to[hn][ls]() to do constant folding.
1995-06-01 17:19:18 +00:00
jtc
8aa6c376b6
KERNEL -> _KERNEL
1995-05-11 16:52:54 +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
7a69a9c95b
Define i386_[gs]et_ldt_args here.
1995-05-06 19:19:57 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
mycroft
40b72cc7a2
Wrap NGDT and NLDT in parens.
1995-05-04 05:37:39 +00:00
mycroft
029176e96b
Add PCB_USEDFPU.
1995-05-03 00:08:19 +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
ae11bd216c
Remove historical garbage.
1995-05-01 08:14:25 +00:00
mycroft
5a7e987371
Make md_regs a pointer to a trapframe.
1995-05-01 07:56:20 +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
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
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