Commit Graph

5993 Commits

Author SHA1 Message Date
briggs cc272f90a1 Add in NetBSD id string. 1995-11-03 04:51:51 +00:00
briggs 5b38a18f42 include files.fpe instead of just fpu_emulate.c--to get the new fpe code. 1995-11-03 04:50:21 +00:00
briggs 526615e592 Add NetBSD id string and update instructions. 1995-11-03 04:48:22 +00:00
briggs fc8793fb3d Still incomplete, but much more complete FPE from Ken Nakata
<kenn@remus.rutgers.edu>.  This emulator does not yet emulate
the following functions:
	FSINH, FETOXM1, FTANH, FATAN, FASIN, FATANH, FSIN, FTAN,
	FETOX, FTWOTOX, FTENTOX, FCOSH, FACOS, FCOS, FSINCOS
It is sufficient, however, to allow programs like df, w, and newfs,
to run to completion with correct results.
Portions of this code were based on the sparc fpe and on initial
work by gwr.
1995-11-03 04:46:55 +00:00
briggs 3074f94137 Remove ser1 from init list. 1995-11-01 04:59:31 +00:00
briggs 9a1fb2674a Fixup error/debugging message. 1995-11-01 04:59:03 +00:00
briggs c587e77144 Remove bogus assignment. 1995-11-01 04:58:21 +00:00
briggs 819cd49aa7 Remove -fno-builtin 1995-11-01 04:53:34 +00:00
briggs 4d13774bbc Rearrange a bit. bpfilters -> 16 and ae0/ae1 -> ae*. 1995-11-01 04:52:46 +00:00
briggs 680ada5add port-mac/1707: mac68k mouse drag problems with Cmd+arrow keys
from Ken Nakata <kenn@remus.rutgers.edu>
1995-11-01 04:40:21 +00:00
hpeyerl 5d67fa8cb9 Taking out the trash. 1995-10-31 18:03:39 +00:00
briggs 8218c4005c Pull in all but one of Leo's changes from the atari copy. 1995-10-31 15:32:35 +00:00
gwr 7ff18ba0a2 The xy goes on VME16, not VME32. 1995-10-30 21:15:40 +00:00
gwr 1195faa6f4 Add the function isbad(), needed by xd/xy drivers. 1995-10-30 20:59:27 +00:00
gwr b3a6cbaeb0 New from Chuck Cranor: drivers for SMD disks!
xd: Xylogics 753/7053 SMD disk controller
xy: Xylogics 450/451 SMD disk controller
These now compile, but have not been tested.
1995-10-30 20:58:04 +00:00
ragge 8010d89785 Must use PAGE_SIZE family instead of NBPG family.
(phys page size != virt page size)
1995-10-30 16:27:56 +00:00
gwr 93d0f65970 New SCSI driver for the NCR5380, by David Jones.
Does DMA with interrupts.  Much faster than our old
driver which did only PIO transfers. (Thanks David!)
Could be used on the amiga, and probably others...
1995-10-29 21:19:06 +00:00
gwr 1e3a9a42c6 Fix previous change that broke kd console 1995-10-29 04:15:59 +00:00
pk c0a156c9fd Map pixels in VME32 space 1995-10-28 23:15:16 +00:00
jtc 014044ef1a Fix formatting 1995-10-28 20:43:49 +00:00
tls 20fd1b6a7f Start to sort out install kernel size and bt/aha issues. Will be revised. 1995-10-28 04:06:21 +00:00
tls 488b27678f The INSTALL kernel is broken and will be replaced by split INSTALLAHA/INSTALLBT. 1995-10-28 03:55:10 +00:00
gwr 57a52744c1 Fix names (vtrace ==> sys_vtrace, etc.) 1995-10-27 15:58:23 +00:00
gwr f966527839 Work around the LANCE Rev. C bug in a way that does not cause error
messages when BPF puts the interface in to promiscuous mode.
1995-10-27 15:53:39 +00:00
jonathan cf5cff6ce5 Change PROM callback from "strcmp" to "_strcmp", which is what
dec_prom.h uses.
1995-10-26 01:39:49 +00:00
jonathan d3d55dedb5 Macro definitions of ntohs() and ntohl() for pmax bootblocks. 1995-10-26 01:31:09 +00:00
jonathan 8e3a40d820 Commit missing modified copy of (old) sparc filesystem.c, that has
a comple-time option to support a subset of UFS operations, to build
small bootblocks.
1995-10-26 01:29:34 +00:00
mycroft baf5b9b139 Fix oversight in last change; some BIOSes leave junk in %fs and %gs that must
be cleared.  Pointed by Alasdair Baird.
1995-10-24 16:27:54 +00:00
pk e4fcc8ab5a Move DMA chip draining to dmaintr() and drain when a (possibly partial)
transfer ends in stead of doing it before starting a new transfer.
Use a different CSR bit to wait for "chip not busy" (may be necessary to
make this conditional on chip revision).
1995-10-24 16:26:54 +00:00
pk a3f2bf19e4 Various:
- make esp_poll() approximate the given timeout value.
	- introduce esp_abort(), and use it for timed out commands; make		  targets and driver less confused.
	- make {free,ready,nexus}-list management somewhat more coherent.
	- make sure we only proceed down the state machine in espintr()
	  if there really is an interrupt pending.
1995-10-24 16:03:57 +00:00
pk dc3c0d7db7 Define VIDEO enable bit (per Jason Thorpe; PR#1672). 1995-10-23 23:36:28 +00:00
pk 7a9ddaff33 On-board bwtwo diddles a system enable register bit for video, per Jason
Thorpe (PR#1672).
1995-10-23 23:35:03 +00:00
gwr f2345fb358 Use correct size access (char,short,int) in db_read_bytes, db_write_bytes
otherwise access to some device registers will give misleading results!
(I learned this the hard way while debugging the NCR SCSI driver...)
1995-10-23 18:40:35 +00:00
pk 5e55f88874 Remove `-fno-builtin'. 1995-10-22 17:36:33 +00:00
thorpej af18124282 We no longer need -fno-builtin; syscall namespace has been cleaned up a bit. 1995-10-22 06:05:21 +00:00
jtc 1fa962ddd0 netbsd.warped.com aka. {ftp,sup}.netbsd.org 1995-10-20 21:24:37 +00:00
ragge 440b596a77 Added M_OP_POS (positioning tape). 1995-10-20 13:51:56 +00:00
ragge b57ff30a87 Added #ifdef _KERNEL around definition of struct rpb. 1995-10-20 13:47:27 +00:00
ragge ad3443e06c Additions to be able to write to massbuss disks standalone. 1995-10-20 13:43:43 +00:00
ragge fbc5d6e054 SA_LIB -> SALIB
Include rpb.h. Typeclash fixes.
Removed #include of non-existing file.
1995-10-20 13:35:41 +00:00
ragge 5d49d3ac8f Use macros.h when STANDALONE is defined. 1995-10-20 12:55:06 +00:00
chopps b2d4fa2dd3 cleanup warnings (fixes pr#1642) 1995-10-20 10:08:24 +00:00
thorpej 62150b43b1 Truncate the incoming packet if it doesn't fit into the buffer. 1995-10-19 18:43:27 +00:00
thorpej ef52ec31c1 Recompile genassym if the Makefile changes. 1995-10-18 22:50:15 +00:00
pk bbfd54d128 Merge from netbsd-1-1 branch: kgdb_debug_panic decl; PR1633 1995-10-18 21:54:34 +00:00
gwr 126ecc3dda Explain why sun3_context_equiv() can not just call set_segmap_allctx(). 1995-10-17 23:16:40 +00:00
gwr 9182ffe624 Get rid of an extra twiddle() call (ufs.c does it.) 1995-10-17 23:07:19 +00:00
gwr ca022f8909 Re-write of tapeboot, using a "rawfs" abstraction to hide the fact
that the device only supports block access.  (Even works now!)
1995-10-17 22:58:10 +00:00
jonathan 3b8faec21d Initialize pointer to the fb method table. Not initializing the
method table for the 2100/3100 fb caused a panic when an X server started.
1995-10-16 22:28:36 +00:00
thorpej 43358aae60 Deal with vendor, product, and revision strings properly. 1995-10-16 08:51:49 +00:00
mycroft 61d3ef1018 Fix small oversight. 1995-10-15 22:09:45 +00:00
thorpej 5dcaa0b51c Be a tad bit more informative when the drive is attached. Print geometry
info when appropriate, because, darn it, it's useful.
1995-10-15 10:03:18 +00:00
mycroft c3779c515d Fix typos. 1995-10-15 05:58:44 +00:00
mycroft 5a227363fd Fix problem reported by r_friedl@informatik.uni-kl.de; when LDT is resized,
the wrong amount of memory is freed.
1995-10-15 05:48:08 +00:00
mycroft e964003409 Rename some variables for consistency. 1995-10-15 05:43:49 +00:00
mycroft e8011301bf Style police. 1995-10-15 04:18:27 +00:00
briggs 47c507f8fd SUNOS_SYS_sunos_sigreturn -> SUNOS_SYS_
sigreturn.
1995-10-15 03:01:57 +00:00
leo ebc6d5a705 Use general bound-check function. 1995-10-14 20:17:46 +00:00
fvdl 6ce6eef6d8 child_return broke Linux fork() 1995-10-14 14:06:16 +00:00
leo 79053fd0de Allow only transfers that are a multiple of DEV_BSIZE when doing 'raw' I/O. 1995-10-14 13:04:19 +00:00
gwr 6af0af5daf Change the interface to prom_iopen() slightly, for tapeboot. 1995-10-13 21:44:57 +00:00
gwr 52f39566b5 Add tapeboot, make ${SA_PROG}.bin padded to a block boundary. 1995-10-13 21:44:08 +00:00
gwr c4e07b055f Bump version number. 1995-10-13 21:33:09 +00:00
gwr c890f5c659 Boot program to help load tape kernels.
(You can even choose a tape segment!)
1995-10-13 21:27:30 +00:00
gwr df737690d7 Remove (again) things accidently revived by cvs tag... 1995-10-13 19:37:06 +00:00
chuck 54606ca765 sync with sun3 version and libsa changes 1995-10-12 22:48:20 +00:00
chuck bb184934d0 sync with sun3 version and libsa changes 1995-10-12 20:39:49 +00:00
chuck 3cbeee1f5b changed sysarch() to sys_sysarch() 1995-10-12 20:03:39 +00:00
chuck ab55ab9c8c changed blkclr to bzero 1995-10-12 20:02:19 +00:00
chuck 31552196e9 remove bzero/strlen/bcmp as they are now in libkern 1995-10-12 20:00:40 +00:00
mycroft 086845d5d3 Move the initialization of proc0's TSS and LDT to the end of cpu_startup(),
and switch to dynamically allocating the TSS.
1995-10-12 17:56:36 +00:00
briggs 67e41c3280 Remove extra serial device--forgot to check this in earlier.
The serial device now handles both channels.
1995-10-12 17:39:45 +00:00
chuck 6323b1197a changed SUNOS_SYS_sunos_sigreturn to SUNOS_SYS_sigreturn. 1995-10-11 23:52:35 +00:00
mycroft 50f83bdbdf Maintain a free list. 1995-10-11 23:39:08 +00:00
mycroft 2765bc7b44 Go back to statically allocating the GDT entries for proc0. 1995-10-11 19:32:31 +00:00
mycroft c9b339fcd1 Clean up deleted files. 1995-10-11 18:51:50 +00:00
mycroft 059cb84d53 Fix typo. Also, remove diagnostic in svr4_sys_sysarch(). 1995-10-11 17:04:11 +00:00
pk ce2afd8d64 Sync filesystem before running installboot. 1995-10-11 13:32:57 +00:00
mycroft ddbde6d166 Remove reference to dead variable. 1995-10-11 06:24:28 +00:00
mycroft fda13ac9c6 Clean up deleted files. 1995-10-11 05:28:06 +00:00
phil 715002290d remove old 1.0 distribution configs, tune 1.1 kernel configs. 1995-10-11 04:53:57 +00:00
mycroft 72805df917 Various changes from John Kohl and me:
Map kernel stacks only at unique addresses.
Use one TSS per process.
Add sysarch calls for modifying IOPL and the I/O permission bitmap.
Add a compacting GDT entry allocator, for TSS and LDT selectors.
Enable modifying %fs and %gs with PT_SETREGS.
Sanitize various bits of code.
1995-10-11 04:19:29 +00:00
gwr 22bcf4e552 New function: set_segmap_allctx() 1995-10-10 21:38:56 +00:00
gwr 1b2cf12fa7 Need to use set_segmap_allctx() on kernel-space segments.
(Thanks again to David Jones!)
1995-10-10 21:37:29 +00:00
gwr 4575a77421 Get rid of things now in libkern: bzero, bcmp, strlen 1995-10-10 21:35:42 +00:00
gwr 464d1686fd sysarch --> sys_sysarch 1995-10-10 21:34:50 +00:00
gwr 127019022a SUNOS_SYS_sunos_sigreturn -> SUNOS_SYS_sigreturn 1995-10-10 21:33:33 +00:00
gwr f1b8ad3645 New function: set_segmap_allctx() 1995-10-10 21:29:02 +00:00
gwr dda519e3d9 The previous hack to save two instructions when the
return value of splx() was ignored did not prevent the
optimizer from re-ordering the asm statements! (Yikes!)
Revert this to the old, single asm statement method.
Thanks VERY MUCH to David Jones for finding this!
1995-10-10 21:28:00 +00:00
gwr facfdf5c60 Use sys/scsi/files.scsi 1995-10-10 21:25:29 +00:00
gwr b797d6e69d Cosmetic: Kill trailing whitespace, etc. 1995-10-10 21:18:01 +00:00
pk 64a90cd0b0 Check input channel in gettick(); for `L1-A' processing. 1995-10-10 20:11:33 +00:00
pk ebe37d8041 We don't need `rem.o'. 1995-10-10 20:07:54 +00:00
mycroft 28484180c7 Fix minor oversight. 1995-10-10 18:27:25 +00:00
phil 326e5742ac Disable interrupt to avoid a bug. This makes the "new ncr" driver
stable enough to use in the distribution.  We still need to find out
where the bug is when interrupts are enabled.
1995-10-10 08:08:01 +00:00
mycroft eb44441b87 Pull in microcode dependencies. Remove -fno-builtin. 1995-10-10 05:58:00 +00:00
mycroft 5d9ff18d18 Switch to user code and data selectors in the GDT while handling signals. 1995-10-10 04:54:18 +00:00
mycroft 25f53a986f Add USERMODE() and KERNELMODE() macros, and use them. 1995-10-10 04:45:03 +00:00
briggs 712a3f32c4 Nuke blkclr and use thereof. 1995-10-10 04:14:18 +00:00
briggs 2738554927 Get rid of libkern duplicates. 1995-10-10 03:49:04 +00:00