Commit Graph

816 Commits

Author SHA1 Message Date
hpeyerl 2eb7e135f7 From the knights that go "nit".(Tom Bishop <bishop@lear.bos.locus.com>) 1994-01-21 21:35:58 +00:00
glass f3307888b5 cleaned up some warnings 1994-01-21 06:26:00 +00:00
cgd 07fd779cd0 delete contents; can't appear in trunk until copyright is fixed. 1994-01-21 05:11:07 +00:00
mycroft 05de5d96e0 Someone needs to find his space bar. 1994-01-20 23:08:13 +00:00
ws 16b1f2baeb Make signal handling code use copyin/copyout instead of
direct access to user data.
Make procfs really work for debugging.
Implement not & notepg files in procfs.
1994-01-20 21:22:06 +00:00
ws 55a366e69b Correct parameters of sync 1994-01-20 19:58:52 +00:00
jtc c4b7945dca My previous checkin didn't really change the FPU Exception Mask -- it was
trapped inside an #ifdef -- this commit changes it as I had originally
intended.
1994-01-17 18:10:01 +00:00
cgd e11a5f7688 casting for exec_package field changes 1994-01-16 03:08:18 +00:00
mycroft 900084ce24 Clean up deleted files. 1994-01-16 02:00:01 +00:00
cgd d8f4f2b929 add nearly every option known to man, and clean up 1994-01-16 01:38:07 +00:00
cgd 82a0744073 turn on SYSVSHM and note the default value of SHMMAXPGS 1994-01-16 01:36:15 +00:00
cgd ea52295d11 SHMMAXPGS now pegged at 1024, where it belongs 1994-01-16 01:36:07 +00:00
mycroft ee47a9e354 Just #ifdef BDB the appropriate code; it's too flaky to live right now. 1994-01-15 05:33:23 +00:00
briggs 2e6a049555 undefined variable defined. 1994-01-15 03:24:23 +00:00
mycroft 2ff1cb8f3b Totally trivial anality, not worth mailing about. 1994-01-14 02:58:37 +00:00
mycroft 33a067f307 Junk comselect(); it's the same at ttselect(). 1994-01-13 14:58:12 +00:00
cgd 8ca18c3fa8 use exec_map 1994-01-13 06:23:57 +00:00
cgd aebed65bf3 add SYSV* 1994-01-13 04:30:10 +00:00
mycroft 9a58b58c31 Change the bufpages calculation back to .10min(physmem,2mb)+.05max(0,physmem-2mb). 1994-01-13 04:00:09 +00:00
mycroft 7e32102eda We are simply not ready to use pkthdr.len yet. 1994-01-12 04:12:10 +00:00
mycroft 47f759bc3c Use pkthdr.len field. 1994-01-12 02:58:26 +00:00
mycroft cfdaa9d2ea Use the pkthdr.len field rather than traversing the mbuf chain. Also put some
sanity checking code in, #ifdef DEBUG, just in case.
1994-01-12 02:38:17 +00:00
mycroft 81c6dcf43d Remove some unnecessary casting. 1994-01-11 22:39:40 +00:00
mycroft 82420de143 Fix typos. 1994-01-11 22:35:55 +00:00
mycroft c21cb48980 Fix the segment validation in sigreturn(). 1994-01-11 21:46:49 +00:00
brezak 65f742625b Check the users selectors in sigreturn() 1994-01-11 19:19:01 +00:00
mycroft 960908a885 Deal with fusubail. 1994-01-11 19:12:07 +00:00
mycroft 9a96e9531b Add V_TRAP; remove TF_ERR. 1994-01-11 18:59:02 +00:00
mycroft 8e447f8afd Minor changes to match magnum branch; nothing of importance. 1994-01-11 18:57:24 +00:00
mycroft 10865c97fa Synchronize some more bits. 1994-01-11 17:51:40 +00:00
mycroft e12a200e8a Remove an unnecessary cast. 1994-01-11 17:37:28 +00:00
mycroft 101e3f31f7 Cleanup from magnum branch; no functional differences. 1994-01-11 17:35:04 +00:00
mycroft 495c0903ec Change return type of strat function. 1994-01-11 16:38:48 +00:00
mycroft 4448a68e2c Get rid of disklabel indirection functions. 1994-01-11 16:35:44 +00:00
mycroft 158545c164 strategy functions return nothing. Synchronize with magnum branch. 1994-01-11 16:25:52 +00:00
mycroft 07a07b09a6 Synchronize with magnum branch. 1994-01-11 15:37:18 +00:00
mycroft ad116f4438 Some minor cleanup, mostly from magnum branch. 1994-01-11 15:11:36 +00:00
mycroft 2f414f2686 Fix the BDB bug for real. 1994-01-11 14:37:01 +00:00
mycroft 798a4ffff3 Reformat. 1994-01-11 14:24:11 +00:00
mycroft bdf5bd0cf3 Simplify OMAGIC and NMAGIC handling. Remove all support for loading the
kernel in low memory, and always load the symbol table.
1994-01-11 14:13:49 +00:00
mycroft 497b6ddc04 Tiny code shortening tweaks. 1994-01-11 14:01:15 +00:00
mycroft 5e0b965829 Remove a pointless register save. 1994-01-11 13:59:24 +00:00
mycroft 03058aa56a Remove mostly useless RCS logs. 1994-01-11 13:58:00 +00:00
mycroft c8b8051b89 Gratuitous formatting changes. 1994-01-11 13:30:40 +00:00
cgd 62af8f99cc clean up and trim some 1994-01-09 23:57:00 +00:00
mycroft 8d49c8420a Use db_recover. Print trap name when entering DDB. Use trap_type and
trap_types like m68k.
1994-01-09 22:53:16 +00:00
cgd 3f787778b2 LBL /dev/audio and soundblaster drivers, as ported by brad@fcr.com.
both should work with both old- and new-config i386 trees.
Some notes:
	bsd_audio.c has dependencies on the soundblaster.  This should
		be fixed, so that it can be used for the PC speaker
		(when its driver has been modified), as well.
	sb.c needs some cleanup, and will have sections trimmed, eventually
		(when new config becomse standard for i386).  additionally,
		the SBPro support needs some cleanup.
1994-01-09 19:35:00 +00:00
cgd cb875046b8 LBL "/dev/audio" include file.
probably will need to be hacked if "the right things" are done to bsd_audio.c
1994-01-09 19:30:17 +00:00
cgd 52778508b5 add 'audio' entries, at minor number 42 1994-01-09 19:28:27 +00:00
cgd 5b94c9652a add entries for the 'audio' pseudo-dev and for the new soundblaster driver 1994-01-09 19:27:36 +00:00
deraadt 84ab77272a *chuckle* -- i ran out of bpfilters.... (don't ask) 1994-01-09 18:21:10 +00:00
cgd 8cdc8d997d define PT_STEP, and clean up some 1994-01-09 16:53:03 +00:00
mycroft f1be23e81a Add the infamous IOPL sanity check, and speed up some bits. 1994-01-09 15:02:24 +00:00
mycroft f8154a63c0 Don't bogusly save the supervisor stack on signals. Correct PSL checks. Fix
some return values from sigreturn().
1994-01-09 14:59:42 +00:00
mycroft 4eb1bbfb0b Use PSL_MBO and PSL_MBZ in the more traditional way. 1994-01-09 14:58:14 +00:00
mycroft ec0fa1f388 Use NULLVP, just for Correctness (tm). 1994-01-08 16:06:04 +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
cgd 957ce06f24 far reaching but relatively minor cleanup and slight reorg of exec code 1994-01-08 07:14:24 +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
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
pk 6f81dd8136 Add .type directive to ENRTY().
Move PIC_ macros over here from SYS.h
1994-01-07 00:46:20 +00:00
mycroft c26cce685a Declare a return type explicitly. 1994-01-06 23:59:15 +00:00
cgd 48b5ac1a52 add 'maxfdescs 2048' to everything. i'm sick of the warning... 1994-01-06 12:07:41 +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
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
deraadt 489e12a1a7 small cleanup 1994-01-05 13:38:57 +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
cgd 61cf5bd904 add LKM 1994-01-04 14:06:23 +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
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
ws 778a3db3d0 Correct dumping to WD (was destroyed by MACHINE_NONCONTIG code) 1993-12-24 13:56:14 +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 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 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 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 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
mycroft 6c32b87568 Remove two unused fields. 1993-12-21 09:47:45 +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