Commit Graph

1119 Commits

Author SHA1 Message Date
mycroft 6d09f2d446 Add new quad types alongside old ones so quad stuff in libc will compile. 1993-09-28 03:04:37 +00:00
jtc ba0ef7cf93 POSIX.1 says ssize_t should be defined in here. 1993-09-25 01:51:31 +00:00
jtc 3d4092d798 Don't define anything if compiling in an strict ansi environment. 1993-09-24 18:29:49 +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
mycroft 06c199bb44 Renamed from clock.h. 1993-09-24 09:04:56 +00:00
mycroft 054e0b73bc clock.c: Finish conversion. Make rtcput() work if VRT bit not set. Speed up
time conversion in delay().
fd.c: Minor changes to autoconfig.  Use dv_parent rather than storing another
pointer to the fdc_softc in each fd_softc.  Change disk label stuff for our
kernel.
icu.s: Make splx() and splnone() return previous cpl for now.
isa.c: Minor autoconfig changes.
isa.h: rtcin() is now nvram() and is declare in nvram.h.  Make isaphysmem a
caddr_t.
pccons.c: XXXX: Maybe we should insist they open /dev/io now.
timerreg.h: #define TIMER_NPORTS.
wd.c: Delete unused wdnoreloc() and wddospart(), and use remaining two bits in
unit number.  struct disk --> struct wd_softc.  struct board --> struct
wdc_softc.  Still needs much work.
1993-09-24 08:49:21 +00:00
mycroft 3540378534 GENERIC, TEST: Remove all irqs.
std.i386: Re-add clock0 and timer0.
1993-09-24 08:45:03 +00:00
cgd 6c5f49d135 if __P is already defined, undef it. 1993-09-23 23:44:09 +00:00
mycroft 00e8bf23cd Add `#ifdef DIAGNOSTIC' around check for dirty pages in persistent objects. 1993-09-23 22:20:29 +00:00
mycroft c179e54a04 Ignore TS_CARR_ON when CLOCAL is set. 1993-09-23 22:16:15 +00:00
cgd 2dc346f0d1 add accounting 1993-09-23 21:31:56 +00:00
phil 893cab1278 Adding ../libkern.a to the link phase. 1993-09-23 18:25:14 +00:00
phil 7f7f472580 Adding pc532 stuff to libkern. 1993-09-23 18:16:47 +00:00
jtc cad0f3bd0f Added _SC_* and _CS_* constants used by POSIX.2. 1993-09-21 21:50:37 +00:00
brezak 4212e64961 Include sys/signal.h instead of machine/signal.h 1993-09-21 20:51:12 +00:00
brezak b54c7ce913 Be sure to get sys/signal.h 1993-09-21 13:43:15 +00:00
brezak a9f5756dd2 In resettodr() handle rtcget() failure. 1993-09-21 13:09:10 +00:00
brezak 39804a17e5 Remove unneeded saving of segment regs for USER_LDT. 1993-09-21 13:08:34 +00:00
cgd 94ac210002 rewrite biodone to the spec in the daemon book, and to account for
the fact that buffers with B_CALL set shouldn't be brelse()'d.
1993-09-21 00:40:02 +00:00
brezak d0b8b43cf2 Add USER_LDT option. 1993-09-19 19:11:24 +00:00
brezak 42f1476a71 Changes for per-process/user settable LDT and full sigcontexts 1993-09-19 19:00:44 +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
brezak 8c7d2d17e2 Make sigcontext and sig_atomic_t machine dependant. 1993-09-19 18:56:21 +00:00
brezak 1905040ad2 Add sysarch() syscall. 1993-09-19 18:55:38 +00:00
mycroft 085d8cf4fd Reverse part of the quad changes; this should only be in the branch. 1993-09-17 03:35: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
cgd cf6729f6fe patch from ws via brezak, to fix the "don't panic, but can't see
anything in subdirs" problem.
1993-09-17 01:21:46 +00:00
cgd 4f10c7ead8 kill volatile warning. 1993-09-16 22:08:30 +00:00
ws 51a962e341 Bug fix in compare routine for correct sorting order.
But at the same time disable sorting optimization,
as there are a lot of CDs with incorrectly sorted directory records.
1993-09-16 16:54:09 +00:00
mycroft dd964a65fd Add quad_t and u_quad_t, fix qaddr_t, nuke quad and u_quad.
Also, #include <machine/endian.h> (a la 4.4).
1993-09-16 06:03:45 +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
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
brezak ff02097496 No need to lospecifiy load address at 1M, now the default for any kernel. 1993-09-14 20:01:19 +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 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 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