Commit Graph

2126 Commits

Author SHA1 Message Date
mycroft 0ff93a444b Prototypes. 1994-01-08 23:17:18 +00:00
mycroft e43117185e Prototypes. 1994-01-08 23:07:16 +00:00
mycroft 4fe12e6e88 Fix some inconsistent spacing; spaces at the end of lines, etc. 1994-01-08 21:21:28 +00:00
cgd 8bcd07afc2 make the include files stubs, but add bits where necessary (most XXX). 1994-01-08 19:08:45 +00:00
cgd 03e5891644 kill ptrace stuff; it's common to all m68k machines now 1994-01-08 18:36:54 +00:00
mycroft f5d2568734 Clean up deleted files. 1994-01-08 18:36:06 +00:00
cgd 66e7c94753 delete dupes 1994-01-08 18:34:14 +00:00
cgd 12695b2d2c add id and machine arch spec 1994-01-08 18:33:50 +00:00
cgd ab38f02a26 kill entries duplicated in files.m68k.newconf 1994-01-08 18:31:53 +00:00
cgd 666dfb27a9 now that NULLVP is used everyplace, we can use VREF again... 1994-01-08 18:12:28 +00:00
cgd bb92026b3e add files.m68k.newconf for the mac folks 1994-01-08 18:08:12 +00:00
cgd f7b271f349 specify that the mac is of the m68k archtecture. 1994-01-08 18:06:25 +00:00
cgd 34ea9285e9 de-macroify kill_vmcmds() 1994-01-08 18:05:29 +00:00
mycroft ec0fa1f388 Use NULLVP, just for Correctness (tm). 1994-01-08 16:06:04 +00:00
mycroft 95374533e2 NULL --> NULLVP 1994-01-08 16:04:03 +00:00
cgd c8a832c9d4 use VREF() function rather than the macro; the latter barfs in this case 1994-01-08 15:50:05 +00:00
mycroft c6afda5ec5 Trivial stylistic change for consistency. 1994-01-08 15:24:02 +00:00
mycroft 6109f71452 Move some prototypes to a better location. 1994-01-08 15:19:11 +00:00
cgd 2079970043 SHM_LOCK and SHM_UNLOCK aren't just HPUXCOMPAT 1994-01-08 15:09:01 +00:00
cgd b38fa5acf8 stubs which pint to m68k include 1994-01-08 12:41:41 +00:00
cgd 9e3b9d9bdd oops; forgot the new first arg to NEW_VMCMD() 1994-01-08 12:25:25 +00:00
cgd 47529628bb core reorg 1994-01-08 11:18:56 +00:00
cgd b44f8257b1 common code 1994-01-08 11:15:53 +00:00
cgd 23c144e8b3 code reorg 1994-01-08 11:13:52 +00:00
mycroft b7f8d61752 Clean up deleted files. 1994-01-08 11:13:10 +00:00
cgd 5fc4970c26 code reorg 1994-01-08 11:12:15 +00:00
mycroft 150f1034c9 Clean up deleted files. 1994-01-08 11:11:50 +00:00
cgd 0e515ae1bd code reorg, and killing of common files 1994-01-08 11:11:46 +00:00
cgd 166622ffab trim files which are now common. 1994-01-08 11:08:28 +00:00
cgd e2efe41199 reorganization of ptrace/procfs code 1994-01-08 10:47:02 +00:00
cgd b1d368ed16 HP300 -> M68K, and light trimming 1994-01-08 10:41:23 +00:00
cgd 957ce06f24 far reaching but relatively minor cleanup and slight reorg of exec code 1994-01-08 07:14:24 +00:00
mycroft 91b246d5be Fix some compiler warnings. 1994-01-08 06:34:01 +00:00
mycroft 19065b312a Fix a compiler warning. 1994-01-08 05:58:21 +00:00
mycroft d3106cb44a Fix some casting. 1994-01-08 05:51:17 +00:00
mycroft aa15bacc51 Make the types consistent. 1994-01-08 05:50:42 +00:00
mycroft 6d386b5202 Fix two casts. 1994-01-08 05:45:20 +00:00
mycroft 155811b49c #include vm_kern.h. 1994-01-08 05:29:15 +00:00
mycroft 9dd94bc684 Still more prototypes. 1994-01-08 05:26:10 +00:00
mycroft 9c9af600ee Make some functions static. 1994-01-08 04:59:08 +00:00
mycroft 287956ae88 Yet more prototypes. 1994-01-08 04:38:16 +00:00
mycroft e879c04f57 #include vm_user.h. 1994-01-08 04:22:36 +00:00
mycroft f36df1e764 More prototypes. 1994-01-08 04:17:49 +00:00
mycroft 8955aeedd5 #include vm_user.h. 1994-01-08 04:15:41 +00:00
mycroft d37579f554 More cleanup and prototyping. 1994-01-08 04:02:36 +00:00
mycroft d66944976a Some minor rearrangement and cleanup. 1994-01-08 03:24:19 +00:00
cgd df2025f938 quench the grammar flames! 1994-01-08 02:54:04 +00:00
jtc ceb7f9888d Change default NetBSD NPX control word to 0x137f.
This masks all FP exceptions (like every other UNIX system), and makes
it possible for gcc 2.5's long double support to work.
1994-01-08 01:19:06 +00:00
cgd b75ec95461 IOCBASECMD was defined incorrectly 1994-01-08 01:18:10 +00:00
mycroft 5df89bd778 Fix up some #includes, and add a bunch of prototypes. 1994-01-08 01:11:21 +00:00
mycroft 642b725370 Rearrange some #includes. 1994-01-08 01:01:50 +00:00
mycroft 4181f14213 Add some explicit return types, and make a bunch of things static. 1994-01-07 23:36:15 +00:00
mycroft 8c5b51d9dc Add some explicit return types. 1994-01-07 22:48:40 +00:00
mycroft c7f0925a52 Add some explicit return types. 1994-01-07 22:46:05 +00:00
mycroft bbe22a5947 Add some explicit return types. 1994-01-07 22:34:37 +00:00
mycroft d77a163cac Kill third arg to thread_sleep(). It's always false and isn't used anyway. 1994-01-07 22:22:20 +00:00
cgd 9834dab564 kill COMPAT_OLDSOCKOPT 1994-01-07 22:16:11 +00:00
mycroft 92992e3c3a Don't forget to poke the page daemon. 1994-01-07 20:33:14 +00:00
cgd b418b2c18f oops; fix that last 1994-01-07 19:26:44 +00:00
mycroft 75a4916007 Add an explicit return type. 1994-01-07 19:21:06 +00:00
mycroft 1b184192e1 Add some explicit return types, and make vm_object_print #ifdef DDB | DEBUG. 1994-01-07 19:15:44 +00:00
cgd 163a1d473e do the *right* thing with resident set size 1994-01-07 19:13:17 +00:00
mycroft c521a31e87 No need to clear these bits, since we just bzero()d the silly thing. 1994-01-07 18:32:14 +00:00
mycroft a8dc1eb25a Add an explicit return type. 1994-01-07 18:14:07 +00:00
mycroft 17e7b7e1bd Make vnode_pager_putpage return an int, like other *_putpage routines. 1994-01-07 18:12:12 +00:00
mycroft 4343c468c5 Trivial stylistic change to match other code. 1994-01-07 18:11:38 +00:00
deraadt f70a340fd9 cleanup a printf 1994-01-07 18:03:56 +00:00
deraadt d4e74a7cda really fix the tab code 1994-01-07 17:51:24 +00:00
mycroft f8258a5b44 Add missing return value. 1994-01-07 17:12:51 +00:00
pk 6f81dd8136 Add .type directive to ENRTY().
Move PIC_ macros over here from SYS.h
1994-01-07 00:46:20 +00:00
mycroft 56dde9c46c hpuxsysent -> hpux_sysent, hpuxnssysent -> nhpux_sysent 1994-01-07 00:45:37 +00:00
mycroft 0bbaf2a5e8 Partial cleanup. Needs more work. 1994-01-07 00:43:39 +00:00
mycroft c26cce685a Declare a return type explicitly. 1994-01-06 23:59:15 +00:00
mycroft 27876f2d51 Correct order of arguments to m_get*(). 1994-01-06 23:58:17 +00:00
mycroft f11636394f Correct order of arguments to m_get*(). 1994-01-06 23:57:36 +00:00
mycroft 8658309e1b Implement procfs stubs. 1994-01-06 23:55:40 +00:00
mycroft 566f233507 Clean up formatting. 1994-01-06 23:55:37 +00:00
mycroft d74cd05c88 Implement procfs stubs. 1994-01-06 23:55:17 +00:00
ws 0a8a197a17 Apparently noone ever tested the COMPAT_OLDSOCKOPT flag... 1994-01-06 23:00:22 +00:00
mycroft 40b7801fa6 Don't know why LOAD_ADDRESS was ever here, but it's toast. 1994-01-06 17:29:59 +00:00
mycroft 734aca027a Okay, so it *really* works now, or at least compiles. 1994-01-06 17:23:56 +00:00
mycroft 30efe4707c Make ptrace() actually work now. 1994-01-06 17:16:34 +00:00
mycroft ed95321df9 Still need old #defines for now. 1994-01-06 17:05:34 +00:00
mycroft 0e716894cd Garbage collection. 1994-01-06 16:57:59 +00:00
mycroft f76fdd7722 Implement `struct reg'. 1994-01-06 16:50:13 +00:00
deraadt a2d143ab3f don't need to #include <sys/socket.h> twice. 1994-01-06 14:00:35 +00:00
cgd 686d4f2c93 EOPNOTSUPP == Operation not supported 1994-01-06 12:57:46 +00:00
cgd c965e27791 add MNT_NOCREATE flag 1994-01-06 12:35:38 +00:00
cgd 48b5ac1a52 add 'maxfdescs 2048' to everything. i'm sick of the warning... 1994-01-06 12:07:41 +00:00
cgd eda5beab5a return size of 'reg' from getattr() 1994-01-05 21:56:02 +00:00
mycroft f7b0ee1881 Bleah. 1994-01-05 17:52:01 +00:00
mycroft c8fbd64ff5 Remove explicit link addresses. 1994-01-05 17:17:17 +00:00
mycroft 243ce5b9bf *** empty log message *** 1994-01-05 17:05:56 +00:00
cgd b7309d4800 don't include KERNFS and FDESC 1994-01-05 16:30:17 +00:00
cgd e09a770e77 add some options 1994-01-05 16:28:55 +00:00
cgd 582eb13c4a from Mike Karels <karels@bsdi.com>: clear the PENDIN flag if ICANON
is cleared, and retain the PENDIN flag if set when ICANON is set
1994-01-05 16:25:37 +00:00
mycroft 07e22c53b9 LOAD_ADDRESS is now fixed at 0xf8100000. 1994-01-05 16:03:32 +00:00
mycroft d5bb16fdb2 Move kernel to 0xf8000000. 1994-01-05 16:02:36 +00:00
cgd 454f368245 don't call VFS_SYNC() on underlying fs 1994-01-05 15:11:51 +00:00
cgd 058b0b8772 don't try to reclaim 'known' root vnode 1994-01-05 15:11:32 +00:00
cgd c78cf001a2 add new portal file system from jsp@sequent.com 1994-01-05 14:23:21 +00:00
cgd 3442768ab8 add new lofs (loopback file system) from jsp@sequent.com 1994-01-05 14:15:31 +00:00
cgd a83f6577b0 minor cleanup; extra spaces, patchkit info, etc. 1994-01-05 13:49:52 +00:00
deraadt 489e12a1a7 small cleanup 1994-01-05 13:38:57 +00:00
cgd b4e04dd05d fix return type for fifo_print 1994-01-05 11:34:44 +00:00
cgd 9d1babb688 fix UFS vs 'real' fs type mixups 1994-01-05 11:07:31 +00:00
mycroft 1e5c7f966b Clean up deleted files. 1994-01-05 11:05:17 +00:00
cgd 87693669dd update with latest kernfs file system from jsp@sequent.com 1994-01-05 11:04:54 +00:00
cgd 4942f8a8bc update with latest fdesc file system from jsp@sequent.com 1994-01-05 09:00:57 +00:00
cgd 3ff83b3549 make it compile (cleanly) for us 1994-01-05 08:00:05 +00:00
mycroft 3bd8a96c64 Clean up deleted files. 1994-01-05 07:51:37 +00:00
cgd 699e3be9e9 add new procfs code, from Jan-Simon Pendry, jsp@sequent.com.
This is pretty-much "virgin", so that diffs can be done later.
1994-01-05 07:51:08 +00:00
cgd 8e1f0c6b2f add procfs machine-dependent code, from Jan-Simon Pendry, jsp@sequent.com. 1994-01-05 07:41:44 +00:00
mycroft 0a5a73ec5f #include cpufunc.h. 1994-01-05 03:18:25 +00:00
mycroft 9030d70fd3 Change ptpage to flag, for new VM code. 1994-01-04 14:11:05 +00:00
cgd 2c5c3a2774 add support for union and loopback mounts, from jsp 1994-01-04 14:10:48 +00:00
cgd 61cf5bd904 add LKM 1994-01-04 14:06:23 +00:00
cgd ba67215d35 generalize dupfdopen() to allow dups and moves. from jsp 1994-01-04 12:26:21 +00:00
cgd 914aac9116 field name change 1994-01-04 11:29:55 +00:00
cgd 8ceb9e7e0f field name change 1994-01-04 11:07:41 +00:00
cgd d2b5056596 reorder includes as appropriate 1994-01-04 08:13:28 +00:00
mycroft 9eb8814652 Remove the last two dependencies on 0xfe000000. 1994-01-04 01:50:18 +00:00
mycroft e254def3cf Fix VM_{MIN,MAX}_KERNEL_ADDRESS. 1994-01-04 00:44:03 +00:00
mycroft d16aafd49f Fix another off-by-one error. 1994-01-04 00:24:02 +00:00
mycroft 608662ce74 Fix two off-by-one errors. 1994-01-04 00:15:26 +00:00
mycroft eee671fcc9 Default address is now 0xfe100000; assume we aren't going to revert. 1994-01-04 00:02:38 +00:00
mycroft 92d7ef960c Use KERNBASE, not 0xfe000000. 1994-01-03 23:53:29 +00:00
mycroft 664f968d53 Inline all the [lr]cr[023]() `functions' in cpufunc.h. 1994-01-03 16:23:06 +00:00
mycroft c0e772492e Inline all the [lr]cr[023]() `functions' in cpufunc.h. 1994-01-03 16:21:48 +00:00
mycroft 7131e8517e Garbage collection. 1994-01-03 16:20:47 +00:00
mycroft e75be43c5d Make sure we get the correct `rep' prefix per the Intel manual (though really
GAS should figure this out itself).
1993-12-31 21:11:32 +00:00
cgd 1424954c16 print out what we think is the resident set size. very nasty; the field
in the proc's vmspace struct should be updated, but isn't...
Also, if the process is a zombie or infantile, don't print, because
that could cause a null pointer deref.
1993-12-30 12:05:16 +00:00
deraadt debf054992 compile genassym -static as suggested by Jim McKim <mckim@lerc.nasa.gov> 1993-12-30 06:56:48 +00:00
deraadt 89ea303b7c fix __asm() clobber list for some instructions. fix from
Lennart Augustsson <augustss@cs.chalmers.se>
1993-12-30 05:16:43 +00:00
deraadt 49c0e9bead "struct ether_addr" for ethers(3) functions. 1993-12-30 04:17:40 +00:00
davidb 3a435f99f9 Changed to use make's new .OBJDIR 1993-12-28 10:59:05 +00:00
ws 778a3db3d0 Correct dumping to WD (was destroyed by MACHINE_NONCONTIG code) 1993-12-24 13:56:14 +00:00
deraadt 8c75649495 must pull in machine-cpu.h 1993-12-24 03:20:59 +00:00
deraadt 6e81a663bd OXTABS expansion was putting fewer than the required spaces if the clists
became full. we now retry the tab expansion later.
1993-12-24 01:07:40 +00:00
cgd 78cc61f8ef fix that last (for now) 1993-12-23 17:40:13 +00:00
cgd 76cce4cfdd fix fdesc_print return type (again) 1993-12-23 17:37:33 +00:00
cgd 11d6f25907 add proto for dupfdopen() 1993-12-23 17:16:00 +00:00
cgd 3434b666b4 type 9 is ISO-9660 1993-12-23 17:05:41 +00:00
cgd f59a5e6fcd fix from Nick Cuccia (cuccia@remarque.berkeley.edu), apparently
originating from Gary Grebus <glg@k8lt.ampr.org>: partition size
must be in units of DEV_BSIZE.
1993-12-23 09:35:51 +00:00
cgd a31e66148f isofs_print return type reverts to 'int' 1993-12-23 07:37:42 +00:00
cgd 61bcdb266e include <machine/cpu.h> rather than <machine/mtpr.h> -- if the latter
exists at all, it's supposed to be included by <machine/cpu.h>
1993-12-23 07:36:06 +00:00
cgd b0603af6e5 fix typo pointed out by Rich Murphey 1993-12-23 07:28:41 +00:00
cgd c231ef26cb need sys/types.h, as pointed out by Rich Murphey. also, use 'machine/pio.h' 1993-12-23 07:12:00 +00:00
cgd d02ac4c31d mfs_print return type back to 'int' 1993-12-23 07:03:11 +00:00
cgd fd9de878ef add NPTEPG back in. gdb wants it. Thanks to Rich Murphey for pointing it out. 1993-12-22 17:39:45 +00:00
cgd 42d0ba8c0a move getnewfsid() to where jsp says it belongs. update for header
files; clear new field and delete old vtype name.
1993-12-22 13:51:14 +00:00
cgd 87dfd3227e cast to match header (changed back...) 1993-12-22 13:46:28 +00:00
cgd 146889c8fd add portal and lofs entries 1993-12-22 13:43:18 +00:00
cgd c3ee44a1b9 various bug fixes from BSDI, via jsp. Kill some iffy fixes
by wfj (and replace them with better ones from BSDI).  add support
for p_vnode, and add proc_reparent() function, from jsp.
1993-12-22 13:42:27 +00:00
cgd a67d24d94b add support for p_vnode, from jsp 1993-12-22 13:39:27 +00:00
cgd 077a1e690c add proto for proc_reparent() function from jsp.
he gave us the function, but i'm not sure exactly where the proto
should go...
1993-12-22 13:20:26 +00:00
cgd ae30022085 fix return type of vnode print routine 1993-12-22 13:14:10 +00:00
cgd cc4170c743 fix return type of dead_print 1993-12-22 13:12:09 +00:00
cgd c0f153885d alphabetize... again 1993-12-22 13:11:03 +00:00
cgd e1c650fe5f rename struct 'regs' to 'reg' 1993-12-22 13:07:47 +00:00
cgd 953dee1999 fix nfs_print, add cross-device link checking (From jsp) 1993-12-22 13:03:22 +00:00
cgd 929c86a29b change return type of nfs_print back to int 1993-12-22 13:00:36 +00:00
cgd d2ad7a00c2 should be 'struct reg' not 'struct regs' -- it's in reg.h, after all!
also, delete r_fs and r_gs; looking at the code and comments
describing/using this struct, they don't belong here
(though if support for them is ever put in here, they should be,
but for i486-en only...  how do you do that 'reasonably,' though?
interface issues...)
1993-12-22 12:57:24 +00:00
cgd 7fbfc4bac0 add (possibly iffy) definitions of PSL_USERSET and PSL_USERCLR,
"standard" PSL masks.
1993-12-22 12:56:08 +00:00
cgd 5a87cb9c50 VOP_PRINT should return int; this should not have been changed (yet?) 1993-12-22 12:51:31 +00:00
cgd 18470f17e3 this file is once again in alphabetical order... 1993-12-22 12:48:25 +00:00
cgd dced52af6c bump MAXSSIZ back down to 8M (from 256M, where charles put it).
execve() currently allocated MAXSSIZ of address space (AND PAGE TABLES)
for the stack.  until that's changed, and the stack-handling code is
updated to match, MAXSSIZ==256M will make execve() significantly slower
than MAXSSIZ==8M.
1993-12-22 12:30:59 +00:00
cgd 0be07477eb use ${MAKE} rather than "make", as suggested by Roland McGrath 1993-12-22 04:58:02 +00:00
cgd de2aefd4b8 minor cleanup 1993-12-22 04:13:50 +00:00
cgd afce447ada p_spare is in the 'zero range' now 1993-12-21 10:39:17 +00:00
mycroft 6c32b87568 Remove two unused fields. 1993-12-21 09:47:45 +00:00
mycroft 925da8586c All the world is *not* an i386. 1993-12-21 09:45:43 +00:00
cgd 65e79d2b24 move EMUL_* definitions to a sane location , and fix them up some 1993-12-21 08:18:39 +00:00
cgd ed9fe288db oops; fix last 1993-12-21 08:07:09 +00:00
cgd 9eb96e11ee add a few new malloc types 1993-12-21 07:58:37 +00:00
cgd 6aa0cb00c6 from jsp: Changed to get attributes of root node and
generate correct type, rather than assuming it's a directory.
This allows Amd direct mounts to work correctly.
1993-12-21 07:49:30 +00:00
cgd adbe4b0962 kill two wrong 'case's 1993-12-21 07:19:14 +00:00
cgd 7d57774e7e fix typo 1993-12-21 07:02:18 +00:00
cgd 621f7b658f more of the same; gah! 1993-12-21 06:39:12 +00:00
cgd d797e926cf kill a billism 1993-12-21 06:30:28 +00:00
cgd e4420474ff move things around as appropriate, add 7 more spares (to round to 256) 1993-12-21 06:22:33 +00:00
cgd e9a8e9c41d fix that last 1993-12-21 06:01:32 +00:00
cgd cd36241fbb clean up, kill typos, add types 1993-12-21 05:48:50 +00:00
cgd 41682141d7 clean up vtype and vtagtype, and more 1993-12-21 05:41:52 +00:00
brezak a6d85089cd Add pseudo-device vn 1993-12-21 05:30:14 +00:00
brezak 23868240aa Use machine independant vn.c 1993-12-21 05:28:31 +00:00
cgd 44b2cf17a0 delete stupidity, add a few fields 1993-12-21 05:28:27 +00:00
brezak ac8be1b959 Add pseudo-device vn 1993-12-21 05:27:35 +00:00
brezak 7d88d99ac0 Add vn block/char device 1993-12-21 05:26:49 +00:00
brezak c271e40d97 Add dev/vn.c driver 1993-12-21 05:25:35 +00:00
brezak fc69cb8898 Tweak for BSD44/NetBSD environ. 1993-12-21 05:24:31 +00:00
brezak e678ab8242 vnode driver (from Mike Hibler make@cs.utah.edu) 1993-12-21 04:17:02 +00:00
briggs cec9c395f8 Use address instead of slot for add_nubus_intr. This whole interrupt
scheme should probably be taken out and shot.
1993-12-21 03:19:33 +00:00
briggs 982b2aa969 Update ethernet driver to use config.new. At least, it's a first stab
working from mycroft's magnum changes to if_ed.c.
1993-12-21 03:18:00 +00:00
briggs 2390a5c1ee Add basic sound support and a beeping (instead of flashing) console...
from Brad Grantham.
1993-12-21 03:16:01 +00:00
briggs fded7fc070 Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.
1993-12-21 03:14:16 +00:00
cgd 630651b7b0 queue.h from 4.4, from Bostic 1993-12-21 01:55:03 +00:00
davidb ddefd2e1b8 Fixed bug where with two or more SCSI controllers of the same type, you
could not have devices at the same ID on each bus.
This patch not directly applicable to magnum branch, which is using Julian's
new SCSI code.
1993-12-20 23:27:28 +00:00
ws cf3c69ea3b Correct support for single stepping of syscalls and fpu emulation 1993-12-20 17:16:42 +00:00
cgd a6eecc8e2a load average changes from magnum 1993-12-20 12:42:34 +00:00
cgd c26286a5c1 bring changes down from magnum 1993-12-20 12:39:55 +00:00
cgd 86f960201b pull load average and misc changes down from magnum 1993-12-20 12:39:10 +00:00
cgd bdabe240d0 replace VREF as appropriate to avoid logical recusion 1993-12-20 10:42:39 +00:00
cgd fb9b8e7923 add DIAGNOSTIC to each 1993-12-20 10:07:58 +00:00
mycroft 0d115f4690 Remove out of line versions of pio functions. 1993-12-20 09:20:54 +00:00
cgd 19847f52bb drag down some changes from magnum. of note: b_iodone returns void. 1993-12-20 09:16:58 +00:00
mycroft 6cbf9be7da Use cpufunc.h only where (currently) needed. 1993-12-20 09:11:38 +00:00
mycroft 0cd3f0fdd2 Remove some things which should not be here. 1993-12-20 09:08:11 +00:00
mycroft de04e7e727 New, more complete version. 1993-12-20 09:07:22 +00:00
mycroft f2a0b4b335 Canonicalize all #includes, and add pio.h where appropriate. 1993-12-20 09:05:17 +00:00
cgd 18d2f02bc9 serious cleanup 1993-12-20 07:47:15 +00:00
cgd 680c4cb0a0 change panic() for "unknown cpu type" so that it's only got one arg;
"#ifdef notdef" the old way; panic() will be upgraded eventually...
1993-12-20 06:40:55 +00:00
cgd 842286f9c4 make searching a bit easier 1993-12-20 05:42:37 +00:00
mycroft 335014be84 Increment cnt.v_trap in npxintr(). 1993-12-20 05:30:55 +00:00
mycroft e7a1e00bd6 Garbage collection. 1993-12-20 05:26:36 +00:00
mycroft 2250fff236 Cleanup and garbage collection; nothing significant. From magnum branch. 1993-12-20 05:25:02 +00:00
mycroft 546d92cec9 Forgot to decrement these. 1993-12-19 07:54:52 +00:00
glass 39414753d3 re-organization of sun3 status, and todo info for sun3-hackers release 1993-12-19 07:53:41 +00:00
mycroft c857af00dc Clean up trap handling and macroize interrupt entry and exit code. From
magnum branch.
1993-12-19 06:58:12 +00:00
mycroft a0e7e031f6 Cleanup of trap handling, and macroization of interrupt entry and exit
sequences.  From magnum branch.
1993-12-19 04:16:45 +00:00
mycroft 8b7ff01b9e Clean up deleted files. 1993-12-19 03:42:13 +00:00
mycroft 90b25c90a1 Cleanup from magnum branch. 1993-12-19 03:41:30 +00:00
cgd e1a021aee8 include machine/cpu.h, for machines which define soft interrupt stuff
there.  marked XXX; they prolly shouldn't do that...
1993-12-19 02:09:41 +00:00
mycroft 477bf7cb90 Canonicalize all #includes. 1993-12-18 04:54:21 +00:00
mycroft f1a5c33098 Canonicalize all #includes. 1993-12-18 04:46:25 +00:00
mycroft 264d2b2740 Canonicalize all #includes. 1993-12-18 04:31:28 +00:00
mycroft 122460dca2 Clean bogus arguments to newvers, and don't pass KERN_IDENT any more. 1993-12-18 04:23:04 +00:00
mycroft 7f50bd1829 Canonicalize all #includes. 1993-12-18 04:21:37 +00:00
mycroft d8ce42f0ed From magnum branch:
Intuit kernel ident from directory name, as config.new does not support `ident'
commands.
1993-12-18 04:21:35 +00:00
mycroft 21edb9924e Canonicalize all #includes. 1993-12-18 03:59:02 +00:00
mycroft 0560892d34 Canonicalize all #includes. 1993-12-18 03:48:27 +00:00
mycroft b8cd510204 Canonicalize all #includes. 1993-12-18 00:50:51 +00:00
mycroft 95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
mycroft b4d3382694 Canonicalize all #includes. 1993-12-17 07:56:32 +00:00
deraadt be71d62793 direct -> dirent 1993-12-17 00:41:23 +00:00
mycroft ea13c12adc From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
mycroft 5d474c1aad Remove an `#ifdef MACHINE_NONCONTIG', as it is now required. 1993-12-16 20:23:56 +00:00
mycroft 8ab45ada42 Eliminate reference to Maxmem. 1993-12-16 20:22:56 +00:00
hpeyerl b4b8e47e12 IFF_LLC0->IFF_LINK0 1993-12-16 20:14:10 +00:00
deraadt 493603cecd fix from Daniel Harris <daniel@werple.apana.org.au>
VTIME code must untimeout
1993-12-16 18:09:08 +00:00
pk 011f7efb3a Avoid dereferencing NULL pointer in nfs_doio() when B_PHYS is on.
Remove comment talking about nfsiomaps that we don't have.
Always use credentials that are in the buffer header, in stead of trying
to get them from pageproc, which may once have been necessary to push pages
to swap (cannot imaging anyone having exercised this over NFS though).
1993-12-16 16:43:36 +00:00
pk e7356e6993 Use proc pointer passed in uio rather then curproc for credentials (should
perhaps be done for b_proc also).
1993-12-16 16:28:43 +00:00
hpeyerl 4eef2bd5ca oh my... make NS work.
(mental note to check more thoroughly in future)
1993-12-16 04:29:07 +00:00
hpeyerl 32fa8934ac Octal; Hex... It's all the same... :-)
>From deaven@ishmael.ameslab.gov
1993-12-16 00:40:05 +00:00
briggs a69a3d2260 Non i386 machines are polite and don't point at instructions. They
count 'em.  Just to be nice, access the program counter with a macro...
1993-12-15 15:08:11 +00:00
mycroft 4b68c8d809 Fix a serious bug I introduced. 1993-12-15 14:47:38 +00:00
mycroft a317941b21 Minor change. 1993-12-15 11:33:47 +00:00
mycroft 1cc1b73beb Cleanup of startup and signal handling code from magnum branch. 1993-12-15 09:31:29 +00:00
briggs 5fd9ddd438 Get rid of IFF_ALTPHYS and hence IFF_LLC0 reference. It doesn't appear
to have been used in this driver ;-)
1993-12-15 03:38:20 +00:00
briggs 0658adaa44 Added for ddb support. I think it's at least partially wrong. This and
the files in mac68k/db_* started off as the sun3 files...
1993-12-15 03:30:27 +00:00
briggs 08d8b412c1 Add files for ddb support. I know they're at least partially broken. 1993-12-15 03:28:56 +00:00
briggs e9d1216987 Cleanup. Use mac68k_xxx macros instead of macII, etc. Cleanup via.h.
Add minimal support for ddb.
BIG CHANGE: Use proper offsets for new gas in locore.s!!!
1993-12-15 03:27:50 +00:00
briggs 93726fb753 Change constants and comments to reflect the current MACHINE value.
Define T_BRKPT and T_WATCHPOINT.
1993-12-15 03:22:56 +00:00
briggs e369bb70b1 Add (semi-bogus?) test to scsi_gen to handle luns in test unit ready
commands.  W/o this test, some old drives were being identified at
all luns...  Also some cleanup and spelling corrections ;-)
1993-12-15 03:17:54 +00:00
mycroft 924c486826 Clean up deleted files. 1993-12-15 03:10:00 +00:00
briggs 34805358dd Add (broken) support for DDB. Also fix a bug in console that confused the
scrollback.  Clean up includes a tad.
1993-12-15 03:09:05 +00:00
briggs 38f1087a45 Let's try DDB... 1993-12-15 03:04:40 +00:00
mycroft 6c404098c1 Rearrange some tests to improve efficiency a little when using BPF and
multicast at the same time.
1993-12-15 03:01:07 +00:00
deraadt 11d78045d5 correct docs 1993-12-15 01:06:55 +00:00
mycroft cbe3d33b6d P[GD]_SHIFT --> P[GD]SHIFT 1993-12-15 00:50:45 +00:00
jtc dc6d3a285e Use new <sys/dirent.h>, not <dirent.h>. 1993-12-15 00:47:19 +00:00
jtc d24da06114 Moved struct dirent, etc. from <dirent.h>. 1993-12-15 00:46:06 +00:00
mycroft 13552373e2 Some general code cleanup. 1993-12-14 13:02:52 +00:00
mycroft fccc819b20 Fold in most of the magnum vm changes. 1993-12-14 05:31:17 +00:00
hpeyerl e870ded5c4 Driver for 3Com Etherlink-III (3c509) written by me. Kudos to Charles
and Theo for help and optimizations. (without which this driver would
never have achieved speeds of 1010KB/sec)
1993-12-14 04:26:45 +00:00
hpeyerl 5097691559 >From cmaeda@cs.washington.edu; part of the multicast patches derived
from the Multicast patches for BSDI.

(I am a "big dopey bear" for having forgotten this. Thanx Havard.)
1993-12-13 15:10:40 +00:00
deraadt 252dd4bb0e VMIN/VTIME support from Marc Teitelbaum <marc@vangogh.cs.berkeley.edu> 1993-12-13 14:40:31 +00:00
deraadt 1aac161bb3 change MTU to 1500 bytes. Should be settable? 1993-12-13 14:27:01 +00:00
mycroft 31a8c70935 0xfe000000 --> KERNBASE 1993-12-13 11:50:13 +00:00
cgd 55a9a547a2 from Soeren Schmidt <sos@login.dkuug.dk>:
Basically it does a timeout on lost interrupts, starting the operation
again and logging and error message on the console.
additionally fixes some of the (newer ending) while loops
(that made it work with two IDE disks !)
1993-12-13 10:16:56 +00:00
deraadt 65824a7d8b tunnel driver cleanup done by Brad Parker <brad@fcr.com> and myself 1993-12-13 05:06:33 +00:00
deraadt 2bfd9f76b6 tunnel driver should work now 1993-12-13 05:04:34 +00:00
deraadt e24af4c37c what the heck; i've got tunnel drivers now too 1993-12-13 05:03:18 +00:00
deraadt 819b21a7fc add tunnel driver 1993-12-13 05:02:06 +00:00
deraadt 858521c1a8 update to latest syscalls.master 1993-12-12 20:46:24 +00:00
deraadt 9d48733fb1 m68k/sparc sunos binary compatibility code, pulled down from magnum branch
for consumption by the m68k masses
1993-12-12 20:43:18 +00:00
hpeyerl ded89d12bc >From cmaeda@cs.washington.edu; part of the multicast patches derived
from the Multicast patches for BSDI.

Thanx to Brad Parker for making me realize i'd forgotten to commit
this patch..(color me dopey)
1993-12-12 20:43:06 +00:00
hpeyerl ac0c68e1db ie. also pass up any packet with the multicast bit set in the ethernet
>From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
1993-12-12 20:24:37 +00:00
deraadt e5fc8b4460 update to new syscalls.master 1993-12-12 19:42:13 +00:00
deraadt c38503af4d sparc must flush register windows before vm_deallocate or else fireworks
must deallocate shm's
set/reset emulation environment at the right times
keep arg buffer around for later use
canonicalize all #includes.
support STACKGAP for COMPAT_SUNOS code
support OMAGIC/NMAGIC-style memory loading
don't assume VM_MIN_ADDRESS is 0.
(changes come from magnum branch)
1993-12-12 19:38:37 +00:00
deraadt 9dd14b7930 make syscall#0 "syscall", like in 4.4 (causes SYS_syscall to be defined) 1993-12-12 19:28:21 +00:00
deraadt 9e62501f7b support OMAGIC/NMAGIC a.out's
cannonicalize #includes
change VTEXT check
(this stuff comes from the magnum branch)
1993-12-12 19:26:18 +00:00
deraadt 3d6cccc80c add per-process emulation variable
support for OMAGIC/NMAGIC executables
STACKGAP support needed by compatibility functions
1993-12-12 19:19:03 +00:00
glass 2ed464d5b4 MACHINE_ARCH 1993-12-12 09:10:52 +00:00
glass aa497f4aea snapshot of my private sources 1993-12-12 09:08:26 +00:00
cgd bf4957f14f handle __attribute__ correctly when using gcc -traditional.
suggested, but different than what provided by Mark Weaver.
1993-12-12 07:47:04 +00:00
jtc 20aee59e7c Changed EQUIV_CLASS_MAX to COLL_WEIGHTS_MAX in accordance to POSIX.2. 1993-12-10 20:08:01 +00:00
cgd 40be71a246 bump up number of SLIP pseudo-devs to 4 1993-12-10 16:22:58 +00:00
cgd 381d61d756 move slip compression configuration into the interface flags,
and diddle a couple of related things.
1993-12-10 13:24:21 +00:00
cgd b556fd992e slight fix to last 1993-12-10 11:45:25 +00:00
cgd 0e5dbe1a22 IF_LLC0 -> IF_LINK0 1993-12-10 10:57:40 +00:00
cgd 1da7a80f7e the IFF_MULTICAST constant should always be defined. also,
move IFF_LLC* -> IFF_LINK*; they were misnamed.
1993-12-10 10:57:05 +00:00
mycroft e4f36e2ea9 Remove excess cruft. This machine has too little memory for unused baggage. 1993-12-10 08:55:32 +00:00
mycroft 714c5818db Make sure the high 16 bits of cpl gets a sane value (0) when reloading after a
process switch.  (HI THEO!)
1993-12-10 08:51:28 +00:00
cgd 94dd8a0dfb dtrt with 'error' in setpriority() 1993-12-10 07:19:16 +00:00
hpeyerl 7e2c70ce74 Add random.s for multicast stuff. 1993-12-10 05:38:37 +00:00
hpeyerl dc1b697fb8 More multicast stuff
>From cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-10 05:37:33 +00:00
deraadt 3cf1d8505e echo ^V^? correctly as ^?. From Edward Wang <edward@homer.CS.Berkeley.EDU> 1993-12-09 22:58:17 +00:00
pk 02fca0e730 Really suppress clock warning message, even if celebrating. 1993-12-09 20:27:53 +00:00
pk 9610135cb8 Do the right thing when arguments are NULL.
Don't leave filesystems marked busy after copyout() errors.
1993-12-09 18:00:18 +00:00