Commit Graph

80 Commits

Author SHA1 Message Date
cgd
fd9de878ef add NPTEPG back in. gdb wants it. Thanks to Rich Murphey for pointing it out. 1993-12-22 17:39:45 +00:00
cgd
d2ad7a00c2 should be 'struct reg' not 'struct regs' -- it's in reg.h, after all!
also, delete r_fs and r_gs; looking at the code and comments
describing/using this struct, they don't belong here
(though if support for them is ever put in here, they should be,
but for i486-en only...  how do you do that 'reasonably,' though?
interface issues...)
1993-12-22 12:57:24 +00:00
cgd
7fbfc4bac0 add (possibly iffy) definitions of PSL_USERSET and PSL_USERCLR,
"standard" PSL masks.
1993-12-22 12:56:08 +00:00
cgd
dced52af6c bump MAXSSIZ back down to 8M (from 256M, where charles put it).
execve() currently allocated MAXSSIZ of address space (AND PAGE TABLES)
for the stack.  until that's changed, and the stack-handling code is
updated to match, MAXSSIZ==256M will make execve() significantly slower
than MAXSSIZ==8M.
1993-12-22 12:30:59 +00:00
mycroft
6c32b87568 Remove two unused fields. 1993-12-21 09:47:45 +00:00
mycroft
0cd3f0fdd2 Remove some things which should not be here. 1993-12-20 09:08:11 +00:00
mycroft
de04e7e727 New, more complete version. 1993-12-20 09:07:22 +00:00
mycroft
2250fff236 Cleanup and garbage collection; nothing significant. From magnum branch. 1993-12-20 05:25:02 +00:00
mycroft
546d92cec9 Forgot to decrement these. 1993-12-19 07:54:52 +00:00
mycroft
c857af00dc Clean up trap handling and macroize interrupt entry and exit code. From
magnum branch.
1993-12-19 06:58:12 +00:00
mycroft
8b7ff01b9e Clean up deleted files. 1993-12-19 03:42:13 +00:00
mycroft
90b25c90a1 Cleanup from magnum branch. 1993-12-19 03:41:30 +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
mycroft
1cc1b73beb Cleanup of startup and signal handling code from magnum branch. 1993-12-15 09:31:29 +00:00
mycroft
fccc819b20 Fold in most of the magnum vm changes. 1993-12-14 05:31:17 +00:00
deraadt
9a48e42157 __386BSD__ -> __NetBSD__ 1993-12-07 12:51:58 +00:00
cgd
b26f063ecf add MACHINE_ARCH as i386 1993-12-04 02:04:31 +00:00
cgd
183fd1b02f cut down SHMMAXPGS (temporary) 1993-11-15 11:41:54 +00:00
cgd
4878a43c3d Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:21:59 +00:00
brezak
b92626678c Cleanup LDT/GDT defines 1993-10-26 15:53:54 +00:00
pk
14e6ea89aa Put definition of __LDPGSZ and `struct relocation_info' where they belong:
in <machine/exec.h>.
1993-10-18 09:46:56 +00:00
cgd
7b64280a28 patch from rod grimes:
Fix definitions to be in terms of a minimum number of constants by
using the SHIFT value as the basis for the other values, for example
instead of:
#define         NBPG            4096
#define         PGSHIFT         12
use:
#define         PGSHIFT         12
#define         NBPG            (1 << PGSHIFT)
1993-10-09 01:35:50 +00:00
andrew
ef83446787 Exports the pccons ioctls. 1993-09-28 03:26:17 +00:00
jtc
e7ecd24ac3 Do not provide quad constants if compiling in a strict ansi or a strict
posix environment.
1993-09-24 18:22:31 +00:00
brezak
4212e64961 Include sys/signal.h instead of machine/signal.h 1993-09-21 20:51:12 +00:00
brezak
90add535c9 Add tISP offset 1993-09-19 18:59:35 +00:00
brezak
a3e9fd6947 Add per-process LDT slot. 1993-09-19 18:59:17 +00:00
brezak
044ac34c5a Define signal frame here. 1993-09-19 18:58:39 +00:00
brezak
66f540572a Defines architecure dependant syscalls. 1993-09-19 18:58:14 +00:00
brezak
5413da0ff5 Machine dependant signal.h. Defines sigcontext and sig_atomic_t for i386 port. 1993-09-19 18:57:48 +00:00
cgd
0145d113ae get rid of the #ifndef KERNEL around the include of sys/cdefs.h,
a la 4.4, because it seriously breaks things otherwise, given
inclusion of endian.h in types.h
1993-09-17 01:44:08 +00:00
mycroft
a46b224043 Add constants for quad support. 1993-09-16 06:01:11 +00:00
mycroft
111aecd0a9 Add an #ifndef _POSIX_SOURCE... 1993-09-16 05:59:43 +00:00
brezak
cb098b5eb0 Changes to use a trap frame for syscalls. 1993-09-16 03:24:13 +00:00
mycroft
606544f20d Add _QUAD_HIGHWORD and _QUAD_LOWWORD for Torek's quad stuff. 1993-09-16 02:25:45 +00:00
jtc
c3f643cd8a Remove NEED_* defines, as they are now satisfied by libkern. 1993-09-11 00:16:40 +00:00
jtc
aabddf622f STDC -> __STDC__ 1993-09-08 16:55:17 +00:00
sef
b477be52eb Yet more of the ptrace() reorg; now ptrace_setregs() and ptrace_getregs()
are present, along with PT_GETREGS and PT_SETREGS ptrace commands.
1993-09-05 03:53:52 +00:00
cgd
59a008c712 change maximum stack size to 8M. 1993-09-04 22:21:28 +00:00
cgd
2403a33987 decouple MAXDSIZ and MAXSSIZ. MAXSSIZ now is 2M; shouldn't need more,
and saves time in exec.
1993-09-04 00:38:47 +00:00
cgd
c10d5aa752 get rid of bogus #define of resettodr(); now setting time actually works! 1993-09-02 02:10:35 +00:00
brezak
5bce7d4176 Add prototype for pmap_bootstrap(). 1993-08-30 18:09:57 +00:00
brezak
4aca3365cc i386 Machine dependant changes to handle non-contiguous memory. 1993-08-27 23:52:22 +00:00
jtc
c41b22b4f6 Removed CLK_TCK, it's value is not machine dependant.
It's supposed to be defined in <time.h>, not <limits.h> anyway.
1993-08-18 00:22:44 +00:00
jtc
35fdf4ad74 Declare ntohl, ntohs, htonl, and htons functions.
Use GCC's inline assembly iff we are using GCC.
Use bswap instruction if using gcc and defined(KERNEL) &&
	((defined(I486_CPU) || defined(I586_CPU)) && !defined(I386_CPU))
1993-08-16 18:30:35 +00:00
mycroft
63c0a317bb Add ALIGNBYTES for new fts(). 1993-08-03 21:51:10 +00:00
mycroft
aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
jtc
3643c134f1 Change "#endif FOO" to "#endif /* FOO */", to keep gcc -Wall, lint, etc.
from complaining about a trivial issue.
1993-07-29 21:42:19 +00:00
cgd
499f536ddc up default data size limit to 16M, like on freefall, so everything will
compile properly with gcc2.
1993-07-13 10:16:40 +00:00
cgd
4cbf5e04e2 update for better FP routines, from AT&T & elsewhere 1993-07-09 09:39:13 +00:00