pk
593a6c40ef
Explicit entry point specified in kernel link command.
...
(so far, we've been lucky only because vers.o doesn't contain text)
1993-10-17 20:56:09 +00:00
mycroft
107d011b19
Add KBR_EXTENDED.
1993-10-17 14:04:15 +00:00
mycroft
7620c96e5d
Make atdevbase an int.
1993-10-17 14:03:54 +00:00
mycroft
6067dc9ea8
Minor cleanup.
1993-10-17 05:34:23 +00:00
mycroft
7e8063835d
Use `swap generic'.
1993-10-16 07:48:04 +00:00
mycroft
2ce6de16d5
Add isa_establish(), for all it's worth (which is to say, nothing).
1993-10-16 05:25:21 +00:00
mycroft
c73d85d341
Panic if DMA with odd length attempted on a 16-bit channel.
1993-10-16 03:55:59 +00:00
cgd
4bcf529b86
oops; forgot to move these definitions over, before...
1993-10-15 13:47:22 +00:00
cgd
fba9bbc5d9
add back the bufpages limit
1993-10-15 11:55:39 +00:00
mycroft
4f94812b29
New file with DMA code from isa.c, modified to check for some errors.
1993-10-14 05:22:57 +00:00
mycroft
5448e175cf
Only include isa/dma.c if a driver which needs it is configured.
1993-10-14 05:17:24 +00:00
cgd
0eabc3bc13
sysarch() belongs in sys_machdep.c
1993-10-13 08:25:57 +00:00
cgd
a1c3bf517a
use the new location for libkern, auto-depend on it, and include
...
the right one, for profiling or non-profiling.
1993-10-13 06:43:17 +00:00
rgrimes
d466119aa4
Convert space to tabs on the trapframe and sigframe lines
1993-10-10 07:23:34 +00:00
rgrimes
4119b752e0
Add symbols KERNSIZE and PDRSHIFT so that they can be used along with
...
KERNBASE to caclulate several constants in locore.s used for setting
up the vm system.
1993-10-10 07:07:52 +00:00
mycroft
4cbf1951c1
Put back assembler versions of setrq() and remrq(). GCC 2 is just too lame.
1993-10-09 22:49:29 +00:00
mycroft
c8431a9508
Add locore2.c as standard.
1993-10-09 22:17:36 +00:00
mycroft
99e736549a
Remove `device-driver' flags.
1993-10-09 08:55:24 +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
cgd
f51618137b
genassym needs a dependency...
1993-10-09 00:31:21 +00:00
cgd
fa29c74cd0
fix the mmap of kmem somewhat, but it's still not perfect...
...
(or, at least, it crashes the machines in some situations where
i don't think it should...)
1993-10-06 23:37:09 +00:00
cgd
d4435d2bd4
get rid of excess target line for machdep.o
1993-10-06 21:19:11 +00:00
mycroft
004534e441
Add FASTLINKS.
1993-10-06 12:15:33 +00:00
mycroft
501c1b99ad
Add cy.
1993-10-06 12:14:31 +00:00
mycroft
8cc28d314c
Merge changes from trunk.
1993-10-06 12:09:35 +00:00
mycroft
e9b92335b0
Add DRQUNK and IOBASEUNK.
1993-10-06 12:09:25 +00:00
andrew
81a9642670
Added entry for Cyclades Cyclom-{4/8/16}Y multiport async serial board
...
driver.
1993-10-06 09:31:30 +00:00
andrew
e256404adc
Cyclades Cyclom-{4/8/16}Y multiport async serial board driver.
1993-10-06 09:30:16 +00:00
andrew
13a48b8263
Goes with the new cy driver.
1993-10-06 09:27:27 +00:00
cgd
a92b57431b
make nbuf = bufpages, now that vfs_bio can do the rational thing.
1993-10-04 04:57:09 +00:00
cgd
174c25bd21
add mmmmap (mem device mmap routine). possible problems:
...
(1) the 'physmem' constant has a value which i don't think is
correct
(2) not sure what happens if you mmap a region of kmem which is
not in the kernel's address space...
1993-10-02 00:16:24 +00:00
mycroft
ee70c53e3f
Display a less cryptic message when the ring buffer overflows.
1993-10-01 23:12:04 +00:00
mycroft
f969ea9aa8
Fix probe routine to work for multiple controllers.
1993-10-01 23:07:27 +00:00
mycroft
018d1230b2
Read ethernet address correctly on NE1000 boards.
1993-10-01 22:59:57 +00:00
mycroft
4d4bfb2287
*** empty log message ***
1993-10-01 04:00:45 +00:00
davidg
892a4681ae
* Revision 2.5 93/09/30 17:44:14 davidg
...
* patch from vak@zebub.msk.su (Serge V.Vakulenko) to work around
* a hardware bug in cheap WD clone boards where the PROM checksum
* byte is always zero
*
* Revision 2.4 93/09/29 21:24:30 davidg
* Added software NIC reset in NE probe to work around a problem
* with some NE boards where the 8390 doesn't reset properly on
* power-up. Remove initialization of IMR/ISR in the NE probe
* because this is inherent in the reset.
*
* Revision 2.3 93/09/29 15:10:16 davidg
* credit Charles Hannum
*
* Revision 2.2 93/09/29 13:23:25 davidg
* added no multi-buffer override for 3c503
*
* Revision 2.1 93/09/29 12:32:12 davidg
* changed multi-buffer count for 16bit 3c503's from 5 to 2 after
* noticing that the transmitter becomes idle because of so many
* packets to load.
*
* Revision 2.0 93/09/29 00:00:19 davidg
* many changes, rewrites, additions, etc. Now supports the
* NE1000, NE2000, WD8003, WD8013, 3C503, 16bit 3C503, and
* a variety of similar clones. 16bit 3c503 now does multi
* transmit buffers. Nearly every part of the driver has
* changed in some way since rev 1.30.
1993-10-01 02:01:43 +00:00
mycroft
e57ef97529
Add LKM.
1993-09-30 20:15:25 +00:00
mycroft
83f32ad82b
Add needs-flag (or needs-count for tty devices) to all driver in the
...
switch tables. Remove ancient ethernet drivers.
1993-09-30 20:14:55 +00:00
mycroft
845512b39a
TEST: Enable com ports.
...
files.i386.newconf: Add needs-count to com.c for now.
1993-09-30 17:30:32 +00:00
mycroft
81c776a8e4
Enable mms.
1993-09-29 15:24:41 +00:00
mycroft
c27a6e4acf
Fix TIMEZONE specs; add DST.
1993-09-29 06:57:10 +00:00
mycroft
5085e2ca53
files.i386: Defunct.
...
files.i386.newconf: Remove lpa.
TEST: Enable lms and lpt.
*: Change all lpa's to lpt's. Change fd[0-3] to fd* and wd[0-3] to wd*.
Remove all explicit irq's.
1993-09-29 05:37:29 +00:00
cgd
ff24138e60
get rid of an "#if 0", and allocate buffers here.
1993-09-29 04:51:12 +00:00
cgd
4a21fe3648
ifdef out the ttyfree()'s, so that fill_eproc doesn't panic when
...
a process's session still holds a ref to a tty which has been deallocated
and reused.
1993-09-29 02:36:21 +00:00
cgd
b85a24ec4e
get rid of stray printfs (turn them into "lprintf"s)
1993-09-28 21:26:59 +00:00
mycroft
cd216b5938
Make Ctrl-Space input a NUL and Ctrl-/ input a ^/ (undo in Emacs).
1993-09-28 04:55:17 +00:00
andrew
ef83446787
Exports the pccons ioctls.
1993-09-28 03:26:17 +00:00
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
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
2dc346f0d1
add accounting
1993-09-23 21:31:56 +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
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
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
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
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
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
mycroft
c87683c012
Make various macros work if outb() is being inlined.
1993-09-09 15:16:14 +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
jtc
aabddf622f
STDC -> __STDC__
1993-09-08 16:55:17 +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
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
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
9cd4c25c2a
Second wd0 should be wd1.
1993-09-05 22:34:12 +00:00
mycroft
59d53ecfbf
Check some boundary conditions is cursor movement and scrolling.
1993-09-05 17:56:58 +00:00
deraadt
7c8271a011
I give up. Clearly, SYMTAB_SPACE is required at the moment to build a
...
kernel that doesn't go foom in locore.s
1993-09-05 16:42:54 +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