Commit Graph

729 Commits

Author SHA1 Message Date
deraadt b71f248be4 do not have UPAGES definition 1994-11-02 04:59:04 +00:00
deraadt 9f96a3313e various 1994-11-02 04:58:25 +00:00
deraadt 4c10604c2b ioctl u_long cmd 1994-11-02 04:57:53 +00:00
deraadt ae3d0a09f9 sendsig u_long code 1994-11-02 04:57:25 +00:00
deraadt 0fec9f9455 add ldcontrolb 1994-11-02 04:57:02 +00:00
deraadt 46f66f22e0 ioctl u_long cmd 1994-11-02 04:55:47 +00:00
deraadt e3b33c7c21 add wcopy/wzero, and ack VME using ldcontrob 1994-11-02 04:55:20 +00:00
deraadt bdcab43fb8 ioctl u_long cmd; and KNF 1994-11-02 04:54:19 +00:00
mycroft 1e951824c4 Clean up deleted files. 1994-10-30 18:43:27 +00:00
deraadt 89a7412206 KNF 1994-10-30 18:43:21 +00:00
deraadt 58f5cef745 repair a type 1994-10-28 16:50:59 +00:00
deraadt 6d9927894a vme interrupt support 1994-10-26 07:16:34 +00:00
deraadt 62b9ec5645 rearrangement 1994-10-26 07:16:22 +00:00
deraadt 62b99b6414 vme, and cleanup some messy #ifdef stuff 1994-10-26 07:15:09 +00:00
deraadt ef07868ebe sunos compat changes 1994-10-26 07:13:56 +00:00
deraadt 2036bd665c updates 1994-10-26 07:12:38 +00:00
deraadt a4323e6911 changed sunos_compat, if_ie 1994-10-26 07:12:18 +00:00
deraadt f3299b1470 obio/vme16 Intel Ethernet driver by Chuck Cranor. works on vme16. 1994-10-26 07:11:16 +00:00
deraadt 9773a7aa40 working vme16/32 support 1994-10-26 07:09:41 +00:00
cgd 5aea0d3fd2 update for new syscall args description mechanism 1994-10-20 04:46:23 +00:00
deraadt 3c8b6feab0 better #ifdef's 1994-10-20 04:40:58 +00:00
deraadt 2fb5b874a1 sbus_establish() is sun4c/sun4m specific 1994-10-15 08:57:20 +00:00
deraadt 63afb063a5 declare obio/sbus in the right place
obio/vmes/vmel support only active if requested
1994-10-15 06:01:20 +00:00
deraadt 8986364564 mapiodev takes a bustype argument now
attempt to configure vmel/vmes
1994-10-15 05:53:23 +00:00
deraadt 3ae3c206d7 mapiodev takes a bustype argument now 1994-10-15 05:48:47 +00:00
cgd f501e4e128 make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files. 1994-10-15 04:57:29 +00:00
cgd 49c34d3337 move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS. 1994-10-14 18:26:22 +00:00
jtc badcc17a6d Add constants required by XPG3 1994-10-05 17:16:29 +00:00
deraadt 425833d1b0 sun4/300 support works 1994-10-02 21:59:56 +00:00
deraadt f6db3bff3e cannot open on a sun4 machine 1994-10-02 21:58:02 +00:00
deraadt 4c5c5d590c don't pass UPAGES 1994-10-02 21:52:21 +00:00
deraadt e8bff526c3 XXX a nasty 1994-10-02 21:51:37 +00:00
deraadt c28af54721 MONxx -> OLDMON_xx 1994-10-02 21:50:58 +00:00
deraadt 3434480601 USPACE 1994-09-27 01:34:01 +00:00
deraadt 79b1288c6a USPAGE 1994-09-27 01:32:06 +00:00
deraadt b965c675f5 sun4 monitor "w" command support 1994-09-25 20:52:58 +00:00
deraadt 360eda8453 sun4 memory error register code 1994-09-25 20:51:51 +00:00
deraadt 03ef730e53 make pmeg_t always a u_short 1994-09-25 20:50:26 +00:00
deraadt 25ee899992 ask the ROM if we are sun4c/sun4m/sun4d. 1994-09-20 07:48:24 +00:00
deraadt 4fbb770d32 add obio for sun4 1994-09-18 00:03:03 +00:00
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
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
pk cdca6c22c4 Don't clobber our input arguments. 1994-09-02 08:13:20 +00:00
deraadt 2a316aaed4 an annoying tab 1994-08-26 10:57:27 +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 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
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
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
deraadt c121e1da16 add pseudo-device kbd 1994-08-17 06:22:10 +00:00
cgd cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +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 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
deraadt 790f70650e add lduha & stha 1994-08-12 09:52:40 +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
deraadt 70a55969a1 tiny error 1994-08-09 19:55:09 +00:00
pk a9b7ea6607 Only use `doflush' when `perftest' is #defined, as was probably intended. 1994-08-08 20:52:29 +00:00
deraadt c6a626e130 first cuts 1994-08-08 05:43:56 +00:00
deraadt 4bb1df3001 maintain resident_count and wired_count 1994-08-06 22:08:32 +00:00
deraadt 24a23eab66 make work 1994-08-01 19:26:27 +00:00
pk cb1f841e18 Use PROM node properties to determine device type. 1994-07-30 14:22:11 +00:00
mycroft e17799897e Clean up deleted files. 1994-07-28 09:05:04 +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 76bf655b77 i was sure i did this before 1994-07-26 00:16:03 +00:00
deraadt 822b1d1d65 make X11R5 compile easier 1994-07-21 22:06:13 +00:00
mycroft 341769b598 Clean up deleted files. 1994-07-21 22:06:05 +00:00
deraadt c772691a6a make X11R5 compile easier 1994-07-21 22:05:42 +00:00
deraadt 9b3e7e6403 compile kernel with -O2 1994-07-20 21:10:00 +00:00
pk 94c3db28ba Make it work for V0 proms.
First cut at two stage bootstrap.
1994-07-20 20:47:02 +00:00
cgd 3fbc338a62 define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi 1994-07-20 05:44:19 +00:00
pk 35dc4aefc8 Remove debugging code. 1994-07-13 07:52:01 +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
deraadt 7bb91385ad tmd2/rmd2 have bits which must be set to 1 1994-07-02 01:10:05 +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
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
deraadt be4f29289b vnode_if cleanup 1994-06-16 18:52:02 +00:00
pk 65c532b7a2 Allocate pmap's segmap separately.
Keep some tags on segment boundaries to optimise ctx_alloc().
1994-06-10 14:32:54 +00:00
pk b1912ac2e2 New vnode interface. 1994-06-10 13:03:26 +00:00
pk 8aa1346476 Profile asm entries also. 1994-06-03 11:48:13 +00:00
pk 944a09b290 Move misplaced `#ifdef DEBUG'. 1994-05-31 10:20:59 +00:00
pk 6b3b8882fb Restore context before leaving in pmap_protect() & pmap_changeprot(). 1994-05-30 20:03:57 +00:00
pk 719132a1f6 Remove old-style profiling hack. 1994-05-27 09:22:26 +00:00
deraadt 9a2b68b329 4.4-lite init startup 1994-05-27 08:56:01 +00:00
pk 639b0ab102 cast to make compiler happy. 1994-05-27 08:49:13 +00:00
pk b767d85d4e call dumpconf() 1994-05-27 08:43:30 +00:00
deraadt f79d935940 new from torek; now multiple drives will work 1994-05-27 02:38:15 +00:00
pk 7984179d9d sync with 4.4-lite 1994-05-25 16:56:03 +00:00
pk 7672b8b95b New style core dumps. 1994-05-25 10:56:56 +00:00
deraadt 667d6b144b registers coredump crud, going away soon 1994-05-24 03:33:38 +00:00
deraadt a4950095c9 buffer map 1994-05-24 02:26:12 +00:00
deraadt 81c57a3c62 for newish vm 1994-05-24 02:25:40 +00:00
deraadt 31ce603a3c liten 1994-05-24 02:16:27 +00:00
deraadt ef17fdff45 update.. 1994-05-22 23:13:51 +00:00
deraadt f1cc805ce8 iszerodev 1994-05-21 08:44:26 +00:00
deraadt a8615ac58c vmmeter 1994-05-21 08:22:58 +00:00
deraadt 925b6154cb no u_md 1994-05-19 21:44:50 +00:00
deraadt 8e6ca403b7 enable cpu_coredump 1994-05-19 08:25:08 +00:00
deraadt 79430f5f9d liten 1994-05-19 08:23:00 +00:00
deraadt a29886c150 catchup to 4.4-lite and delete some debug stuff 1994-05-19 07:12:44 +00:00
deraadt 66628ced32 t_stop has been erradicated 1994-05-19 06:53:07 +00:00
deraadt b0b840abb9 use ether_input 1994-05-17 17:27:06 +00:00
deraadt a0cc222313 TIOCSBRK/TIOCCBRK 1994-05-14 06:39:05 +00:00
deraadt ec27b31bb6 setrunqueue 1994-05-13 20:12:59 +00:00
deraadt 3e146c5133 sync with 4.4-lite 1994-05-13 20:12:41 +00:00
deraadt 7c61a93844 new from 4.4-lite 1994-05-13 20:11:06 +00:00
deraadt 592a166c31 play nice with new tty code 1994-05-13 20:09:00 +00:00
deraadt a1f888ed38 rearrange code to make sun4m support easier to add. 1994-05-12 08:34:57 +00:00
deraadt 2db3edfe06 SYSVSHM goes away, it will be back soon 1994-05-12 08:22:41 +00:00
deraadt 7ce60f4f0e do vn the correct way 1994-05-12 08:22:03 +00:00
deraadt 9ef2719f4b sysctl support 1994-05-07 05:10:01 +00:00
deraadt 8217e081db sysctl & altstack 1994-05-07 05:09:24 +00:00
deraadt 75f098bdc2 postsig 1994-05-07 05:08:38 +00:00
deraadt 3e95b2b78d update from lite 1994-05-07 01:14:39 +00:00
deraadt ae72d51d47 revert to dual clocks 1994-05-05 10:02:12 +00:00
deraadt 36befd611a revert to sticks instead of stime 1994-05-05 10:01:00 +00:00
deraadt 3eb40c3062 sendsig/sigreturn changes 1994-05-05 09:58:39 +00:00
deraadt 96b9a2aee3 p forw/back name changes 1994-05-05 09:57:15 +00:00
deraadt 4cfa95f7d3 timeout casts 1994-05-05 09:55:46 +00:00
deraadt 5e6f04e81f profiling and clock stuff 1994-05-05 09:54:33 +00:00
deraadt 4929024bf5 timeout and ndflush casts 1994-05-05 09:53:37 +00:00
deraadt 614fc7ff46 space/tab garple 1994-05-05 07:53:04 +00:00
deraadt 94fdbf8dc4 add sun4m ASI definitions 1994-05-05 07:51:25 +00:00
deraadt 77699be44d split sun4c/sun4m/sun4 support somewhat 1994-05-05 07:50:04 +00:00
deraadt e5f73be0cc flag foo 1994-05-05 05:59:14 +00:00
deraadt 526fa73de2 use SUN4C, not sun4c, throughout 1994-05-05 05:58:27 +00:00
deraadt 32f1e3f490 flags foo 1994-05-05 05:55:00 +00:00
pk e1cb820409 small nit 1994-04-22 22:52:44 +00:00
deraadt eb1a3c8561 stub fix 1994-04-22 13:19:13 +00:00
deraadt 8752281357 arpintr called now 1994-04-20 12:45:37 +00:00
deraadt 9d5d156cc1 shm 1994-04-18 10:51:05 +00:00
deraadt 63f5d6fba9 decl SHMMAXPGS 1994-04-18 07:17:45 +00:00
deraadt ecef4fca4d call swapconf(): it's not just a good idea, it's the law! 1994-04-17 11:37:46 +00:00
deraadt 76a7d3f63e my dumb bug of the week: keyboard repeat fritzed if you typed ^@
and repeated that character forever
1994-04-16 11:18:58 +00:00
deraadt a7a7772c6f use cnt. 1994-04-16 10:18:43 +00:00
deraadt 6c40e67ce7 darn, whoops 1994-04-13 11:01:58 +00:00
deraadt 848ce7a64d compile genassym static 1994-04-13 10:26:48 +00:00
deraadt c198b59b4d partial clean; needs more work 1994-04-12 07:47:20 +00:00
deraadt 45125992e7 support mmap() at 0x04000000; fb_size should be rounded up. 1994-04-12 07:46:13 +00:00
deraadt 44ce4e5eb0 small optimization 1994-04-10 21:02:23 +00:00
deraadt 05b47471a9 keyboard repeat code! 1994-04-09 22:29:21 +00:00
deraadt 78343670e1 oops with sysent 1994-04-08 06:02:01 +00:00
deraadt 887f77edc0 MULTICAST is standard now 1994-04-08 01:14:24 +00:00
deraadt 8fd9eafe10 64 bit syscalls 1994-04-04 08:07:33 +00:00
pk fe520b8c38 protect psr bits 1994-03-29 20:33:57 +00:00
pk 5fbd6e4285 DDB support 1994-03-24 08:46:45 +00:00
pk 12edf7ac11 DDB support. 1994-03-24 08:44:20 +00:00
pk 1728074945 DDB support 1994-03-23 20:40:26 +00:00
pk 78ceee0372 DDB support 1994-03-23 10:43:20 +00:00
deraadt 46e78d4fac splimp >= (splnet or spltty) 1994-03-22 08:09:24 +00:00
deraadt 1d2fa0cf4d move defn of trapvec to cpu.h 1994-03-22 08:08:43 +00:00
pk 4f785694ac DDB support 1994-03-20 09:13:37 +00:00
pk 05f8a1e6f6 add comment that was lost on last commit 1994-03-20 09:11:54 +00:00
pk 9d2747e462 DDB support 1994-03-20 08:58:41 +00:00
pk 470215735f Add some DDB files. 1994-03-17 09:24:58 +00:00
pk 6cce9fd564 Some bits and pieces to make a profiled kernel (for the moment). 1994-03-17 09:24:05 +00:00
pk 3a0020b839 make gas happy. 1994-03-16 16:14:44 +00:00
pk 1564238ca1 Fix addupc(). 1994-03-10 20:59:28 +00:00
deraadt 120a1bbccd cut and paste hell 1994-03-05 02:26:39 +00:00
pk d16ac2d7d6 undo last change; bug was already fixed 1994-03-03 16:14:57 +00:00
deraadt c0cf4434ea kbd is now a pseudo-device 1994-03-03 13:17:14 +00:00
deraadt d4bbe75640 delete unneeded printf 1994-03-03 12:23:26 +00:00
deraadt 49adc2f4c2 bug fix torek sent me ages ago 1994-03-03 12:23:00 +00:00
deraadt afbbc16f69 fix rcsid 1994-03-03 12:22:04 +00:00
deraadt e592a9cb39 fix comment 1994-03-03 12:19:13 +00:00
deraadt da17512980 make vn driver work either way 1994-03-02 20:05:58 +00:00
deraadt 80cff20936 whoops 1994-02-27 19:49:11 +00:00
pk 4fb4e6a9ec bootblocks must be stripped. 1994-02-27 18:28:20 +00:00
deraadt 42ba2b6516 add things needed by the cgsix 1994-02-27 10:33:25 +00:00
deraadt 5a99cb799e fake out KIOCLAYOUT 1994-02-27 09:09:50 +00:00
deraadt 21d7b68b1d more more more 1994-02-27 08:46:17 +00:00
deraadt b50839c249 support vn/lkm/tun. do not prototype dump routine 1994-02-27 08:44:12 +00:00
pk 188f08ecf9 A one liner for now. 1994-02-26 11:04:02 +00:00
pk 196acb6c78 Sparc bootblocks (a tight fit) 1994-02-26 10:57:09 +00:00
deraadt a7ccc4228a support SYSVSEM and SYSVMSG 1994-02-26 10:30:35 +00:00
deraadt 59afe6ad54 ioctl takes a proc * 1994-02-14 09:37:11 +00:00
pk 68f0489fb0 [GS]ETREG definitions for ptrace 1994-02-11 16:51:35 +00:00
pk 61d987c30c [GS]ETREG ptrace functions. 1994-02-11 16:50:03 +00:00
pk 4574bd34c2 Define a few things here, in line with other ports. 1994-02-10 19:05:03 +00:00
deraadt 37fd24a631 use normal major numbers for ptys 1994-02-08 21:39:55 +00:00
deraadt 9c9539c664 cleanup 1994-02-06 15:27:54 +00:00
deraadt 31c0012869 make make depend dependable 1994-02-04 17:27:28 +00:00
pk 1e8c14ed62 Bogus argument to `lda' instr. Apparently only tickled when ptracing. 1994-02-04 16:26:25 +00:00
deraadt 0232a12c36 cleanup 1994-02-04 16:19:35 +00:00
deraadt 6eeef06fa6 blow away sunos cross compilation gunk. we no longer need it,
as we are capable of compiling ourselves.
1994-02-04 16:19:23 +00:00
deraadt 776640a95d PG_NC workaround from torek 1994-02-03 15:08:43 +00:00
deraadt d4498ee608 empty file for pk to add things to :-) 1994-02-01 17:44:11 +00:00
pk bdf4c9bf54 pmap_t typedef outside `#ifdef KERNEL', as it is brought into user
scope by <vm/vm_map.h>
1994-02-01 11:58:37 +00:00
deraadt e9fee9d6d3 sparc runs in current today 1994-02-01 06:01:19 +00:00
jtc 5235180083 Fix spelling error in Copyright notice 1994-01-28 23:43:26 +00:00
pk ac0396a732 ptrace_[fp][sg]etreg() 1994-01-27 19:00:13 +00:00
pk 8674aef654 BLAST! 1994-01-27 14:59:37 +00:00
pk 24e4cb4bad move varargs stuff to arch/<machine>/include. 1994-01-27 00:18:18 +00:00
deraadt 833c2e1c78 ether_input() takes ether_type in net byte order now 1994-01-24 00:30:29 +00:00
pk 02fca0e730 Really suppress clock warning message, even if celebrating. 1993-12-09 20:27:53 +00:00
pk 002972f3f2 Suppress `preposterous time' message if the time base equals zero, as
is the case with NFS mounted root filesystems.
1993-12-08 18:26:19 +00:00
cgd edcba29bc8 add MACHINE_ARCH 1993-12-04 02:12:34 +00:00
deraadt 03f5ee0f24 monster kludge! struct kinfo is very large, cause the pmap struct is
very large. this has to fit into struct user.. kern_kinfo.c should get
fixed (for the core dump case)
1993-12-03 09:23:43 +00:00
deraadt e2d8e0cdaf NFS -> NFSSERVER and NFSCLIENT
take out NEWCONFIG option
1993-12-02 11:10:35 +00:00
pk 67d0cb98aa Make `ktrace' record the system call entries in addition to just a bunch
of return codes.
1993-12-01 20:59:59 +00:00
deraadt 2dcf572fc2 fbio.h is in machine/ 1993-11-30 20:55:12 +00:00
deraadt cd697ceedb seperate device from dkdevice 1993-11-29 08:31:22 +00:00
deraadt a17ccec482 fbio.h is in machine/ 1993-11-29 06:14:55 +00:00
deraadt 9baa68556c more cleanup 1993-11-29 06:14:06 +00:00
deraadt 82d8ced9f1 start to get rid of some of the hacks 1993-11-29 05:37:56 +00:00
deraadt 1aba43bb13 use new sun_exec_aout_makecmds 1993-11-28 18:09:43 +00:00
deraadt bf504b849f theo's other test kernel 1993-11-28 08:42:31 +00:00
deraadt e28868b656 fixed: hostid was incorrectly read from register 1993-11-28 03:47:11 +00:00
deraadt 8a096146a0 page fault debug code goes away 1993-11-27 01:49:20 +00:00
deraadt 0f82234745 add info about the Pinnacle cpu 1993-11-26 11:44:51 +00:00
deraadt f4690feb8e include cpu.h instead of a number of other unreasonable files 1993-11-26 11:43:29 +00:00
deraadt 744291c4a9 calculate sigtramp address based on PS_STRINGS, not USRSTACK 1993-11-26 11:26:23 +00:00
deraadt 706d795029 setroot & friends now done in init_main.c 1993-11-25 00:14:19 +00:00
deraadt a327e51865 properly setup the kernel stack during startup
use CCFSZ not 96..
1993-11-24 02:39:31 +00:00
deraadt f89548fbcc update to match torek's code-base 1993-11-24 02:31:32 +00:00
deraadt 661654b98d clear "cold boot" flag later on
ask rom about "memory-error" earlier
and cleanup
1993-11-24 02:30:56 +00:00
mycroft 30466816bf Clean up deleted files. 1993-11-22 22:59:35 +00:00
deraadt d6df6b46fc the sunos files have moved to /sys/compat/sunos 1993-11-22 21:57:13 +00:00
deraadt 95b75b0b4e update to new syscalls.master 1993-11-20 03:09:03 +00:00
deraadt 57a09f4e1c new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
some from Markus.
1993-11-20 03:08:16 +00:00
deraadt 370e6c6aed cannonicalize #include's 1993-11-20 03:05:41 +00:00
deraadt e2a5941739 new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
some from Markus.
1993-11-20 03:01:58 +00:00
deraadt ac4a976328 fake support for TIOCSSOFTCAR and TIOCGSOFTCAR
(one of which used to point to NetBSD's TIOCSTAT :-)
1993-11-20 02:57:43 +00:00
deraadt c23bd89b60 #include sun_disklabel.h from the new place 1993-11-14 15:01:52 +00:00
deraadt 3dbda08a31 add torek's new cgthree driver.
the brooktree DAC code has been split out from the cgthree driver,
and is now shared with the cgsix.
1993-11-14 15:00:50 +00:00
deraadt 61f6f87a4c update to latest syscalls.master 1993-11-14 14:56:35 +00:00
deraadt ee8ffb2911 update to kern/syscalls.master, for SYSVSEM & SYSVMSG 1993-11-14 14:56:05 +00:00
deraadt db97aa737f disassembly shows the %f2 register being accessed, and of course the
kernel panics.
why wasit using %f2? some expressions were too complicated and gcc2 (with
the optimizer off, mind you) ran out of integer registers and thus used
started using a float register for a temporary.
1993-11-14 14:46:54 +00:00
deraadt fdcd4f2a13 different place than where Torek put it 1993-11-14 10:47:54 +00:00
deraadt db4ffd69bb baseline code from Torek 1993-11-14 10:47:08 +00:00
deraadt 25800bfb5b specdev.h moves 1993-11-12 03:23:51 +00:00
deraadt beab56ab90 new from torek:
add torek's comments to my DMA_DRAIN fix
1993-11-12 00:50:48 +00:00
deraadt 4c30adca67 new from torek:
add cgsix
1993-11-11 23:17:47 +00:00
deraadt c9f2e616f8 from torek:
new brooktree dac code
hacked cgthree code
new cgsix (ala GX) code
1993-11-11 03:36:48 +00:00
deraadt d9debd8a1b s/cntty/cn_tty/ 1993-11-10 15:06:41 +00:00
deraadt ea61d92021 replacement set of sun ioctl functions. markus wild added a
whole slew of new ioctl's that are much more close to reality.

the comat-sunos tree is now almost good enough to be used in
both m68k and sparc kernels.
1993-11-10 15:03:33 +00:00
deraadt 3092f9ab32 we do not have sysctl 1993-11-10 14:36:07 +00:00
deraadt a256e8b38a silly typo 1993-11-10 11:46:38 +00:00
deraadt 3593ac2407 sunos compat execve() helper routines.
these routines are not useful/used on the sparc, but are needed
by the sun3.
1993-11-10 10:31:35 +00:00
deraadt 60b0bb39a9 blast it.. 1993-11-10 10:17:52 +00:00
deraadt 294c3d8704 support both sun3 & sparc concepts of minor/major #'s for /dev/zero 1993-11-10 10:14:19 +00:00
deraadt 8d10efb291 sun_disklabel.c moved 1993-11-10 09:48:21 +00:00
mycroft 84e594b797 Clean up deleted files. 1993-11-10 09:40:01 +00:00
mycroft 69db85708e Clean up deleted files. 1993-11-10 09:12:36 +00:00
deraadt ac0ecd9194 Duh. 1993-11-10 06:22:15 +00:00
deraadt 6839d97c8c use p_emul flag to indicate OS emulation
handle syscalls at standard sun place, ie. trap#80 not #89
add SunOS OMAGIC support
1993-11-10 03:13:19 +00:00
deraadt b9f8cbdca7 update from new syscalls.master 1993-11-10 01:01:59 +00:00
deraadt ffb469a020 chmod 444 on the output files is a bad idea 1993-11-10 01:01:25 +00:00
deraadt 2e0bfb759c update to 4.4 way of doing syscall#0 1993-11-10 00:59:10 +00:00
deraadt b7e4012f31 now that esp.c is fixed, go back to using the enhanced cache code. 1993-11-05 12:43:02 +00:00
deraadt 80a1356c75 DELAY(1) after a DMA_DRAIN, to let the esp chip have a chance to
recover from the DMA.. seems to let my ss1+ work with the cache enabled.
+ also esp reset code from Torek.
1993-11-05 12:41:54 +00:00
deraadt 6548614b2e if_init goes away. 1993-11-05 10:51:50 +00:00
deraadt e8c24a667b sys/dev/scsi -> sys/arch/sparc/scsi. 1993-10-27 18:14:16 +00:00
deraadt 90982eef07 back out of Torek's cache enable code since it makes 1/1+-style
esp chips blow chunks.
1993-10-27 18:12:47 +00:00
deraadt 776e071fd0 sys/dev/scsi -> sys/arch/sparc/scsi. 1993-10-27 18:09:38 +00:00
deraadt a397cbe66a more hacks to my private config file 1993-10-27 18:07:44 +00:00
deraadt 3098ee5fbe baseline scsi from torek.. mailed to me N>4 months ago. 1993-10-27 17:48:31 +00:00
deraadt 4d451a6072 slightly better syscall diagnostics. 1993-10-27 17:29:31 +00:00
deraadt 9b363afc2d Define the {QUAD,UQUAD}_{MIN,MAX} things here. 1993-10-19 09:03:41 +00:00
deraadt 0e9ecd46ec fix a typo 1993-10-18 13:28:19 +00:00
deraadt 3af6e429f4 decl of ttrstrt isn't here anymore. 1993-10-18 11:49:16 +00:00
pk 14e6ea89aa Put definition of __LDPGSZ and `struct relocation_info' where they belong:
in <machine/exec.h>.
1993-10-18 09:46:56 +00:00
deraadt 0f39e223a2 use RCONSOLE; whee 1993-10-17 04:41:34 +00:00
deraadt 64a71293dc fbio.h, mailed from Torek. This file is from Sprite, and clearly an
extensively modified SunOS file. *sigh*.
(ie. Feel free to rewrite it from scratch...)
1993-10-16 11:14:51 +00:00
deraadt 53402794da mountroot is defined in vfs_conf.c 1993-10-16 07:23:10 +00:00
deraadt 6ecda95b8a rebuilt from syscall.master: {get,set}domainname change 1993-10-15 11:29:13 +00:00
deraadt ef0d3bd5cb fix sun_getdents()
fix sun_mmap()
Note: delete the "struct dirent" in here when sys/dirent.h is created.
1993-10-15 11:28:29 +00:00
deraadt fc55b2487e use the standard {get,set}domainname stuff 1993-10-15 10:58:42 +00:00
deraadt ab2ddd1c05 we now handle SunOS NMAGIC executables 1993-10-15 06:13:17 +00:00
deraadt cefac63158 actually put something in a previously empty file.
__LDPGSZ should now be defined here!
1993-10-15 06:01:06 +00:00
deraadt c6003607ba arch/sparc/sparc/sys_machdep.c is non optional; there is more in
there than just TRACE
1993-10-15 05:59:28 +00:00
deraadt 091c24de94 No need to allocate clists. 1993-10-15 03:37:33 +00:00
deraadt 2c5972e86b de-POSIX'ify sendsig() and sigreturn().
Eventually when we get POSIX signals, we will want to back out of this
change.
1993-10-13 10:05:03 +00:00
deraadt d03d6e0acd move sysarch() to sys_machdep.c 1993-10-13 09:01:07 +00:00
deraadt 9b8b095ea1 fix typos 1993-10-13 03:27:52 +00:00
deraadt ecb833f678 initialize d_ttys and d_stop properly 1993-10-13 02:38:16 +00:00
deraadt 2ab4b5e978 fixups for dynamic tty allocation:
cdevsw[]->d_ttys must be initialized
XXstop() functions must be callable from cdevsw[]->d_stop
the console tty is used before vm system is up, and must
allocate it's own clists..
1993-10-13 02:36:39 +00:00
deraadt 4a2a17c2f1 rebuild files from syscalls.master 1993-10-13 02:32:36 +00:00
deraadt bb5626a7c8 Add a stub auditsys() system call that does nothing.
SunOS /sbin/fsck calls it..
1993-10-13 02:31:47 +00:00
deraadt 13c7bc2156 machdep.c: setregs() adjusts the stack correct and warns about problems
cpu_exec_aout_makecmds() that understands sunos ZMAGIC.
trap.c: just Theo's debugging stuff, delete later.
1993-10-11 10:53:26 +00:00
deraadt 2521f66843 setregs():
%sp needs to be offset +sizeof(struct rwindow)
	warn if %sp isn't double-word aligned, it MUST be.
1993-10-11 04:26:33 +00:00
deraadt c147fc9845 various: timeout parms typecast properly
net-posted patches from torek
	sys-fbio.h -> machine/fbio.h
1993-10-11 02:49:44 +00:00
deraadt a851f1b5f1 bwtwo.c, cgthree.c: sys-fbio.h -> machine/fbio.h
if_le.c: #ifdef MULTICAST some things, and do arp the old way
1993-10-11 02:45:49 +00:00
deraadt b3147a8677 various changes, suffice to say that 4.4 syscalls do not look like ours 1993-10-11 02:44:06 +00:00
deraadt 2e78184935 cons.c, zs.c: tty->t_stop doesn't exist here. I think it goes through d_stop
automatically now, but have not checked.
	l_ioctl() has no last parameter 'p'
fb.c: move sys/fbio.h to machine/fbio.h
various: typecast parms for timeout() properly
zs.c: extra level of indir in cdevsw[]->d_ttys
1993-10-11 02:36:38 +00:00
deraadt d5b0b3dffa New location for libkern, fixes for many paths.
+ lots of temp changes to be backed out later!
DEBUG=-g always, use gcc, link with libgcc.a, include dirs in
a weird place for my development environment.
1993-10-11 02:33:25 +00:00
deraadt 7ee2311b78 stdarg.h, varargs.h, psl.h, autoconf.h: posted patches from torek
cpu.h: cpu_adjstack() won't work well in the NetBSD execve - need a
	different model, stub enablertclock() for now..
exec.h: a netbsd-type exec.h file (ie. empty)
param.h: add MID_MACHINE
pmap.h: delete kernel_pmap hack - it doesn't work for us, + two proto's
vmparam.h: VM_MIN_ADDRESS = 0!
1993-10-11 02:28:23 +00:00
deraadt ed575390ee pmap.c, machdep.c, autoconf.c, cpu.c, intr.c, : net-posted patches from Torek
autoconf.c: mountroot kludges that need fixing later
clock.c: two volatile decls
conf.c: stategy()'s return void, *tty[] not tty[], __P()'d xxdump() calls,
	add mem_no, *constty[] not &cons.
genassym.c, machdep.c: sys/vmmeter.h needed
intr.c: make kernel writable temporarily in intr_fasttrap()
intr.c: do not use NETISR_ARP
locore.s: icode maps at 0 so do not relocate, don't define __main here.
machdep.c: don't have sysctl.h (yet), use vm_page_free_count for freemem,
	setregs() sets pc/npc/stack, note: signal delivery code needs
	fixing, add various other NetBSD function stubs.
pmap.c: do kernel_pmap/kernel_pmap_store the old way, delete
	vm_page_startup_initialized weirdness.
swapgeneric.c: everything about mountroot needs fixing, help.
trap.c: sunsys -> sun_sysent, etc.
vm_machdep.c: don't use cpu_coredump() for now.
1993-10-11 02:16:12 +00:00
deraadt d9ead6b6f5 TDR: config file i'm testing with
files.sparc.newconf: a files file that works
files.sparc: old name for above file, might as well delete
1993-10-10 11:19:26 +00:00
deraadt 5dbfa8c726 need these 1993-10-10 11:18:03 +00:00
deraadt 4588caefaa Chris Torek's sparc port. Missing lots of things. 1993-10-02 10:22:00 +00:00
cgd f6eaf9096e compile needs to be kept in the distribution 1993-04-19 23:30:06 +00:00