Commit Graph

31 Commits

Author SHA1 Message Date
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
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 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +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 b4813fa24a Alias delay() to DELAY() for mi code. 1995-04-21 21:56:01 +00:00
jtc 71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
cgd 022ee8f7fe new RCS ID format. 1994-10-27 04:14:23 +00:00
mycroft 470742fbc0 profile_tick() is no longer needed. 1994-06-14 19:37:39 +00:00
mycroft 65a32ed04c Add cpu_set_init_frame(). 1994-05-27 11:22:58 +00:00
cgd d158bd71a6 add cpu_swapin 1994-05-23 03:00:56 +00:00
cgd 7e860c9159 make cpu_wait a macro, and define cpu_coredump 1994-05-19 08:09:49 +00:00
cgd 2636f2c86a cpu-dependent sysctl structs 1994-05-07 00:53:14 +00:00
mycroft 62b418de75 Correct comment. 1994-05-06 12:23:10 +00:00
cgd a0a7429482 lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.
1994-05-05 05:35:42 +00:00
cgd 4bbabd8e7a Rename a lot of process flags. 1994-05-04 03:41:12 +00:00
mycroft 3f5e4f423f Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls.
Reorganize and clean up the relevant code.
1994-04-07 06:48:19 +00:00
mycroft beb5680d81 This is #included multiple times. 1994-04-03 22:36:41 +00:00
mycroft 917559fb12 Add `com' softintr. 1994-03-08 06:57:28 +00:00
mycroft ea13c12adc From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
jtc c3f643cd8a Remove NEED_* defines, as they are now satisfied by libkern. 1993-09-11 00:16:40 +00:00
cgd c10d5aa752 get rid of bogus #define of resettodr(); now setting time actually works! 1993-09-02 02:10:35 +00:00
jtc 2a6a498c49 Move my assembly versions of strlen and ffs into the kernel 1993-06-16 22:22:39 +00:00
cgd f813a8b341 add prototype for a function to be called from execve to check a_mid type 1993-06-03 01:31:15 +00:00
cgd 6738d12182 set things up so that the signal trampoline code is on the stack,
like it normally is in BSD systems.  still has a bit of hair...
1993-06-02 04:11:48 +00:00
cgd 253169d468 add "cpu classes" in addition to cpu names, put cpu names in table, along
with mapping to classes.  this is for upgraded cpu-id code coming "soon"
1993-05-21 12:23:31 +00:00
cgd 12fb16dc4b move cpu types out of assym.s and into cputypes.h
and have that file included by cpu.h and by locore.s
1993-05-21 11:06:07 +00:00
cgd cdcb81b16e hack on the uname "machine name" stuff for hopefully the last time.
now it uses MACHINE, as defined in param.h
1993-05-20 15:36:20 +00:00
cgd 62b2b3e2f9 clean up for new cpu stuff 1993-05-20 14:34:43 +00:00
cgd 99a13fab8d make uname stuff in init_main machine independent 1993-05-20 02:05:39 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00