Commit Graph

3567 Commits

Author SHA1 Message Date
gwr bdfe8b6177 Tracking 4.4 integration 1994-05-06 22:09:49 +00:00
mycroft 8f6071b2ce Put some more code in splstatclock(), just to be safe. 1994-05-06 22:02:25 +00:00
briggs fbc2a6679b Get things to compile with latest changes. 1994-05-06 17:39:19 +00:00
briggs 397e0acc8d Missed some warnings... 1994-05-06 17:38:38 +00:00
briggs 2998461b9c Add fuswintr and suswintr. 1994-05-06 17:37:37 +00:00
mycroft 62b418de75 Correct comment. 1994-05-06 12:23:10 +00:00
mycroft 2029a326a4 Clean up deleted files. 1994-05-06 12:14:50 +00:00
gwr 92e6bede68 Tracking 4.4 integration 1994-05-06 07:47:05 +00:00
cgd 46441609b2 temporarily define BADSIG as SIG_ERR 1994-05-06 06:00:00 +00:00
gwr aecff7aff1 Track changes to proc.h 1994-05-06 04:33:55 +00:00
briggs c22c80abac Clean up some warnings, mainly w/ timeout(). 1994-05-06 03:34:53 +00:00
gwr 63b0ac73bd Fix swapdev again but do it right this time...
(swapdev wants the BLOCK major number)
1994-05-06 03:18:38 +00:00
mycroft eb45b49761 Remove a mostly useless useracc(). 1994-05-06 01:43:34 +00:00
cgd 673fd7c059 a conditional p_regs! 1994-05-05 22:28:44 +00:00
mycroft 31393b8acd Rearrange some code, and fix a condition where the pageout scanner would start
grabbing pages from the active queue.
1994-05-05 20:35:11 +00:00
gwr be2eec0ebd Fix major number of swapdev 1994-05-05 16:21:04 +00:00
mycroft e8be3688cd Completely redo the way masks are calculated, and make splimp() correct in the
presence of SLIP or PPP.
1994-05-05 16:05:57 +00:00
mycroft 7c76fa1e45 Add ep0. 1994-05-05 11:39:45 +00:00
mycroft edd792f525 DELAY -> delay 1994-05-05 11:37:36 +00:00
mycroft 871ade5f37 More timeout foo. 1994-05-05 11:28:27 +00:00
mycroft f0826551a2 p_regs -> p_md.md_regs 1994-05-05 11:23:35 +00:00
mycroft 57e1130ccc Fix timeout stuff. 1994-05-05 11:11:25 +00:00
mycroft 89a5de9e12 Most of the changes needed to make this continue to run. 1994-05-05 10:10:21 +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
mycroft ee6c199d34 We do *not* use Aztec C. 1994-05-05 09:43:58 +00:00
deraadt d5b1d9c49e p->p_sig -> p->p_siglist 1994-05-05 09:36:23 +00:00
deraadt 9dae0cc7b3 ADDUPROF and friends 1994-05-05 09:35:34 +00:00
mycroft e593e490db Remove now-bogus cast. 1994-05-05 09:33:21 +00:00
mycroft 426793003e Remove now-bogus casts. 1994-05-05 09:27:37 +00:00
mycroft 4b2f221eac Remove now-bogus casts. 1994-05-05 09:15:48 +00:00
mycroft 26ebb5fdde Now setpri() is really toast. 1994-05-05 09:06:10 +00:00
mycroft be856288a8 setpri() is toast. 1994-05-05 09:02:30 +00:00
mycroft a2bf298443 Remove now-bogus casts. 1994-05-05 08:58:07 +00:00
mycroft 5362749c72 Correct spelling error. 1994-05-05 08:50:25 +00:00
deraadt 1ec9d4e191 pull in subr_prof.c for new config too 1994-05-05 08:49:23 +00:00
mycroft 56c97e52bf Remove now-bogus cast. 1994-05-05 08:46:53 +00:00
mycroft fb113f41fd Mostly fix an obscure condition where an AST could be delayed by as much as a
clock tick.  And softclock() no longer takes an argument.
1994-05-05 08:44:53 +00:00
mycroft 62bf6a1578 Remove now-bogus casts. 1994-05-05 08:37:38 +00:00
mycroft fcdc2b3f3f Remove now-bogus cast. 1994-05-05 08:31:44 +00:00
mycroft 5f478330e8 Remove now-bogus casts. 1994-05-05 08:31:00 +00:00
mycroft 327f9dd950 Remove now-bogus cast. 1994-05-05 08:28:35 +00:00
mycroft 04df00527c Retool the state machine is a sane way. 1994-05-05 08:26:13 +00:00
cgd f16095c91d kill wrongheaded byte order foo 1994-05-05 07:56:35 +00:00
deraadt 614fc7ff46 space/tab garple 1994-05-05 07:53:04 +00:00
mycroft 685508a6b4 Remove now-bogus cast. 1994-05-05 07:52:53 +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
mycroft 8a37ad790c Remove now-bogus casts. 1994-05-05 07:48:20 +00:00
mycroft a211907a8b Remove now-bogus cast. 1994-05-05 07:41:44 +00:00
mycroft 895e9ed71a Mostly stylistic change. 1994-05-05 07:39:28 +00:00
gwr 3162c422e2 put in some cnputc fixes missed last night 1994-05-05 06:54:08 +00:00
cgd d14ddb730d make safe for user-land consumption. 1994-05-05 06:34:18 +00:00
cgd 36f4beef88 grrr. 1994-05-05 06:13:36 +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
cgd 0f2ecb72f6 lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.
1994-05-05 05:40:40 +00:00
mycroft 9acec7fcbb Clean up deleted files. 1994-05-05 05:40:27 +00:00
cgd a0a7429482 lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.
1994-05-05 05:35:42 +00:00
gwr c859ba3b1c proc flag names 1994-05-05 04:48:52 +00:00
cgd 51bb2bd806 if_hp won't compile, but it'd need a counter include, if it were to... 1994-05-05 04:47:41 +00:00
gwr aa2348a426 cosmetic 1994-05-05 04:46:51 +00:00
gwr 9200c97aec Oops - had some options in twice. 1994-05-05 03:48:56 +00:00
cgd 05a7ffd00c fix rlimit calls for ultrix compat; untested, but should work 1994-05-05 03:31:07 +00:00
gwr 2bb2cb3a72 take out the trash 1994-05-05 03:09:11 +00:00
gwr e53edb4c86 Fix prom entry for Adam's version of prom.c 1994-05-05 03:07:32 +00:00
gwr 4204589450 Track renamed proc flags. 1994-05-05 03:02:49 +00:00
gwr 2ae9ef44af changes to use generic dev/cons.c 1994-05-05 02:59:37 +00:00
cgd 013681d5ce fix my forgetfulness; from gwr 1994-05-05 02:46:58 +00:00
mycroft a9c3f137b5 Don't frob the connector type if the card doesn't grok soft config. 1994-05-05 02:20:44 +00:00
gwr 72b8de4aa3 HPUXCOMPAT changed to COMPAT_HPUX 1994-05-05 01:11:29 +00:00
cgd 6074d0e9d1 comment out hp0; at charles's prompting 1994-05-05 00:03:45 +00:00
mycroft 5e5b91a3c5 Move internal prototypes to a better place. 1994-05-04 11:25:25 +00:00
mycroft f8a6ac17b2 More return types... 1994-05-04 11:24:06 +00:00
mycroft b4719466f8 More return types... 1994-05-04 11:04:58 +00:00
mycroft 4cce672e7d Prototype lots of kernel-internal functions. 1994-05-04 10:59:14 +00:00
mycroft 7b1bf9c7d2 Add return types where missing. Simplify some of the compat conditionals.
Include compat code if COMPAT_SUNOS with or without COMPAT_43.
1994-05-04 10:27:20 +00:00
mycroft 511a02415f Fix panic when closing a file descriptor on which access rights have been sent
but not received.
1994-05-04 09:50:11 +00:00
cgd c08ef4088b add CP_INTR cpu state. 1994-05-04 09:23:45 +00:00
mycroft b72ce59575 Add some more prototypes. 1994-05-04 09:08:33 +00:00
chopps 36de8a074d update to match current proc flags. 1994-05-04 07:35:33 +00:00
gwr 77a3c6a20e Make conf.o depend on the Makefile 1994-05-04 05:57:27 +00:00
gwr 8e386a7196 Add zs driver, organize like TIMESINK 1994-05-04 05:56:33 +00:00
gwr 1e7ab48e57 Add zs driver files. 1994-05-04 05:55:35 +00:00
gwr fc31584a9b Get rid of some compiler warnings. 1994-05-04 05:53:38 +00:00
gwr b0f38818a3 Replace unnecessary call to sun3_stop() with a simple panic() 1994-05-04 05:52:44 +00:00
gwr f74faa505c Enable/disable clocks in sun3_stop()
Add functions to call sun3_stop() with the appropriate arg.
Set the cpuspeed according to the machine type.
1994-05-04 05:51:36 +00:00
gwr 74028249b8 Add missing .text to avoid confusing the assembler. 1994-05-04 05:48:10 +00:00
gwr c0af07f1b6 Catch up with changes in the common vm code. 1994-05-04 05:46:11 +00:00
gwr 1c7ffbcc19 Catch up with changes in the common vm code.
Change sun3_stop() calls to sun3_rom_xxx()
1994-05-04 05:45:02 +00:00
gwr c40d99cb96 Catch up with changes in common vm code. 1994-05-04 05:42:29 +00:00
cgd 17f30a5d0b kill obvious bug; glad to know this was tested! 1994-05-04 05:41:55 +00:00
gwr bf2e2efc81 Add delay.s 1994-05-04 05:40:17 +00:00
gwr 4a83b7b796 Implements the functions: delay(), delay2us() 1994-05-04 05:39:44 +00:00
gwr 03bb45e589 New style (easier to read), use SunOS-4.1.1 device numbers. 1994-05-04 05:38:39 +00:00
gwr 76cd02b219 Add RB_NOSYNC to boothowto instead of disabling machdep.c:boot() 1994-05-04 05:36:55 +00:00
gwr 93fa1563a6 Get initial mappings for console routines.
Use the kd device instead of tty rewiring mess
1994-05-04 05:34:14 +00:00
gwr 21e4034d51 Make ZS_DELAY() use the new delay2us() function. 1994-05-04 05:30:35 +00:00
gwr bfcbf0f513 Add zs0_va, zs1_va 1994-05-04 05:29:25 +00:00
gwr c224b41c38 This provides a tty device for dev/cons.c to point at. 1994-05-04 05:27:50 +00:00
gwr 1adf9a39b5 Make the DELAY macro call the new delay() function. 1994-05-04 05:25:43 +00:00
briggs 83e8ab7114 Don't even pay lip service to HPUXCOMPAT, now COMPAT_HPUX. 1994-05-04 05:25:41 +00:00
gwr a8f63d1201 Add zs0_va, zs1_va 1994-05-04 05:24:36 +00:00
gwr 7504f664b1 Add EE_CONS_P4OPT, fix boilerplate. 1994-05-04 05:23:02 +00:00
mycroft e1f885f156 HPUXCOMPAT -> COMPAT_HPUX 1994-05-04 04:10:28 +00:00
mycroft e5a2605525 Remove silly redundant #ifdefs. 1994-05-04 04:09:34 +00:00
mycroft 495d3519fa HPUXCOMPAT -> COMPAT_HPUX 1994-05-04 04:02:54 +00:00
mycroft e3e3d72f66 Update to match proc.h. 1994-05-04 03:47:10 +00:00
cgd 4bbabd8e7a Rename a lot of process flags. 1994-05-04 03:41:12 +00:00
mycroft 901ca10819 Tweak overflow check. 1994-05-04 02:07:24 +00:00
cgd f8dd4f370d expand the rlimit struct, kill last vestiges of off_t bogosity. 1994-05-04 01:38:25 +00:00
deraadt 946453260a fixes from <brad@fcr.com> who claims it now works correctly 1994-05-03 23:02:07 +00:00
mycroft e5c1d566ef Really fix the Buslogic/DTC problem. 1994-05-03 20:53:54 +00:00
mycroft d300cfc46f Various cleanup. 1994-05-03 20:51:15 +00:00
mycroft 90beb62e64 Need icu.h. 1994-05-03 20:35:08 +00:00
mycroft 0ee51c2c8b Forgot to munge the #includes in last commit. 1994-05-03 20:32:22 +00:00
mycroft e8f7c7c31b Speed it up, and make it easier to handle different timer rates efficiently. 1994-05-03 20:30:26 +00:00
mycroft 884168ce49 Move beep junk to clock.c. 1994-05-03 08:23:55 +00:00
mycroft 36a9bcce8d Fix argument to aic_sched_msgout() is several places, and condense some code. 1994-05-03 08:20:43 +00:00
phil 4e523f8ddb clock.c/mem.c: real time clock detection fix/config change
pmap.c: zap mmap
1994-05-03 07:30:30 +00:00
phil cbe2aab3b2 changes for shared libs and fast ntoh*/hton* routines. 1994-05-03 07:29:37 +00:00
mycroft 650e19b16d Clean up deleted files. 1994-05-03 07:27:06 +00:00
phil 4cf1fbc402 configuration name changes, cleanup on the Makefile 1994-05-03 07:26:59 +00:00
mycroft 3acdcf5311 Use vm_map_remove(), not vm_map_delete(). 1994-05-03 01:24:11 +00:00
mycroft 0985e0980b Avoid sleeping in swtch_exit(). 1994-05-02 23:38:10 +00:00
deraadt 394be046a5 insw takes a word count 1994-05-02 06:37:10 +00:00
glass 7a1f9ba5b9 ugh. splimp is the greater of splnet and splbio now. used by pmap module for splpmap() 1994-05-02 05:46:06 +00:00
cgd 55d406e5e7 clean output, take the blame for a thing or two, and shrink more 1994-05-01 06:46:27 +00:00
cgd 70ba2b2c43 sun syscalls.master update 1994-05-01 06:15:58 +00:00
cgd 40d241b53a three changes i forgot, from Gordon Ross (gwr@lamp) 1994-05-01 06:14:50 +00:00
cgd 9fb6210877 keep appropriate id's in 'created from' lines 1994-05-01 06:14:04 +00:00
cgd 4d3fb006eb kill damned off_t weirdness, also upgrade get- and setrlimit. 1994-05-01 05:02:24 +00:00
cgd e0db92993a change timeout/untimeout/wakeup/sleep/tsleep args to void * 1994-04-29 23:15:51 +00:00
glass e22b4a56ec i really wish i knew what was wrong 1994-04-29 15:54:10 +00:00
chopps 2ad38fe7cd change mmap to vmpte to avoid nameclash with the syscall. 1994-04-29 10:50:06 +00:00
cgd 531f171602 kill an FDSCRIPTS bug which nobody had found yet. 1994-04-29 08:35:29 +00:00
mycroft 06a4a02877 Add some DIAGNOSTIC code to detect trying to free a page that is being faulted
in.
1994-04-29 08:21:49 +00:00
cgd f50f031448 kill syscall name aliases. no user-visible changes 1994-04-29 04:41:02 +00:00
cgd 6029e550f1 kill 'aliases' 1994-04-29 04:29:14 +00:00
cgd e5ad8074f2 minor code structure nit that i pointed out to hibler a while ago... 1994-04-29 03:56:26 +00:00
mycroft f9926d7e22 Clean up deleted files. 1994-04-29 02:06:49 +00:00
mycroft 2ff4b1435c Set ICUs to read IRR by default. 1994-04-28 08:28:35 +00:00
mycroft 39718a43cc Enable/disable shared memory access on all WD/SMC boards. Add support for
software selection of AUI or BNC connectors using LINK0.
1994-04-28 04:53:09 +00:00
cgd 10b63d74bc SHUT UP! 1994-04-28 03:51:58 +00:00