Commit Graph

4555 Commits

Author SHA1 Message Date
cgd c5bedb0aa6 fix for kern/322, pointed out by osymh@gemini.oscs.montana.edu. Neither
suggested fix was correct: the suggested change to cache_lookup would cause
the counters to be incremented when doingcache was zero, and the suggested
change to cache_enter was prone to a race condition (e.g. if doingcache
became 1 between the cache_lookup and cache_enter).
1994-07-05 19:09:32 +00:00
mycroft 923bab6d40 HPFPLIB --> FPSP 1994-07-05 18:16:43 +00:00
mycroft eddb30ab43 Port to NetBSD, with some bug fixes and minor performance tweaks. 1994-07-05 17:56:52 +00:00
mycroft 716b96f660 Clean up deleted files. 1994-07-05 17:56:19 +00:00
mycroft 22ef5fa9e9 Import the Motorola 68040 Floating Point Software Package. 1994-07-05 17:50:24 +00:00
mycroft 8133f8819b Clean up deleted files. 1994-07-05 17:22:09 +00:00
mycroft df5fb04d0c Remove fpsp.U. 1994-07-05 17:12:45 +00:00
mycroft 53dacdcce5 Add FPSP magic. 1994-07-05 17:11:21 +00:00
mycroft fc6b5fa682 Redo the interface to FPSP, using the supplied glue code. 1994-07-05 17:08:51 +00:00
mycroft 1d45aaf9e2 Fix a compiation problem. 1994-07-05 17:08:16 +00:00
glass f8fa8176cf another bad include 1994-07-05 04:24:14 +00:00
briggs 782af154d0 Need the extra byte in the temp buffer to avoid overrun in scrollup on
wide screens.
1994-07-05 03:48:56 +00:00
gwr f4e2e49ef3 Add yet more debugging code... (but still not enough). 1994-07-05 03:45:14 +00:00
glass a957351354 multiple include of exec.h 1994-07-05 03:26:34 +00:00
gwr e97507bf44 Fix uninitialized local variable in get_pte_pmeg which caused
random physical pages to be unmapped, etc.
1994-07-05 03:00:37 +00:00
glass fdbee87708 returning a gift 1994-07-04 23:25:12 +00:00
mycroft 628f44ceb3 Kill addupc(). 1994-07-04 23:20:44 +00:00
mycroft bc31358508 Fix some profiling stuff. 1994-07-04 23:19:17 +00:00
briggs d0f0219076 Don't blow up on huge screens. 1994-07-04 23:05:34 +00:00
briggs ec394b297c A few things that I think are probably bogus, but I'm getting a lot
farther, now...
1994-07-04 22:44:24 +00:00
briggs 405051c0f8 Make sure TT's are disabled along with the MMU.
TBIA for paranoia's sake.
1994-07-04 22:41:47 +00:00
cgd 2fcbfa09c2 u_long to dev_t, for va_rdev 1994-07-04 22:26:38 +00:00
deraadt 12c6ff514b need vm/vm.h 1994-07-04 21:37:20 +00:00
deraadt 7526e115b9 add srmmu flush/prope ASI sub-codes 1994-07-04 21:36:10 +00:00
deraadt 57fca6c013 goodbye BTOPKERNBASE 1994-07-04 21:35:33 +00:00
mycroft b303126d1e Do the doasyncfree conditionalization better. 1994-07-04 21:06:07 +00:00
mycroft 7f9b78dbbe Revert most of the previous change. 1994-07-04 20:43:06 +00:00
chopps b10a5d5fac change to support other MAXPARTITIONS vals aside from 8 1994-07-04 20:39:46 +00:00
chopps 5000b8947b conditional FPSP stuff. 1994-07-04 20:27:44 +00:00
cgd 34a7f2bbed minor style nits, change VBAD handling 1994-07-04 20:27:06 +00:00
cgd 3b513cecb5 ISOFS -> CD9660 1994-07-04 20:22:26 +00:00
chopps 39be43d67f move to new disk minor encoding (parts have lowest 4 bits instead of 3)
remove multiple inclusions protection from varargs.h
1994-07-04 19:39:59 +00:00
chopps 3f9c050090 move to new disk minor encoding (parts have lowest 4 bits instead of 3) 1994-07-04 19:37:51 +00:00
briggs ae562c7ee4 ifdef out FPSP support to avoid having to use fpspnull.
Fix a bogon.
1994-07-03 11:57:56 +00:00
mycroft 3673f99efd No more HP copyright. 1994-07-03 11:45:41 +00:00
mycroft 0535e409f8 Clean up deleted files. 1994-07-03 11:44:17 +00:00
mycroft 15814de648 Switch to Motorola emulator. 1994-07-03 11:41:33 +00:00
mycroft 1c1622ca22 Clean up deleted files. 1994-07-03 11:40:39 +00:00
mycroft 86726bc4e3 Switch to Motorola emulator. 1994-07-03 11:40:35 +00:00
mycroft 67545e35a4 Remove bogon. 1994-07-03 10:24:21 +00:00
mycroft 75d34a2362 Clean up deleted files. 1994-07-03 10:23:31 +00:00
mycroft af65c82115 Style nits. 1994-07-03 09:51:58 +00:00
mycroft 2896174213 Save FS type at mount time for some later tests. 1994-07-03 09:24:01 +00:00
mycroft c6d5fd7263 Fix problem with O_TRUNC and NFS device nodes. 1994-07-03 09:22:37 +00:00
cgd ea01579f35 light clean up, use some macros 1994-07-03 07:57:32 +00:00
deraadt 5044aff065 bug #319. fix from <alasdair@wildcat.demon.co.uk> 1994-07-03 06:44:03 +00:00
mycroft 3410def915 Clean up deleted files. 1994-07-03 04:27:17 +00:00
cgd ea1b26b17b kill a relic 1994-07-03 00:19:54 +00:00
chopps 983c19d69d increase SYSPTSIZE to 2 to accommodate zthreebus devices. 1994-07-02 21:16:36 +00:00
chopps 55713234f3 couple fixes from Michael. 2091 now uses 24bit only dma (oops) 1994-07-02 21:15:10 +00:00
chopps 344d199647 we like cache. 1994-07-02 20:26:19 +00:00
chopps f9e885c22e remove exec_aout.h 1994-07-02 15:53:56 +00:00
briggs c2bd0b444a Scam from amiga and update a little for the current tree. May need some
more work.
1994-07-02 13:11:10 +00:00
briggs 04ea0266b3 Getting a lot closer. Took out a lot of debugging output. 1994-07-02 13:04:49 +00:00
briggs 2e3a0bfade Get rid of exec_aout.h inclusion. 1994-07-02 13:04:03 +00:00
briggs 712c344e9d Turn off MMU early on '040 machines. Put gray_bars around this in case
it hangs on some machine.  (Q700 is mapped PA==LA in MacOS--at least in
this version of the MacOS).
1994-07-02 13:03:13 +00:00
briggs e24c7f4fc9 The NCR 5380 driver is now called ncrscsi instead of ncr. 1994-07-02 13:01:32 +00:00
briggs ebdc074703 Reset sccaddr if we're resetting the video address.
Nuke some debugging output.
1994-07-02 13:00:37 +00:00
hpeyerl 3214723fcf These should have been the 4.4Lite versions. duh. 1994-07-02 06:03:47 +00:00
deraadt 318b9c6b63 limit st_dev to 15 bits set for nfs filesystems 1994-07-02 04:51:18 +00:00
mycroft 801d30952a ISDEBUG --> LEDEBUG, and fix some ugly code. 1994-07-02 04:13:16 +00:00
deraadt 7bb91385ad tmd2/rmd2 have bits which must be set to 1 1994-07-02 01:10:05 +00:00
deraadt 943735dc41 modifications to the threshold and nicer error checking from christos
and .. splhigh() around insw/outsw code.. yetch
1994-07-01 23:08:11 +00:00
mycroft 73aca695ac Make sure we don't leave the interrupt masked after some errors. 1994-07-01 21:38:19 +00:00
mycroft 2f609096e4 Inline le{rd,wr}csr(). 1994-07-01 21:34:40 +00:00
mycroft bf74fc41d1 Add prototype. 1994-07-01 21:33:20 +00:00
mycroft f62bc452ca Correct some comments. 1994-07-01 21:31:14 +00:00
gwr d79cf5993e Oops, the call to trapsignal needs to be conditional. 1994-07-01 21:30:13 +00:00
mycroft 4a9a4fb27b Clean up deleted files. 1994-07-01 20:25:29 +00:00
mycroft 66e72cdf4b Rename is to le, and add support for some models of DEPCA. 1994-07-01 20:25:25 +00:00
deraadt 7926e3feb5 match normal Makefile 1994-07-01 20:18:48 +00:00
mycroft 6b879e0403 is0 --> le0, and give trinity one. 1994-07-01 20:09:56 +00:00
deraadt 4b582be3c4 add support for the Mostek MK48T08 (found in sun4m) 1994-07-01 19:59:13 +00:00
pk 7d2e12f330 Adapt to current libsa. 1994-07-01 10:46:55 +00:00
deraadt d34a60b7fd document field 1994-07-01 09:23:58 +00:00
phil bfeb27c384 state save for config.new stuff 1994-07-01 04:25:48 +00:00
phil 9ccf79aae9 param.h: make #include conditional on KERNEL
vmparam.h: remove MINFREE ...
1994-07-01 04:25:20 +00:00
phil ec163683a8 State save on work to get config.new working. It is close. 1994-07-01 04:23:57 +00:00
deraadt 877c6d65ed do not use /usr/include to compile
link against libkern, not libc
1994-07-01 03:02:29 +00:00
deraadt cc7bf234c6 exec_aout.h not needed 1994-07-01 02:57:52 +00:00
deraadt 9a0a9573a1 macros and "struct exec" in exec_aout.h now 1994-07-01 01:30:26 +00:00
cgd 7a6b124b88 don't wrap lines 1994-06-30 20:37:31 +00:00
deraadt 34ab47567a correct proto 1994-06-30 20:25:42 +00:00
deraadt c5656ed1f6 clean obj better 1994-06-30 20:17:47 +00:00
cgd d8d1a3037b fix warning 1994-06-30 19:00:49 +00:00
cgd a2e313bd42 gen syscall fiels from new syscalls.master 1994-06-30 17:01:45 +00:00
cgd 19f726e77f fix a botch, and gen syscall files 1994-06-30 17:00:13 +00:00
cgd bc9970144d fix up for new ID format, and consistency 1994-06-30 16:42:47 +00:00
cgd e692ddd378 fix some lossage 1994-06-30 15:57:05 +00:00
gwr 1f142431e8 Fix disassembly of branches with byte displacement.
Disassembler routine no longer prints the address because
db_examine now does it for us (fixes "double speak" bug).
1994-06-30 12:54:44 +00:00
gwr e49a8e54d0 Make "examine" (x/i) always print the address. 1994-06-30 12:49:54 +00:00
gwr c39ef8bbe5 Add yet more debugging hacks:
set pmap_db_watchva=VADDR to see all activity for that VADDR
1994-06-30 12:45:54 +00:00
gwr 2a45f65ed0 Yes, trap() can be called when curproc==NULL 1994-06-30 12:42:05 +00:00
chopps f3ac12d5c9 some aga cleanup from osymh@gemini.oscs.montana.edu (Michael Hitch) 1994-06-30 11:49:05 +00:00
pk 4070698468 error codes are in network order too. 1994-06-30 10:45:03 +00:00
cgd 59ca7c5f1f fix the definition of a dev_t 1994-06-30 08:05:54 +00:00
deraadt 0cb4bed2dd knf 1994-06-30 07:25:23 +00:00
deraadt cb2b615c65 to find the DEFS.h files here, not in libc.. 1994-06-30 06:54:22 +00:00
deraadt 983c6f33c3 auto-copied from libc 1994-06-30 06:52:54 +00:00
deraadt b13e4ea39a find divrem.m4 automatically 1994-06-30 06:51:51 +00:00
mycroft 7762f58480 Clean up deleted files. 1994-06-30 04:49:02 +00:00
mycroft 4908dd6ed9 Clean up deleted files. 1994-06-30 04:26:23 +00:00
deraadt b70d67af03 mv ${arch}/ to arch/${arch}, so that libkern builds without obj/ 1994-06-30 04:26:07 +00:00
phil 8c1fd46d99 <scsi/xxx.h> => "../../scsi/xxx.h" for use with old conf and "pc532 special
scsi."  As soon as config.new is working on the pc532, pc532/scsi should
disappear.
1994-06-30 01:12:44 +00:00
deraadt fd7c79353e knf 1994-06-29 23:32:42 +00:00
deraadt b9e352dcab knf 1994-06-29 22:41:41 +00:00
cgd ef9dc92b8e this is what cdefs.h is for 1994-06-29 21:23:15 +00:00
chopps d64a1b73b1 aga mode, finally.. thanks to osymh@gemini.oscs.montana.edu (Michael Hitch) 1994-06-29 13:12:43 +00:00
deraadt 9bc624e44c knf 1994-06-29 07:28:36 +00:00
cgd fccfa11af5 New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:39:25 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
cgd f83cfd0853 take three 1994-06-29 06:19:16 +00:00
gwr 76511003fc Make setsoft* use the real software interrupt register.
Integrate several fixes from the amiga port (and drop COMPAT_HPUX for now).
Add lots of debugging checks to pmap.c - still needs work.
1994-06-29 05:35:55 +00:00
gwr ab9bc34d8d ...wrong version last time... 1994-06-29 05:34:16 +00:00
gwr c51c8eb6c8 ..wrong version last time... 1994-06-29 05:32:53 +00:00
briggs cefec1332a Still not working, but getting closer. Lots of debugging stuff left in
here.
1994-06-29 04:59:05 +00:00
briggs cd7957a201 Only do some of these mods on the first pass. 1994-06-29 04:57:43 +00:00
briggs 984ca4e84d Oops. w/ 4k pages, PTSIZE is larger. 1994-06-29 04:55:57 +00:00
mycroft 91e5666a46 Optimize vmapbuf(). 1994-06-29 02:32:56 +00:00
mycroft 88c2dbd163 Add a couple of casts. 1994-06-29 01:54:09 +00:00
mycroft 527648cd2f Eliminate use of b_bufsize, and clean a little. 1994-06-29 01:51:06 +00:00
deraadt 50b13742e4 _MACHINE_VARGS_H_ 1994-06-29 00:45:01 +00:00
mycroft 6c5092484b Eliminate use of b_bufsize, and instead pass an extra arg to v(un)mapbuf(),
to be consistent with vs)un)lock().
1994-06-28 22:21:16 +00:00
cgd c882a91e7e add a new MID_ 1994-06-28 22:18:15 +00:00
gwr f3d0b50b88 Make setsoft* use the real software interrupt register.
Integrate several fixes from the amiga port (and drop COMPAT_HPUX for now).
Add lots of debugging checks to pmap.c - still needs work.
1994-06-28 22:05:41 +00:00
mycroft d22df96ea2 Reload mnt_maxsymlinklen, for `fsck -c2'. 1994-06-28 21:50:24 +00:00
gwr ccceee9df1 Make setsoft* use the real software interrupt register
provided on Sun machines (instead of simulating mtpr).
1994-06-28 21:47:56 +00:00
gwr dd658a58ea Add PMEGQ_KERNEL for pmegs on the new kernel queue. 1994-06-28 21:44:38 +00:00
gwr 8db19b31db Make initial tty mode the same as the PROM uses
(so you can read the console messages).
1994-06-28 21:42:32 +00:00
gwr 321a38087b Move vnode_if.o earlier in the OBJ list. 1994-06-28 21:40:34 +00:00
gwr ccb36b6b7d Minor nits: replace ... with ...
p->p_cred->pc_ucred	p->p_ucred
	x / DEV_BSIZE		x >> DEV_BSHIFT
1994-06-28 19:12:59 +00:00
deraadt e9aa986658 nice little colons 1994-06-28 07:55:25 +00:00
deraadt f28df7b8d5 i will run quotas 1994-06-27 21:16:36 +00:00
cgd c43486be77 clean up SCCS/RCS ID's, add NetBSD to rcsid's. 1994-06-27 19:54:45 +00:00
cgd 89e331dcad new standard, minimally intrusive ID format 1994-06-27 19:40:57 +00:00
cgd f21254981e new standard, minimally intrusive ID format 1994-06-27 19:27:39 +00:00
chopps 43f5db7cf8 some fixes from Michael 1994-06-27 04:56:29 +00:00
chopps 3252e2de20 some minor changes 1994-06-27 04:55:58 +00:00
cgd 9608c5b657 clean up slightly; change RCS ID's to be minimally intrusive 1994-06-27 04:55:46 +00:00
chopps a4f9f62cf0 recognize amix partitions that are of bsd 4.2 type. 1994-06-27 04:55:38 +00:00
jtc 82b2ae7b2e Provide ftok() prototype. 1994-06-27 04:39:53 +00:00
cgd e4c9e4b2cd these were supposed to be written in C; they should follow its syntax 1994-06-27 04:03:15 +00:00
hpeyerl 73485a0035 Why was DESTDIR= here? From Dave Carrel <carrel@cisco.com 1994-06-27 04:00:52 +00:00
hpeyerl 83daee43dd woops. Not OLD_DISKLABEL 1994-06-27 03:20:08 +00:00
phil 55485b69fe Checkpoint: closer to having config.new working with the pc532 1994-06-26 15:00:39 +00:00
phil e64c23ff7e Checkpoint: closer to having config.new working with the pc532
These files should go away some day, but for now, to allow both
config and config.new to work at the same time ...
1994-06-26 15:00:06 +00:00
phil 2f40172e20 Checkpoint: closer to having config.new working with the pc532 1994-06-26 14:58:53 +00:00
briggs 3f62caebc0 MIN->min. Should be using sys/scsi stuff instead. 1994-06-26 13:26:05 +00:00
briggs ef1af9fc59 Cleanup a lot and bring in line w/ 4.4-lite. 1994-06-26 13:25:16 +00:00
briggs f5c81ba898 Add md_coredump. 1994-06-26 13:24:44 +00:00
briggs 4d315aa38f Fix warnings... 1994-06-26 13:23:46 +00:00
briggs a9cda66bb3 PG_CC -> PG_CCB 1994-06-26 13:23:01 +00:00
briggs 96f45a2901 First pass at a header file for the NCR 53C96 driver (still under
construction).
1994-06-26 13:22:32 +00:00
briggs e606973964 Cleanup some. Deprecate a few defines that are no longer needed. 1994-06-26 13:21:49 +00:00
briggs d073018ba1 Checkpoint. Preliminary code for bootstrapping on the 68040 macs. 1994-06-26 13:20:19 +00:00
briggs 229224d1fc Huge, gigantic changes... Including:
68040 support--some by me, much from Amiga...
some cleanup
The hp300 rei
A number of frame-related fixes.  Finally all found, I think, thanks to
the sharp eyes/mind of Brad Grantham, Lawrence Kesteloot, and Steve Allen.

The upshot is that we're finally booting again on the machines that
used to work.
1994-06-26 13:19:18 +00:00
briggs 1d1d8e0529 Add probe for new scsi driver to top level of configuration. 1994-06-26 13:14:54 +00:00
briggs 5e272bc697 Added new constants. Changed some old. Overhauled includes a bit. 1994-06-26 13:13:54 +00:00
briggs 4c4e964e6f Checkpoint. Will change some with new keyboard/mouse support is added
soon.  Still lots of warnings...
Added functions for 4.4-lite.
1994-06-26 13:12:41 +00:00
briggs f30d68f34f Lots of changes/cleanup. Note some additions for 4.4-lite and some
more functionality for setmachdep.  Grantham suggests that maybe
function tables or some such would be a better way to handle some of
these machine-dependent function--I concur that that would be TRT.
1994-06-26 13:11:11 +00:00
briggs bcebe4a2be MIN/MAX -> min/max 1994-06-26 13:08:25 +00:00
briggs dc27d4b943 mmap -> pmap_mmap.
extiobase -> NuBusBase
intiobase -> IOBase
some other minor changes.
1994-06-26 13:07:48 +00:00
briggs 163c2a1648 ufs_mountroot -> ffs_mountroot 1994-06-26 13:06:08 +00:00
briggs e20fd9492d Massive changes--largely culled from Amiga version. 1994-06-26 13:05:33 +00:00
briggs c1d16764ed Change some constants to better values/don't use constants as much. 1994-06-26 13:04:40 +00:00
briggs 5f17aeeff4 Update for 4.4-lite. 1994-06-26 13:03:42 +00:00
briggs 4ade6821f7 Minor mods. Get rid of constants, or update to use a better default
value.
1994-06-26 13:02:41 +00:00
briggs a71a746946 MIN -> min. This needs a lot of work. 1994-06-26 13:01:24 +00:00
briggs 03d286dddc Add some support for the '040 macs which use a different scsi chip. The
scsi96 driver is just a skeleton at the moment.
1994-06-26 13:00:32 +00:00
briggs 03095bbdd6 Don't assume NuBus is at NBBASE. We might remap it. 1994-06-26 12:59:19 +00:00
briggs bc8e4f3bb2 This should probably be deprecated--minor slash job. 1994-06-26 12:58:13 +00:00
briggs f556898e64 Change some default constants--might be overridden during boot, but
correct for MacII-class.
1994-06-26 12:57:27 +00:00
briggs 4d47d6a194 Let's not hard-code constants, OK? 1994-06-26 12:56:26 +00:00
briggs 4052db0a25 Erf. Forgot to put mac68k_init.c in alphabetically. 1994-06-26 12:55:32 +00:00
briggs 8c801bb064 Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.
1994-06-26 12:53:36 +00:00
mycroft ff2e6e12a2 Set b_bufsize after the minphys routine is called. 1994-06-26 06:08:11 +00:00
glass e0069330b3 oops 1994-06-25 07:06:49 +00:00
glass f6143cedc0 assembler problem 1994-06-25 07:05:12 +00:00
briggs cacbca4756 Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup.  copy.s added to files.
1994-06-25 04:58:01 +00:00
mycroft 58595682af shm map is pageable. 1994-06-25 04:10:18 +00:00
hpeyerl 6f9db1ee2d Concat disk driver moved from hp300/dev to here. 1994-06-24 14:11:02 +00:00
mycroft 81c61dc857 Clean up deleted files. 1994-06-24 14:09:07 +00:00
hpeyerl 97562c208d Changes for ccd. 1994-06-24 14:00:22 +00:00
hpeyerl ecf10b0a7a additions for ccd driver. 1994-06-24 13:57:01 +00:00
hpeyerl 818c51e6db ufs->ffs. From Jason Thorpe (thorpej@cs.orst.edu) 1994-06-24 13:33:49 +00:00
deraadt e537be043e make it all work, make it faster 1994-06-24 08:13:14 +00:00
deraadt c17a1b4ce3 sun4c -> SUN4C 1994-06-24 08:11:53 +00:00
jtc 50707cfa03 Track changes in "real" /bin/sh: builtins was renamed builtins.def. 1994-06-24 07:47:57 +00:00
deraadt 932345acae post 4.4-lite update 1994-06-24 07:30:17 +00:00
chopps de7b5347d1 some various fixes from ahh@netcom.com (Andy Heffernan) 1994-06-23 05:39:09 +00:00
chopps 7eb080aa23 fix spelling. 1994-06-23 05:33:20 +00:00
chopps d6f84d665c fix to writeback code from Michael Hitch, and some cleanup in cc.c from me 1994-06-23 05:31:24 +00:00
chopps b61b170f3b update from michael. 1994-06-23 05:28:04 +00:00
chopps 3c6012bd2a cleanup from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1994-06-22 16:20:48 +00:00
chopps 99b0889a3c cleanup and recognize the a1200. 1994-06-22 16:19:55 +00:00
pk bccc2c3c1b straighten out diskless swap code somewhat. 1994-06-22 14:01:45 +00:00
pk c3357eea57 sun_mount: fill in one more field. 1994-06-22 08:24:53 +00:00
mycroft 98b9a45ec0 Clean up deleted files. 1994-06-22 06:51:28 +00:00
mycroft d46a373019 Deallocate the vnode data using the correct type for MFS nodes. 1994-06-22 05:45:19 +00:00
glass 5ed96e480a ultrix compat by default 1994-06-22 03:45:26 +00:00