thorpej
54a35a6019
Generate dependencies on the USER_LDT option.
1998-01-22 00:39:16 +00:00
thorpej
9ba18e2255
Generate dependencies on the MATH_EMULATE option.
1998-01-21 23:29:08 +00:00
thorpej
cf591e644b
Generate dependencies on the VM86 option.
1998-01-15 22:25:52 +00:00
bouyer
d45f82208d
Add a cpu_setup() function to "struct cpu_nocpuid_nameclass" and
...
"struct cpu_cpuid_family", so that we can have a cpu_setup function per
known cpu type. For now use it only for cyrix 6x86 to enable suspend-on-halt
and implement cyrix's workaround to the "coma bug".
1997-11-27 11:53:45 +00:00
drochner
b8a47d06da
Define "machdep.booted_kernel" for sysctl.
1997-09-20 12:40:25 +00:00
perry
19d153fc48
Nuke some options GENERIC residue.
1997-02-04 04:57:10 +00:00
fvdl
2775763610
Added types/definitions for changed CPU recognition code.
1996-12-03 23:54:54 +00:00
fvdl
c15f6d921f
Changes for NKPDE calculation from cgd.
...
- New variables: biosextmem, biosbasemem, nkpde
- Above can be set by using the options BIOSEXTMEM, BIOSBASEMEM,
and NKPDE respectively (EXTMEM_SIZE is now called BIOSEXTMEM).
When preset this way, they won't be filled in / calculated.
- Readable by sysctl using machdep.nkpde, machdep.biosbasemem
and machdep.biosextmem.
- nkpde is calculated as:
min(NKPDE_MAX, NKPDE_BASE + (biosextmem >> 10) * NKPDE_SCALE)
Where NKPDE_MAX is 31, NKPDE_BASE is 4, NKPDE_SCALE = 1.
1996-11-18 01:06:09 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
christos
59fdcbc7ad
Change the prototype of fillw from (int, caddr_t, size_t) to
...
(short, void *, size_t).
1996-05-05 19:29:26 +00:00
christos
dc3ce37d53
Add prototypes from other files.
1996-05-03 19:22:49 +00:00
mycroft
6424af4c10
Prototype delay().
1996-03-29 00:23:28 +00:00
mycroft
1ca89b7f91
Enable paging of the user area.
1995-12-24 01:07:32 +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
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