Commit Graph

2650 Commits

Author SHA1 Message Date
cgd
9c32bc786a make allproc be volatile, and cast things accordingly.
suggested by torek, because CSRG had problems with reordering
of assignments to allproc leading to strange panics from kernels
compiled with gcc2...
1993-09-15 22:30:32 +00:00
cgd
a3b397dd18 compile boot blocks with -O6. this makes them "fit". this is sick. 1993-09-15 22:17:54 +00:00
phil
4c44872dde Adding changes for the pc532 machine. The NO_SYMLINK is for compilation
under Minix on the pc532, which has no symlinks.
1993-09-15 21:15:19 +00:00
alm
22e4414792 test "0 " -eq 0 now evaluates to true.
It also does range checking.  These override J.T.'s patches.
1993-09-15 04:35:53 +00:00
jtc
74b68a49cf Fix grammar to eliminate support for unary minus expressions -- they
weren't supported, they aren't standard, and they caused expr to dump
core.
1993-09-14 22:45:57 +00:00
jtc
2eb08c94c4 POSIX.2 has changed getopt to return -1 instead of EOF (to decouple getopt()
from standard i/o).  This change is more pedantic than functional as EOF
is defined to be -1.
1993-09-14 22:37:24 +00:00
brezak
ff02097496 No need to lospecifiy load address at 1M, now the default for any kernel. 1993-09-14 20:01:19 +00:00
jtc
186047edaf Document isblank(). 1993-09-14 19:23:27 +00:00
mycroft
fd156a97fa New i386 code. 1993-09-14 17:28:06 +00:00
ws
019b759766 Fix a bug in local (non-NFS) directory reading 1993-09-14 13:13:45 +00:00
mycroft
40222e846f Fix from Noriyuki Soda <soda@sra.co.jp>:
recvmsg(2) always returns -1 with errno==EMSGSIZE, when trying
        to pass file descriptors through UNIX domain socket.
1993-09-14 03:35:08 +00:00
jtc
be9cb2234b Remove explicit declarations of isfoo() functions, because we fixed
ctype.h to declare the isfoo() functions.
Remove isblank, as our C library now provides it.
1993-09-14 01:17:46 +00:00
jtc
b82a25338b Implement C version of isblank. 1993-09-14 01:09:13 +00:00
jtc
a0c1ff159e Both space and tab are in the blank character class. 1993-09-14 01:08:38 +00:00
jtc
06c97b088e Added isblank() used by 4.4 and POSIX utilities like tr. 1993-09-14 01:07:41 +00:00
jtc
236d597f4d I forgot that someone may want to use a profiled libkern... 1993-09-13 21:01:09 +00:00
jtc
80c05334ec Allow libkern to be installed by a non-root user. 1993-09-13 19:53:18 +00:00
brezak
5823e758f1 Remove SYMTAB_SPACE from config so that boot symbols are used. 1993-09-13 18:19:26 +00:00
brezak
7d2eb9e6b6 Default LOAD_ADDRESS at 0xfe100000 (1M) 1993-09-13 15:28:23 +00:00
brezak
0c27d6751c Only output load address is using 'at'. 1993-09-13 15:27:38 +00:00
brezak
b119f3ec4f Add MACHINE_NONCONTIG option 1993-09-13 14:22:42 +00:00
brezak
b4940ad7a0 Wrap iprintf, vm_object_print, vm_map_print to allow passing a printf function. 1993-09-13 14:10:35 +00:00
brezak
4881cb0d51 Call vm_map_print and vm_object_print with func ptr to db_printf. Add DDB_MACHINE_COMMANDS from Mach 3.0 version. 1993-09-13 14:08:54 +00:00
cgd
10c1b11b0d fix tty?? (serial device) creation 1993-09-13 08:30:59 +00:00
phil
3b4c805248 Various changes, including new ptrace support and modified exec support.
Some clean-up of code is done.
1993-09-13 07:26:47 +00:00
phil
5e277797c4 A change for new ptrace support. 1993-09-13 07:25:44 +00:00
phil
663f916d6d Getting past a bug that caused a "free: multiple frees" panic.
This should not be final code.
1993-09-13 07:25:06 +00:00
phil
d3da2305a5 following changes in ????pager stuff. 1993-09-13 07:23:45 +00:00
glass
0c9ec05f20 check return codes on copyout()s, panic if they fail. 1993-09-12 07:56:22 +00:00
phil
23830f084c Getting the correct MID value. 1993-09-12 06:26:13 +00:00
glass
3d78e6d465 sun3 has 8k pages 1993-09-12 02:37:05 +00:00
jtc
c3f643cd8a Remove NEED_* defines, as they are now satisfied by libkern. 1993-09-11 00:16:40 +00:00
jtc
0d2e8f0fcb Link with libkern. 1993-09-11 00:14:13 +00:00
jtc
cab4d78107 Removed functions moved to libkern: strcpy, strlen, ffs, etc. 1993-09-11 00:12:56 +00:00
jtc
c9dca7f48a Removed functions moved to libkern: scanc, skpc, locc. 1993-09-11 00:09:25 +00:00
jtc
070f4a7f50 Removed functions moved to libkern: strcpy, strcmp, strlen, ffs, etc. 1993-09-11 00:08:03 +00:00
jtc
8173ef3c7f Compile libkern too. 1993-09-10 23:33:02 +00:00
jtc
46994ea76a Install libkern.a in sys/arch/${MACHINE}/compile. 1993-09-10 23:32:17 +00:00
deraadt
042a6b6653 MID_PC532 -> MID_NS32532. All of these machines have 4K page sizes. 1993-09-10 21:27:35 +00:00
phil
b8dd804aaf Changed MID_NS32K to the correct MID_PC532. 1993-09-10 20:02:11 +00:00
jtc
85d1c9b576 Include appropriate header files to bring prototypes into scope. 1993-09-10 19:34:33 +00:00
jtc
ed74d5578f Fixed bug caused by premature checkin. 1993-09-10 19:29:13 +00:00
jtc
f70a26bc0d Simplified (by removing unn 1993-09-10 19:07:05 +00:00
jtc
a1c1508c9b Note that rmdir(1) is POSIX.2 compliant.
Include appropriate header files to bring prototypes into scope.
Use new error/warning display functions.
1993-09-10 18:57:43 +00:00
jtc
85a78a6bf6 Quiet compiler warnings by explicitly declaring return value of main(). 1993-09-10 18:52:27 +00:00
jtc
0674dd4ce2 Too few arguments for err() format specification. 1993-09-10 18:36:17 +00:00
jtc
0eee1ab6c0 Include appropriate header files to bring prototypes into scope.
Cleaned up man page.
1993-09-10 01:24:45 +00:00
jtc
d229d39c12 Add prototypes for getdomainname() and setdomainname(); the man page
instructs the user to include unistd.h, but it didn't provide a
declaration.
1993-09-10 01:07:39 +00:00
phil
e401483244 Adding the src/sys/arch/pc532 tree. 1993-09-09 23:53:45 +00:00
phil
de69711383 These changes are due to a mismatch with user functions prototyped as
func(short) and the fact the the kernel uses full ints.  This caused
problems on the pc532 port.  These fixes take the good 16 bits passed
by the user program and converts them into the correct form for the
kernel.
1993-09-09 22:03:59 +00:00