Commit Graph

316 Commits

Author SHA1 Message Date
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