Commit Graph

5257 Commits

Author SHA1 Message Date
deraadt
89670e4cfb generalize bus support for match/attach 1994-09-18 00:02:16 +00:00
deraadt
a9f84a682a generalize bus support for match/attach
sun4 code for mapping zs chips
1994-09-18 00:02:02 +00:00
deraadt
b694d835f9 add tape/cdrom 1994-09-18 00:00:43 +00:00
deraadt
1be17e489e sbus/* --> dev/*
deal with multiple bus types (start of vme/obio support)
1994-09-17 23:57:27 +00:00
deraadt
152b1d19d4 obio bus driver, for dealing with devices on the sun4 motherboard. 1994-09-17 23:49:58 +00:00
deraadt
1340faab13 Replacement esp (NCR 53C9X + LSI DMA) scsi driver from Peter Galbavy. 1994-09-17 23:48:32 +00:00
deraadt
ca83f065d9 "struct confargs" is used for all device match/attach functions. It
tells you what bus (sbus, vme, ...) you are on.
1994-09-17 23:46:32 +00:00
deraadt
1587c23246 sunos disklabels are translated into netbsd disklabels. 1994-09-17 23:45:39 +00:00
deraadt
51150e13d3 new scsi 1994-09-17 23:43:56 +00:00
deraadt
6e2b05d646 new scsi code
sparc/sbus/* --> sparc/dev/*
1994-09-17 23:43:23 +00:00
deraadt
2b2fa40d16 hacked into shape by Peter Galbavy. 1994-09-17 23:28:55 +00:00
mycroft
dfe4aeb79f Clean up deleted files. 1994-09-17 23:25:13 +00:00
mycroft
76af9b5da0 Clean up deleted files. 1994-09-17 18:38:46 +00:00
mycroft
fd536b8545 vmunix --> netbsd 1994-09-17 00:24:06 +00:00
deraadt
42ea7aa818 sparc is not special anymore 1994-09-16 23:57:22 +00:00
mycroft
b7cc64e049 Check the SB Pro IRQ and DRQ correctly. From Jason Thorpe. 1994-09-16 23:48:22 +00:00
mycroft
b073160a6c Fix typo. 1994-09-16 21:17:21 +00:00
mycroft
c3e6d1057b Add tun. 1994-09-16 21:14:58 +00:00
mycroft
c7003d37d3 Only reset FIFO if changing baud rate. From John Kohl (slightly edited). 1994-09-16 02:50:39 +00:00
jtc
23ece5babc asm -> __asm (PR #463). 1994-09-16 02:39:36 +00:00
jtc
e43e9b828a Protect against multiple inclusion (PR #473). 1994-09-16 02:16:42 +00:00
mycroft
ab9caa0e9a Fix the munmapfd() prototype, too. 1994-09-16 02:01:49 +00:00
mycroft
d5fdf729f2 All of the users of munmapfd() expect to pass it
two args.  Make it work correctly.
1994-09-16 01:57:57 +00:00
deraadt
2b10ae150f compile -O3 1994-09-16 01:27:58 +00:00
mycroft
76e0a7d0f4 Fix typo. 1994-09-15 03:47:19 +00:00
mycroft
cab4d25c24 stat the file system at mount time, for `df -n', et al. 1994-09-15 03:42:37 +00:00
deraadt
9d977e669b gcc automatically calls memset in certain situations. 1994-09-15 01:46:37 +00:00
cgd
b690c315ff ugly (#ifdef) hack to fix m68k alignment differences, etc. Eventually,
should be done with a 'natual alignment' macro, or some such.
1994-09-14 16:40:29 +00:00
cgd
575d44884b from Kirk McKusick: release old ctty if acquiring a new one.
also: prettiness police!
1994-09-14 00:35:29 +00:00
deraadt
db9d3d3d7e add MID_MIPS (big endian MIPS) 1994-09-13 15:47:03 +00:00
briggs
24de5a9668 Nuke a CVS Log entry. Attribute introspection to Brad. 1994-09-12 21:56:36 +00:00
mycroft
8dd2c63b08 Turn off the delay debugging messages again. 1994-09-12 20:29:08 +00:00
briggs
400d187c01 Remove need for "bounds.h." Brad can still use it if he wants ;-) 1994-09-12 03:54:05 +00:00
briggs
9e4e942a2f Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.
1994-09-12 03:53:03 +00:00
briggs
5432aef717 Fix a scrolling bug when we have more than 64k to scroll. 1994-09-12 03:38:30 +00:00
briggs
9dc2628062 Snarf chopps changes for bus/addrerr handling. 1994-09-12 03:37:33 +00:00
mycroft
71564b8859 Turn off a few things. 1994-09-11 08:39:36 +00:00
mycroft
1435172b90 Nuke the silly `--' hack when there are no flags. 1994-09-10 04:44:23 +00:00
jtc
47b84c16db asm -> __asm (PR #463). 1994-09-10 01:19:45 +00:00
jtc
bdd26b125c asm -> __asm (PR #463). 1994-09-10 01:07:08 +00:00
mycroft
0d3651018e Make kernel_pmap a macro that points directly to kernel_pmap_store. 1994-09-09 23:58:48 +00:00
mycroft
c7d5bf7b64 Nuke struct ste, struct ste40, struct pte, and HP_PAGE_SIZE. Use my
pv_entry allocator.  Change pa_index() to pmap_page_index() for consistency
with other ports.
1994-09-09 23:52:49 +00:00
mycroft
c7b57907f0 Do a hack similar to the AST optimization for SIRs on syscall exit. 1994-09-09 23:40:15 +00:00
mycroft
f66f685ad2 Very simple change to avoid a complete register save/restore pair when handling
ASTs after a syscall.
1994-09-09 03:58:38 +00:00
mycroft
cf04bbff56 Small optimization for the !DIAGNOSTIC case. 1994-09-09 03:16:03 +00:00
mycroft
675c4aae2b Remove some functions which are in libkern. 1994-09-09 03:11:31 +00:00
mycroft
6ba85483c3 Use bfffo rather than a slow loop. 1994-09-09 03:07:23 +00:00
mycroft
e0fa548a12 Optimize the run queue frobnication, and add some more DIAGNOSTIC checks. 1994-09-09 02:56:54 +00:00
mycroft
289bc175c6 Another tiny optimization. 1994-09-08 21:56:14 +00:00
mycroft
a90cca9558 Add a simple pv_page garbage collector (currently disabled). 1994-09-08 21:03:43 +00:00
mycroft
4116a4243e Various changes:
* Inline some functions.
* Eliminate redundant calls to pmap_page_index().
* Reduce the number of TLB flushes in accordance with the i386 SSWG.
* Inline pmap_remove() in pmap_remove_all().  (Most if it is unnecessary.)
* Allocate pv_entry's in pages, and keep a list of free entries in each page,
and a list of pages with free entries.  (Trying to reduce malloc() overhead,
and improve locality of reference.)
* Remove a couple of macros that aren't really useful.
* Remove pmap_kernel() completely.
1994-09-07 20:48:52 +00:00
mycroft
d884d26b32 Trivial change of no significance. 1994-09-07 20:32:45 +00:00
mycroft
9d4125d1ec A few small optimizations. 1994-09-07 20:32:00 +00:00
mycroft
6dd2f9eed2 vm_object_page_clean() expects to be able to use vm_page_deactivate() on a
locked page.  Make that work.  This also obviates the need for vm_fault() to
bogusly activate a page before deactivating it.  Finally, make sure the
semantics of vm_object_deactive_pages() don't change.
1994-09-07 20:25:07 +00:00
mycroft
e4bc47c9fc Remove bogus attempt to map the interrupt pins here. The BIOS is supposed to
do it anyway.
1994-09-06 01:25:22 +00:00
pk
09301847a4 Compile pamap.c' and cache.c' with normal compiler rules.
Let's pretend this was a bug in some previous version of gcc...
1994-09-05 06:31:34 +00:00
mycroft
3e334ba9a6 New iBCS2 code from Scott. 1994-09-05 01:28:57 +00:00
mycroft
faa18f6ce6 New iBCS2 code from Scott. 1994-09-05 01:08:43 +00:00
mycroft
584de55692 Missed an iobase that should be u_short. 1994-09-05 00:21:40 +00:00
pk
cdca6c22c4 Don't clobber our input arguments. 1994-09-02 08:13:20 +00:00
mycroft
6c66af544c Fix some ugly code. 1994-09-02 05:12:12 +00:00
jtc
b3b55d02f1 Misc changes to make this file more like the asm.h headers used by other
architectures:
	Renamed _C_FUNC() to _C_LABEL()
	Renamed _ASM_FUNC() to _ASM_LABEL()
	Merged _BEGIN_ENTRY with _ENTRY
	Renamed _END_ENTRY to _PROF_PROLOGUE

When assembling with profiling enabled, set up stack frame before calling
mcount() in _PROF_PROLOGUE.  Also omit emitting .long 0's, as they are no
longer used by the profiling code.
1994-09-02 05:02:47 +00:00
mycroft
b1f0fa317e Decrease shm_nused when a segment is deleted. 1994-08-31 21:47:36 +00:00
chopps
bf10f9424c cleanup diagnostic messages 1994-08-31 02:13:01 +00:00
chopps
41a2d35564 fix uninitialized use of mask. 1994-08-30 23:06:48 +00:00
pk
cdf3d1ed89 mknod() must release its new vnode. 1994-08-30 19:42:22 +00:00
deraadt
5aa2f1e6bb remove an un-aligned access 1994-08-30 17:01:57 +00:00
briggs
e696d464eb Use vn.h instead of forcing NVN to 0. 1994-08-30 11:04:17 +00:00
mycroft
c996edc7e1 Display emulation type. 1994-08-30 06:22:10 +00:00
mycroft
9ea30b3bf3 Check for bad p_emul. 1994-08-30 06:19:44 +00:00
mycroft
227e4cb85c Make sure p_emul is copied on fork. 1994-08-30 06:16:25 +00:00
mycroft
016425e503 Clean up some debugging code. 1994-08-30 05:37:14 +00:00
chopps
c7401f5866 catch mis-aligned access errors on the 040. 1994-08-30 05:35:31 +00:00
mycroft
2f710a54ee Convert process, file, and namei lists and hash tables to use queue.h. 1994-08-30 03:04:28 +00:00
mycroft
bd61aa9ae3 Add {LIST,TAILQ}_INSERT_BEFORE(). 1994-08-30 03:01:30 +00:00
mycroft
f5faab89e9 Use VCALL(), not VOCALL(), and simplify union_advlock(). 1994-08-30 03:01:01 +00:00
mycroft
c8899c8f8e Fix an off-by-one error reported by Mike Hartman. 1994-08-30 01:31:11 +00:00
mycroft
90b0e68767 Clean up deleted files. 1994-08-29 23:12:23 +00:00
cgd
e67ae11432 no more floppy bins; these now done by crunch. 1994-08-29 23:10:58 +00:00
mycroft
f5232de492 Patch to fix `reassignbuf: NULL' messages, from cgd. 1994-08-29 01:47:02 +00:00
mycroft
8bed574dcd Clean up deleted files. 1994-08-26 20:07:34 +00:00
mycroft
a13c1b15cc Minor. 1994-08-26 12:43:17 +00:00
deraadt
de20d2cf67 Re-enable EISA reset code -- definately needed now. do RX_DISCARD_TOP_PACK
before leaving splhigh(), to give incoming packets a better chance.
1994-08-26 12:11:44 +00:00
deraadt
2a316aaed4 an annoying tab 1994-08-26 10:57:27 +00:00
glass
891ca8ce21 my kernel config 1994-08-26 05:07:00 +00:00
deraadt
a7b2e0ee19 tmpmap page for sun4 1994-08-25 20:58:36 +00:00
deraadt
9670b47cb7 sun4: don't use openprom 1994-08-25 20:57:38 +00:00
deraadt
6c2b49032b fix debugging stuff, from dean 1994-08-25 20:18:25 +00:00
deraadt
2558d359af emulate setreuid/setregid better. 1994-08-25 07:13:55 +00:00
paulus
4eba4f38de Fix for bug pointed out by Chuck Cranor in determining whether we
have a bus error or a MMU fault.
1994-08-25 06:18:55 +00:00
paulus
c4b36eb4d8 now that we have vn.h, use it 1994-08-25 06:17:28 +00:00
paulus
c08d8df629 Fix from Chuck Cranor to avoid null dereference on startup. 1994-08-25 06:16:29 +00:00
paulus
c673fc8fb3 Bug fixes from Chuck Cranor. 1994-08-25 06:15:39 +00:00
paulus
ce95ef366a added USPACE 1994-08-25 06:14:29 +00:00
paulus
f860dc0110 added major number for vn device 1994-08-25 06:13:49 +00:00
paulus
44e8ac8704 minor changes to options 1994-08-25 05:57:10 +00:00
cgd
ec29b60850 gwr's slightly cleaner way to do that last... 1994-08-25 03:04:28 +00:00
mycroft
cb3576ee87 If possible, lower the CPU class if the correct one is not configured. 1994-08-25 00:10:30 +00:00
chopps
b6bd104b70 add USPACE 1994-08-24 20:50:35 +00:00
mycroft
d20de15399 Add USPACE. 1994-08-24 19:32:36 +00:00
mycroft
f6a9558d05 Update to match reality. 1994-08-24 19:28:03 +00:00
mycroft
c639e40d5b iBCS2 emulation code, written by Scott Bartram. 1994-08-24 19:13:39 +00:00
cgd
f32f66a23b fix (bogus) default ioctl return. 1994-08-24 16:49:16 +00:00
deraadt
8411a1f895 fix relocation error 1994-08-24 09:27:57 +00:00
deraadt
34c6caac77 first cut at sun4 on-board io bus 1994-08-24 09:16:46 +00:00
mycroft
5e4a51278b Set the FIFO threshold based on the receive speed, per Mark Weaver. 1994-08-24 07:25:18 +00:00
deraadt
62939dc113 pcvt & bt dynamic irq 1994-08-24 07:10:22 +00:00
mycroft
c4eac0f370 Some cleanup, checked by Dean. 1994-08-23 23:40:55 +00:00
deraadt
280592c6a7 replace "ctob(UPAGES)" and "UPAGES * NBPG" with "USPACE"
(cvs dumped core during previous commit...)
1994-08-23 22:13:59 +00:00
deraadt
72b3d408b9 replace "ctob(UPAGES)" and "UPAGES * NBPG" with "USPACE" 1994-08-23 22:07:42 +00:00
gwr
1e707d2dec Add USPACE 1994-08-23 21:11:37 +00:00
briggs
cdcb12bf54 Add USPACE. 1994-08-23 20:48:09 +00:00
mycroft
8ac5e10c5d Various code cleanup. 1994-08-23 19:30:12 +00:00
glass
a0bba56f2a add USPACE 1994-08-23 19:13:54 +00:00
deraadt
666f228bab add `eg' driver for the 3c505 by <dean@fsa.ca> 1994-08-23 17:59:33 +00:00
pk
994a3e978a typo 1994-08-23 14:37:22 +00:00
deraadt
0a8b15511f fix 3 dumb bugs 1994-08-23 11:24:53 +00:00
pk
e052143aab When updating an NFS mountpoint, we cannot just increase rsize' or wsize'
without also adjusting the corresponding socket buffers. We could probably
call sbrelease/sbreserve/soreserve ourselves without much harm, but we'd
have to duplicate much of the logic in nfs_connect(). In stead, blow the
socket away entirely and let nfs_connect() do its job again.
1994-08-23 09:31:00 +00:00
deraadt
3938d6ba02 initialize shmmax to `# of pages' at compile time; multiply by NBPG at
boot time (in shminit). This supports architecture families with varying
values for NBPG, and does not break ipcs.
1994-08-22 23:37:03 +00:00
brezak
6f0b0cdc86 Cleanup to make more ANSI compliant; checkpoint 1994-08-22 21:55:58 +00:00
mycroft
996b2b5c54 Disable EISA reset, for now. 1994-08-22 21:53:23 +00:00
mycroft
71c5da7bfb Fix typo in WDCS_BITS. 1994-08-22 21:43:35 +00:00
brezak
dd945bf3c1 Don't echo here 1994-08-22 21:41:23 +00:00
brezak
901e645db3 Do echo here just like libsa::gets() 1994-08-22 21:41:07 +00:00
cgd
94109335b3 kill errant spaces 1994-08-21 21:24:33 +00:00
cgd
56364fe8b1 cleanliness; don't wrap lines. 1994-08-21 21:07:13 +00:00
ws
133e05b464 Fix bug with writing back modified directory entries 1994-08-21 18:43:49 +00:00
mycroft
9c921e0ada Remove SF and SR. 1994-08-21 15:25:28 +00:00
mycroft
27377e3e10 Don't attempt to use IO_APPEND for NQNFS, as suggested by Rick Macklem. 1994-08-21 15:10:44 +00:00
mycroft
8b8390a4bb Look for MDMBUF in cflag, not lflag. 1994-08-21 15:04:37 +00:00
cgd
c141eabf16 handle another "too much memory in buffer" boundary case 1994-08-21 06:38:42 +00:00
cgd
0bac4d47b1 C syntax fix, and syscall args style (For later.) 1994-08-21 03:15:32 +00:00
deraadt
5fafedbfa7 sun4/sun4c getsegmap/setsegmap are different
use << PGSHIFT instead of * NBPG, because NBPG isn't a constant in some cases
for sun4+sun4c case, calculate nptesg early
1994-08-20 09:16:11 +00:00
deraadt
89c0e14f17 stop using NBPG; start using USPACE
initialize cputyp, nbpg, pgshift, and pgofset variables based on cpu type.
deal with varying pagesize in register window underflow/overflow and trap
enter functions (hellish)
add idprom reading function for the sun4.
1994-08-20 09:13:25 +00:00
deraadt
ad457d7aaf sun4 needs software delays for register accesses 1994-08-20 09:11:02 +00:00
deraadt
7ac73ef982 add addr & level specifiers for non-openboot systems 1994-08-20 09:08:58 +00:00
deraadt
63db65b59d no need for timezone spec 1994-08-20 09:08:27 +00:00
deraadt
737b2e86fd sun4 merge changes 1994-08-20 01:36:36 +00:00
deraadt
14350c037f on the sun4:
fake-up an openprom vector
ask oldmon for physical memory count.
unblank frame buffer (because most oldmon's forgot to)
1994-08-20 01:35:20 +00:00
deraadt
0103734add sun4 cpu types are determined by the idprom.
cache type is determined by the model number.
1994-08-20 01:32:45 +00:00
deraadt
27e092990f idprom moved to seperate file; must be accessable before clock driver starts, on a sun4 1994-08-20 01:31:06 +00:00
deraadt
592b23771e deal with sun4 idprom 1994-08-20 01:30:29 +00:00
deraadt
f0a4d95b11 IODEV_BASE cannot used as a static initialiser due to NBPG 1994-08-20 01:29:49 +00:00
deraadt
242e8b9895 TIMERREG_VA is passed to locore.s (via genassym). Since NBPG can be
a variable, it cannot be part of this macro.
1994-08-20 01:28:09 +00:00
deraadt
82241bcf3e regarding NBPG, PGOFSET, PGSHIFT, NPTESG, VA_VPG:
these are simple macros unless you build a combined sun4+(sun4c,sun4m)
kernel -- then they point to variables which are initialized early on.
1994-08-20 01:26:41 +00:00
deraadt
0ab75b9022 repair a few rom call return values 1994-08-20 01:20:59 +00:00
deraadt
b5c483ea1a the sun4c "fake idprom inside the nvram" looks exactly like a sun4 idprom. 1994-08-20 01:20:28 +00:00
deraadt
5cee9394c1 add sun4 control space areas 1994-08-20 01:19:27 +00:00
mycroft
c0cc31ee6f For symlinks, try actually reading the link to determine its size. 1994-08-19 11:36:56 +00:00
mycroft
b6e5975c12 Fix off-by-one error translating names of associated files. 1994-08-19 11:31:50 +00:00
mycroft
537ac5465f Convert hash tables. 1994-08-19 11:25:29 +00:00
mycroft
f7c13d44bd More LIST/CIRCLEQ migration. 1994-08-18 22:47:43 +00:00
cgd
92da9d2f33 can't do ptr math on void * 1994-08-18 22:09:35 +00:00
mycroft
1785232aa9 vn --> vnd 1994-08-17 20:16:16 +00:00
mycroft
c809e30fcb No COMPAT_HPUX at the moment. 1994-08-17 20:16:07 +00:00
mycroft
24381e7f01 Validate unit number correctly. 1994-08-17 19:14:53 +00:00
mycroft
8743009944 Convert some more lists and queues. 1994-08-17 14:43:47 +00:00
mycroft
7b8734f3e8 Use LIST and TAILQ for hash chain and LRU chain, respectively. 1994-08-17 12:34:12 +00:00
mycroft
dbd174a5da Change the reply list to a TAILQ. 1994-08-17 11:41:36 +00:00
mycroft
9db57a0aa0 Fix typo. 1994-08-17 11:03:07 +00:00
deraadt
c121e1da16 add pseudo-device kbd 1994-08-17 06:22:10 +00:00
deraadt
256353ef62 multicast 1994-08-17 06:04:49 +00:00
deraadt
9f6d99b3e2 get ether_type byte order correct 1994-08-17 01:33:15 +00:00
ragge
6943478ff7 Lots of bug fixes. Generic console support added. Major changes in machdep.c.
pmap.c now supports user process mapping. Page faults handles correctly.
1994-08-16 23:47:25 +00:00
ragge
186e16d63e Minor updates of some errouneous parameters. 1994-08-16 23:41:53 +00:00
ragge
7fffc9426f genconf.c added to files.vax.newconf 1994-08-16 23:41:11 +00:00
ragge
060db389e9 Update of vax port. 1994-08-16 23:39:52 +00:00
mycroft
0c5a342fde Add vnd. 1994-08-16 19:20:14 +00:00
mycroft
da534b691a Reran makesyscalls.sh. 1994-08-15 23:49:28 +00:00
mycroft
e8b01ef8dc Add missing line. 1994-08-15 23:48:41 +00:00
mycroft
3481b6aa87 Add iBCS2 files. 1994-08-15 23:33:59 +00:00
mycroft
2b2c64b4e2 Need prototype of exec_svr4_elf_makecmds(). 1994-08-15 22:54:51 +00:00
mycroft
a82f727857 Clean up deleted files. 1994-08-15 22:47:27 +00:00
mycroft
ea999cdda2 Rename this for consistency. 1994-08-15 22:47:24 +00:00
mycroft
e2122143e9 Don't reread the blasted header. 1994-08-15 22:47:00 +00:00
mycroft
82ccfef767 Remove misplaced SVR4 dispatch. 1994-08-15 22:38:39 +00:00
mycroft
77dee53b00 Move the SVR4 dispatch here. 1994-08-15 22:36:40 +00:00
mycroft
1ec65d2465 Add iBCS2 glue. 1994-08-15 22:24:22 +00:00
mycroft
01c2a3243e Add flags for iBCS2 compat. 1994-08-15 22:19:44 +00:00
mycroft
ace234dade Add iBCS2 COFF loader. (Eventually there should be a sys/exec_coff.h.) 1994-08-15 22:17:16 +00:00
mycroft
9c4c84c97e Need ofstat() for iBCS2 syscall conversion. 1994-08-15 22:08:55 +00:00
mycroft
4566d7f5ba Need ostat() and olstat() for iBCS2 syscall conversion. 1994-08-15 22:06:47 +00:00
mycroft
d87fa72a16 Need extra stack space for iBCS2 syscall conversion. 1994-08-15 22:04:47 +00:00
mycroft
b0d890f90a EMUL_IBCS2 --> EMUL_IBCS2_ELF 1994-08-15 22:03:12 +00:00
mycroft
1147bc974e Add EMUL_IBCS2_COFF, and rename EMUL_IBCS2 to EMUL_IBCS2_ELF. 1994-08-15 22:02:20 +00:00
mycroft
77fe78350b Minor update to a comment. 1994-08-15 16:45:14 +00:00
cgd
cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
cgd
97bdeab31e replace with a completely rewritten version, based around the 4.4BSD
procfs.  Now the author of the old version will stop complaining that
we're using his code.
1994-08-15 16:32:41 +00:00
cgd
b48d84b629 replce with virgin copy from 4.4-Lite 1994-08-15 16:29:22 +00:00
mycroft
d980c59b98 Better fix for the previous. 1994-08-15 15:19:55 +00:00
mycroft
05c7d6e9c7 Kill stupid compiler warning. 1994-08-15 15:17:07 +00:00
mycroft
5f27568164 Eliminate struct pte and struct pde. 1994-08-15 14:46:45 +00:00
mycroft
36975ff354 Don't use altsts. Sigh. 1994-08-15 08:22:20 +00:00
mycroft
8f2482ff3d Fix `make depend' error. 1994-08-15 06:42:04 +00:00
gwr
486ad2cc03 Correct bad memory reference when dumpdev == NODEV (i.e. DISKLESS). 1994-08-14 22:47:28 +00:00
gwr
8a15866490 Just like GENERIC but gets root/swap from NFS. 1994-08-14 22:38:54 +00:00
mycroft
a618f9d915 Slight optimization, and don't go bonkers if one of the sub-devices is not
configured.
1994-08-14 14:13:25 +00:00
mycroft
a570fcd929 Re-enable EISA reset. 1994-08-14 09:43:59 +00:00
mycroft
cd2f7cc8a0 Clean up a little. 1994-08-14 09:24:55 +00:00
mycroft
06476a4e53 ccdevsw --> cdevsw 1994-08-14 07:41:08 +00:00
gwr
f23d6f0929 Add the option NFS_BOOT_RWSIZE to allow diskless boot configuration
to start with a reduced NFS read and write size (need for wd8003).
1994-08-14 03:35:27 +00:00
cgd
9561cfe8fe add a new p_emul value, clean up slightly. 1994-08-14 00:55:09 +00:00
deraadt
35ff4b995a needed for X 1994-08-14 00:13:20 +00:00
deraadt
bdf0a4caf3 fix for bug #403 from <grossman@informatik.tu-muenchen.de> 1994-08-13 08:53:38 +00:00
pk
4e501cd0bf Files with > 1 links can always be removed on the server, even if a
"silly name" exists.
1994-08-13 08:46:53 +00:00
pk
8f36af34c9 Introduce new flag. 1994-08-13 08:36:11 +00:00
pk
1b07d18247 Keep those pointers moving. 1994-08-13 08:33:51 +00:00
pk
820532e4cf Remove bogus fsstat(). 1994-08-13 08:33:08 +00:00
mycroft
4a8bf3976b Fix a problem in sync() where we might keep a stale pointer to the next mount
entry.
1994-08-13 07:05:53 +00:00
mycroft
60280d9735 Don't allow VM86 mode, for now. 1994-08-13 06:55:47 +00:00
deraadt
790f70650e add lduha & stha 1994-08-12 09:52:40 +00:00
deraadt
692c724215 un-aligned access is not cool on some processors 1994-08-12 08:57:18 +00:00
cgd
c4b592cd82 fix typo 1994-08-12 04:31:51 +00:00
cgd
8814bea1a6 kill two errant spaces. 1994-08-12 03:49:24 +00:00
deraadt
1b70fad2a5 document why this exists 1994-08-12 01:19:12 +00:00
deraadt
549e3f356d option GDB isn't valid
disable KGDB because we do not have (userland) support for it
1994-08-12 01:16:26 +00:00
mycroft
da79c879cd On probe or open, retry the READ CAPACITY once if the drive reports NOT READY. 1994-08-11 23:51:26 +00:00
mycroft
1f532b06bd char * --> caddr_t, where appropriate. 1994-08-11 23:47:51 +00:00
gwr
38cca96798 Diskless boot will now bind the local socket to a reserved port to
satisfy picky servers.  Also fix some missing initializations.
(Thanks to Chuck Cranor for PR#394 -- now fixed.)
1994-08-11 22:25:32 +00:00
cgd
5009183daf make output a bit cleaner, to satisfy mckusick. 1994-08-11 21:57:38 +00:00
mycroft
3c3258eb6d Make this work. 1994-08-11 04:54:13 +00:00
mycroft
55b11feb0a Update some comments. 1994-08-10 04:37:52 +00:00
mycroft
e079a8f355 Add ncr0. 1994-08-09 22:31:45 +00:00
mycroft
d291808d92 Add NCR and PCI files. 1994-08-09 22:24:29 +00:00
mycroft
8dbfcf9e2e Add NCR 53c8XX driver, originally from Wolfgang Stanglmeier. 1994-08-09 22:20:44 +00:00
deraadt
70a55969a1 tiny error 1994-08-09 19:55:09 +00:00
mycroft
3e685aec5c Change ST_Q_NEEDS_PAGE_0 to something more generic. 1994-08-09 18:50:17 +00:00
ws
872b3e89e0 Fix rename bug found by vdlinden@fwi.uva.nl 1994-08-09 18:44:12 +00:00
ws
865d38c0e2 Fix one of these famous off-by-one errors. 1994-08-09 17:51:29 +00:00
pk
ff05bd4bc1 Echo terminating NL too. 1994-08-09 14:00:06 +00:00
mycroft
199e2eea6a Fix handling of M-RET with PCVT_META_ESC defined. 1994-08-09 13:56:25 +00:00
mycroft
6df721be97 Add PCI autoconfiguration support. 1994-08-09 00:47:46 +00:00
gwr
dac6268e7d Added for X11 (at Theo's suggestion). 1994-08-08 21:14:15 +00:00
pk
a9b7ea6607 Only use doflush' when perftest' is #defined, as was probably intended. 1994-08-08 20:52:29 +00:00
deraadt
0e5ad5faf5 delete unused extern decl 1994-08-08 19:29:29 +00:00
phil
76987b5103 Clarify author and state of source. 1994-08-08 18:42:53 +00:00
mycroft
061c42c22d Minor update. 1994-08-08 07:09:31 +00:00
deraadt
c6a626e130 first cuts 1994-08-08 05:43:56 +00:00
phil
c343ac2001 It is about time to add this. 1994-08-08 04:51:03 +00:00
lkestel
e0b83d37fb Added Sysseg as argument to remap_MMU() so it can map the ROMs. 1994-08-08 00:14:42 +00:00
lkestel
ddd8267edb Some machines (e.g., IIcx) have '030 and map all of memory (4 gigs) with
the MMU.  Added sanity checking in the get_mapping() call to catch this
and stop at the end of RAM.  Now available RAM is min of booter-specified
amount and what the MMU maps.

Also added remap_rom() ifdef'ed out which uses early termination pte's
to map 8 megs of ROM.
1994-08-08 00:11:40 +00:00
lkestel
acb0c1ec5f Added ifdef'ed out code to map the ROM in pmap_init(). Might be enabled
later if we decide to use the ROM's for anything.
1994-08-08 00:08:47 +00:00
mycroft
59de58a39b Count up the silo overflows and only log a warning at most once per minute. 1994-08-07 11:27:51 +00:00
mycroft
9c8afcf191 Avoid using DFIFOHF, which doesn't exist on 6260 chips. Turn off
AIC_USE_DWORDS by default.
1994-08-07 10:51:40 +00:00
mycroft
b0db502d9c Remove diagnostic. 1994-08-07 10:49:06 +00:00
mycroft
d9a996a92e Add multiplexer for RT 4-port serial cards. 1994-08-07 10:45:53 +00:00
mycroft
70cc90a193 Add rtfps. 1994-08-07 10:43:56 +00:00
mycroft
b6e9bf14c8 Simplify the DEPCA memory test, and fix a problem with using the alternate
PROM address.
1994-08-07 00:56:04 +00:00
deraadt
ebd23fe5e0 cleanup 1994-08-06 23:19:39 +00:00
deraadt
4bb1df3001 maintain resident_count and wired_count 1994-08-06 22:08:32 +00:00
chopps
e18ca7a71a use tar for now until problem with pax can be solved. 1994-08-05 23:34:58 +00:00
chopps
37330ed064 mama always said to protect those macro args.. 1994-08-05 23:21:31 +00:00
mycroft
eade2eabf4 Clean up deleted files. 1994-08-05 23:16:10 +00:00
mycroft
558c00c001 Fix spelling of `STEREO'. 1994-08-05 22:56:19 +00:00
deraadt
cefefb25ca cleanup, working 32 bit IO on the 3c579, and memory alignment of insl/insw
for better performance.
1994-08-05 21:16:33 +00:00
briggs
183f4c6128 Lots of cleanup. Add functions for serial console--just stubs for now.
Fix initialization (for good this time?).
Little things.
1994-08-05 01:27:58 +00:00
brezak
62a05786ea Use installboot.sh from 4.4 instead of installboot.c 1994-08-04 19:42:16 +00:00
brezak
c2e9be0873 Make libsa compile again by not including sys/errno.h 1994-08-04 19:39:32 +00:00
ws
70b7bfcf94 Fix for endless loop on nearly full disk 1994-08-04 16:32:29 +00:00
mycroft
b5c5c47f92 Obey the command queue size for the controller. 1994-08-04 09:52:47 +00:00
mycroft
74d29b909d Disable most of the Cyrix-specific code by default; just turn off aching of
the ISA hole.
1994-08-03 22:35:02 +00:00
mycroft
3882663a9f Don't mess with Cyrix configuration bits that are hardware-specific. Move
all of the cache-enabling junk into an #ifdef.  Print a warning even if the
cache is enabled.
1994-08-03 22:11:53 +00:00
deraadt
ffb9d6e173 document cyrix configuration registers 1994-08-03 21:39:16 +00:00
mycroft
9d7eefb176 Change iosize to 16. 1994-08-03 09:17:12 +00:00
mycroft
a17171c0a2 Add a missing splx() and increase the reset delay during probe, as suggested
by Juergen Keil.  Add a diagnostic message if the controller info is not what
we expect.
1994-08-03 08:57:59 +00:00
mycroft
50a6dfb61a Actually, preserve PSL_T for debugging. 1994-08-03 06:28:10 +00:00
mycroft
0cdf874ccb Reset eflags on exec. 1994-08-03 06:26:00 +00:00
grantham
703df009b8 Multiply GMTBIAS by 60; it's in minutes, time is in seconds. 1994-08-03 06:23:10 +00:00
mycroft
5cd29a7fce Kill IOPL, dead, dead, dead. 1994-08-03 06:22:26 +00:00
mycroft
0372e53d79 Mild nits. 1994-08-03 06:03:12 +00:00
mycroft
d4a420650a Make sure CS8 is set if RAW is on. 1994-08-03 03:41:34 +00:00
briggs
d9e2b087ef Clean up a bit. Move ite to 11, generic console to 0. Add lkm stuff
to at least give it a prayer of working...
1994-08-03 02:53:36 +00:00
phil
000c57f728 fixed cdev vn config. *sigh* 1994-08-02 23:39:59 +00:00
ragge
8026fb53f2 Initial VAX port merging. 1994-08-02 20:18:46 +00:00
ragge
3fd2818a03 Added bcopy.s 1994-08-02 18:43:00 +00:00
briggs
08d96f103f Nuke holdovers from old HP300 console code. Get rid of any reference
to serial_boot_echo stuff here.
1994-08-02 17:55:24 +00:00
grantham
aa804576eb To get Greenwich Mean Time, *subtract* the GMTBIAS from our time,
passed in from Booter.  (Among its many features, MacBSD provides
time travel.)
1994-08-02 16:39:57 +00:00
ws
55211b963a Unmount the first dir, too. 1994-08-02 12:27:10 +00:00
mycroft
078c594c69 Fix this numerous bugs, including loss of OPOST mode. 1994-08-02 08:47:54 +00:00
mycroft
743c8ea38e Clear t_flags on first open. 1994-08-02 08:45:46 +00:00
paulus
da587a132a Use ld -N for linking the kernel instead of ld.old -n -P 1000. 1994-08-02 03:54:05 +00:00
phil
11bf31e8d7 add vn 1994-08-01 23:44:08 +00:00
phil
f9b2f20e7d proc_machdep.c => process_machdep.c 1994-08-01 22:58:42 +00:00
mycroft
f21e020e59 Clean up deleted files. 1994-08-01 22:57:01 +00:00
phil
787f57c486 name change. 1994-08-01 22:56:59 +00:00
phil
3ef27456a5 patches from Matthias Pfaller. 1994-08-01 19:32:52 +00:00
deraadt
24a23eab66 make work 1994-08-01 19:26:27 +00:00
pk
6c9ba984e5 See to it that vm_tsize' and vm_dsize' get set up properly for
OMAGIC binaries, so obreak(2) doesn't get confused.
1994-08-01 18:49:49 +00:00
glass
7ea51310a8 add ultrix_{get,set}sysinfo() from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:16:24 +00:00
glass
32d2a27836 ultrix_{get,set}info from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:15:06 +00:00
glass
a3cc8f5e8d fix for obreak problem from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:04:47 +00:00
lkestel
6f4140797f We used to disable the MMU before jumping to the ROM routine to
reset the machine.  This doesn't work on some '030s because maybe
not PA == VA where PC is.  Now if '030, don't disable MMU, just
use tt0 register to map ROM segment transparently.  Also removed
superfluous @ from new get_pte code.
1994-08-01 04:50:03 +00:00
chopps
02a49c0a18 GENERIC has AGA, otherwise some people can't run (i.e. monitors do not sync
at 15KHz).
1994-07-31 19:57:11 +00:00
briggs
22c202031c Make this assemble... pte_tmp1 -> pte_tmp and remove ref to
serial_boot_echo.
1994-07-31 19:25:11 +00:00
mycroft
45b0217c1e Fix up u14_find() a bit; mainly, don't include a DRQ for the 34f. 1994-07-31 19:21:40 +00:00
chopps
7f079c3dea fix default frequency so that normal VGA monitor types don't puke. 1994-07-31 18:42:06 +00:00
mycroft
a00c5fdb91 Add some missing newlines in the attach messages. 1994-07-31 18:25:50 +00:00
phil
9ef2196623 missed a f. 1994-07-31 15:50:52 +00:00
briggs
db27060127 serial_console passed in from booter. 1994-07-31 14:50:27 +00:00
briggs
22a76ec031 Fixup constab. 1994-07-31 14:23:33 +00:00
briggs
60df0b6e97 Add a serial console flag that's passed in from the booter. 1994-07-31 14:03:58 +00:00
mycroft
8a9df6389d Bug fixes from Mark Weaver. 1994-07-31 11:34:38 +00:00
mycroft
fc66b93a38 Fix for Cirrus Logic 542x boards, from Onno van der Linden. 1994-07-31 09:44:50 +00:00
mycroft
732acaee99 Add MAP_FILE as 0x0000, for compatibility, and to make some explanations of
how this all works a bit easier B-).
1994-07-31 08:47:46 +00:00
lkestel
1c22264669 Make internal video look like a grf device so that desktop and X can use
it.  GRFIOCMAP modifies addr to include the offset into the screen where
the first pixel is.  Not a very clean way to do it -- we should add a
field to grfinfo for offset.
1994-07-31 08:32:47 +00:00
lkestel
46bfdab4f8 Removed two useless variables. (hole_start, hole_end) 1994-07-31 08:28:32 +00:00
lkestel
ab2bb871e3 Added support for MACHINE_NONCONTIG for IIsi and IIci machines. Similar
to i386's, but more flexible to handle awkward MacOS maps.  pmap_collect()
is noop'ed out for now.
1994-07-31 08:27:38 +00:00
lkestel
a1dd8b3bd3 Added get_physical() to get physical address from logical address according
to MMU; get_mapping() to figure out how RAM and NuBus space is mapped;
remap_kernel() to remap the kernel page tables in case they were split
across memory banks; remap_nubus() to map internal video into NuBus space
where MacOS had it; and remap_MMU() to call the above.
1994-07-31 08:22:31 +00:00
lkestel
f81b696a46 Added get_pte() routine to get a pte from a logical address using ptest.
Cleaned up startup code in a big way.  Now calling get_mapping() if
'030 and MMU is on, and post-processing our page tables with remap_MMU().
1994-07-31 08:19:46 +00:00
lkestel
f6e6044227 Make GENERIC be MACHINE_NONCONTIG. 1994-07-31 07:31:45 +00:00
lkestel
82dcea7759 Fixed bug with bcopy()'ing more than 65535 bytes; initialize d_ttys and cn_tp
on itecnprobe(); other minor bug and warning fixes.
1994-07-31 06:45:50 +00:00
chopps
5903452aef remove hardcoded targets for sd0-7 now use sd*. 1994-07-31 06:41:01 +00:00
lkestel
faf8faf32f Added a few macros for keys; cleaned up; only define key array
ifdef KEYBOARD_ARRAY, else just declare it.
1994-07-31 06:33:41 +00:00
lkestel
ce200f2f92 Different pa_index() ifdef MACHINE_NONCONTIG. 1994-07-31 06:26:34 +00:00
mycroft
01d7a6c28b 0 --> NODEV 1994-07-31 04:59:36 +00:00
mycroft
6990b98c64 Patch from Onno var der Linden to fix reading and writing of 360K floppies
in 1.2MB drives.
1994-07-31 01:20:52 +00:00
mycroft
3436a4a65b Remove DIOCSDINFO completely; disklabel(8) will deal. 1994-07-31 00:47:52 +00:00
chopps
5838bf1a48 amiga boot floppy binaries 1994-07-30 19:30:30 +00:00
pk
cb1f841e18 Use PROM node properties to determine device type. 1994-07-30 14:22:11 +00:00
lkestel
f3c8dbbd87 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:58 +00:00
mycroft
639939abca Clean up deleted files. 1994-07-30 04:21:48 +00:00
lkestel
774ef66058 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:42 +00:00
gwr
ad138901b9 My config file for testing. 1994-07-29 04:19:59 +00:00
gwr
06d1ca40f1 Remove some overly paranoid and incorrect debugging tests. 1994-07-29 04:04:31 +00:00
mycroft
1d2563f804 Use `swap generic'. 1994-07-29 01:16:35 +00:00
grantham
cf1aabfe57 Use values from Booter to initialize time correctly for machines
without readable PRAM.  (IIvx users should be pleased.)
1994-07-29 00:52:18 +00:00
mycroft
3ed3679b67 Make this work. 1994-07-28 21:40:27 +00:00
mycroft
53f3b61cdc Redux. 1994-07-28 19:57:31 +00:00
mycroft
c405e84a24 port --> iobase 1994-07-28 09:50:33 +00:00
mycroft
e17799897e Clean up deleted files. 1994-07-28 09:05:04 +00:00
mycroft
d02e11d543 Make the EISA reset code like the other drivers. 1994-07-28 08:44:47 +00:00
mycroft
fb500c4d07 Redo some of the EISA config stuff. 1994-07-28 02:39:21 +00:00
mycroft
c1a5741a3b Remove unused macros. 1994-07-27 15:02:59 +00:00
mycroft
aeac43f556 Use the automatic IRQ/DRQ detection. 1994-07-27 14:46:34 +00:00
mycroft
5e04cfb942 Fix typo. 1994-07-27 13:24:17 +00:00
mycroft
4ac4810048 Normalize. 1994-07-27 13:14:14 +00:00
mycroft
1939acdbd2 Fix the DMA setup. 1994-07-27 13:10:33 +00:00
mycroft
1a9c6d05a3 Enable IRQ probing, and fix the DMA setup. 1994-07-27 12:57:02 +00:00
mycroft
f21c4cc68a Fix byte-order bug in printf() statement. 1994-07-27 12:36:09 +00:00
deraadt
14fe202dc4 cleanup 1994-07-27 09:57:55 +00:00
deraadt
23d08dc0be cleanup 1994-07-27 09:13:54 +00:00
deraadt
fb42f63898 bug 367. paulus says the fix is right & critical. 1994-07-27 09:05:33 +00:00
cgd
d5bc01994f include libkern.h 1994-07-27 07:58:45 +00:00
cgd
de29b5d301 get includes from sys, and define KERNEL 1994-07-27 07:40:52 +00:00
cgd
20b21822a4 use ALIGN, rather than hard-coded numbers 1994-07-27 07:39:17 +00:00
cgd
ab51cf264b make bcopy work for overlapping regions, as is standard. 1994-07-27 07:38:17 +00:00
cgd
4b0d7d9d90 get rid of someone else's bravery (stupidity) 1994-07-27 07:37:25 +00:00
gwr
9f5e7a71ae Add swapconf() to compute size of swap space, and
variables required by savecore.  No dumpsys() yet.
1994-07-27 04:51:58 +00:00
brezak
60d0f39500 Build libsa too 1994-07-27 03:10:37 +00:00
mycroft
dffcd8ea8d Enable IRQ probing. 1994-07-27 03:09:21 +00:00