andrew
ceb2a05027
Added keyboard typematic rate adjustment ioctl. Rudimentary support for
...
entering DDB from X11 by means of the F12 key (when XSERVER_DDB is
defined).
1993-09-28 03:25:01 +00:00
mycroft
10cd570bcb
Oops. Remove ancient and now defunct comment.
1993-09-28 03:07:55 +00:00
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
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
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
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
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
mycroft
c87683c012
Make various macros work if outb() is being inlined.
1993-09-09 15:16:14 +00:00
davidg
a5f8e1f738
added include of select.h to bpfdesc.h because it now has a reference to
...
struct selinfo.
1993-09-09 09:43:18 +00:00
davidg
1c880d62bf
As of this revision, all known bugs have been fixed. Some of the fixes include:
...
1) fixed 3c503 lock-up if the thinwire cable was disconnected at boot time
2) 8013EBT boards now work (quite well!) in 16bit/16k mode
3) ED_NO_DOUBLE_BUFFERING flag now works
4) slightly higer performance (about 3%) with 16bit WD/SMC boards
5) support for WD8013WC (10BaseT) boards
Additionally, the probe code has been reorganized to be much cleaner. This
revision of the driver is 1.25. The release notes have been updated as well.
1993-09-09 09:40:56 +00:00
mycroft
64540d3533
Patch from David Greenman to reduce CPU usage during network transmit.
1993-09-08 21:12:49 +00:00
jtc
aabddf622f
STDC -> __STDC__
1993-09-08 16:55:17 +00:00
cgd
84a8fbe900
ws forgot two backslashes (so it tossed his 'cookies')
1993-09-07 20:02:19 +00:00
ws
053f138dae
Changes to VFS readdir semantics
...
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers
1993-09-07 15:40:14 +00:00
mycroft
6409dcaef1
Trivial stylistic change.
1993-09-07 07:35:41 +00:00
mycroft
0230178143
Clean up deleted files.
1993-09-07 02:25:20 +00:00
deraadt
a6b1318c68
Adding the (non-optional) option MACHINE_NONCONTIG
1993-09-07 00:56:05 +00:00
mycroft
515949e42e
Add a bunch more shit that was missing.
1993-09-07 00:36:27 +00:00
mycroft
5be4167214
Rearrange SCSI probing to actually work.
1993-09-07 00:25:50 +00:00
mycroft
0dc9a11469
Rearrange ethernet probing in the vain hope that maybe, just maybe, the ne0
...
probe's effect on ed0 will be reversed when the latter is reset.
1993-09-06 23:35:19 +00:00
mycroft
8c7f0d2e48
Comment out we0 and ec0, and add equivalent ed0 and ed1.
1993-09-06 23:31:33 +00:00
mycroft
5e532f3f9f
Add a generous dose of comments.
1993-09-06 23:29:33 +00:00
mycroft
07e57f53a2
Put back printf() for entry point. It certainly fits.
1993-09-06 22:09:45 +00:00
mycroft
58f1a7c3cd
Make nfs_timer() return void.
1993-09-06 21:25:20 +00:00
mycroft
a75978c2e0
Change `NFS' to `NFSSERVER,NFSCLIENT'.
1993-09-06 21:15:56 +00:00
mycroft
229a34c6b3
Correct I/O ports for mice.
1993-09-06 18:37:56 +00:00
mycroft
0535b6089e
Avoid clash of struct ns_addr with #define ns_addr.
1993-09-06 18:30:39 +00:00
mycroft
84c634662f
Move the `#include "bpfilter.h"' to a more logical and easy to find place.
1993-09-06 18:27:22 +00:00
mycroft
bec04754dc
Update for new select(), and fix another `struct arpcom.ac_enaddr'.
1993-09-06 18:24:35 +00:00
mycroft
e591f2882f
Declare frame_reject(), rej_routine(), free_iframes() as static.
1993-09-06 18:09:55 +00:00
mycroft
f2a8151b46
Move pk_flowcontrol() up and declare it static void.
1993-09-06 18:08:02 +00:00
mycroft
9548a87f3c
p_netservice is a u_char. There is no imaginable reason to check it < 0.
1993-09-06 18:05:06 +00:00
mycroft
eee6903080
Make snpac_age() and esis_config() return void to eliminate warnings.
1993-09-06 18:02:44 +00:00
mycroft
80d54c4ba8
Declare old_to_new() and new_to_old() as static, to eliminate warnings.
1993-09-06 17:43:33 +00:00
mycroft
29c396142a
Update for new select() mechanism.
1993-09-06 17:41:45 +00:00
mycroft
91b8683f3e
Make Ctrl-Space and Ctrl-2 send a NUL, even without XSERVER defined.
...
(This has annoyed me for a while, and people are complaining about it.)
1993-09-06 05:52:33 +00:00
mycroft
15567ab7a7
Add missing arg to vm_mmap() call in grfmmap().
1993-09-06 02:24:08 +00:00