Commit Graph

2126 Commits

Author SHA1 Message Date
phil 0e490a71f1 New file for ptrace support. Will be corrected for the pc532 soon. 1994-01-14 08:12:29 +00:00
phil 3a66f5a68b New file for ptrace support. Will have something in it someday. 1994-01-14 08:12:05 +00:00
phil 22b6f1e7f1 Changes to catch up with current. 1994-01-14 08:09:42 +00:00
phil 06a5cd70ad Changes for quad library and new ptrace stuff. 1994-01-14 08:09:15 +00:00
phil eb5b7eb72c Adding line for file proc_machdep.c (will become process_machdep.c when
NetBSD/532 is self hosting.)
1994-01-14 08:08:36 +00:00
deraadt 6b8ee3c10f various small netbsd-ifications 1994-01-14 05:05:17 +00:00
deraadt d22f586c29 everything is now in sys/arch/pmax; and delete 4.4isms we don't do 1994-01-14 05:00:07 +00:00
deraadt 44663395d2 s/vmunix/netbsd/ 1994-01-14 04:57:44 +00:00
mycroft f8100bd977 Clean up deleted files. 1994-01-14 04:53:43 +00:00
deraadt 9fd56d82c3 some pmax updating (Terry Friedrichsen is helping on this now). 1994-01-14 04:53:37 +00:00
deraadt af01174969 `extern int cpu' isn't used at all. 1994-01-14 03:41:49 +00:00
mycroft 2ff1cb8f3b Totally trivial anality, not worth mailing about. 1994-01-14 02:58:37 +00:00
cgd bc53d82fa7 fix utimes() to deal with NULL timeval ptr 1994-01-13 23:51:43 +00:00
mycroft d72e7068e5 Add a variable (currently unused in this port) to make DDB happy. 1994-01-13 23:49:13 +00:00
mycroft bff20215e7 Make a printf #ifdef PORTAL_DIAGNOSTIC. 1994-01-13 18:29:03 +00:00
cgd 3c39708b08 oops; get rid of a mis-inclusion in the last change 1994-01-13 18:20:36 +00:00
mycroft 33a067f307 Junk comselect(); it's the same at ttselect(). 1994-01-13 14:58:12 +00:00
mycroft 5358c47ee5 Allocate exec_map. 1994-01-13 13:56:20 +00:00
briggs 363cc5e5be Basic cleanup. Get rid of my_frame for frame. 1994-01-13 12:59:30 +00:00
briggs 626f129c93 Allocate exec_map. 1994-01-13 12:56:16 +00:00
glass faa4194a8f fixed a typo in a comment 1994-01-13 07:36:21 +00:00
glass b7fcaa5202 exec_map is now used 1994-01-13 07:19:28 +00:00
cgd 8ca18c3fa8 use exec_map 1994-01-13 06:23:57 +00:00
cgd af15bd1683 crank MAXBSIZE to 16384, for now; should be MAXPHYS, but this will do (for now) 1994-01-13 04:33:02 +00:00
cgd aebed65bf3 add SYSV* 1994-01-13 04:30:10 +00:00
cgd 81d655b943 uncomment defn of exec_map 1994-01-13 04:25:01 +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
cgd 5cc251df11 kill iffy optimization 1994-01-13 02:43:09 +00:00
cgd 7422e2a40c trim debugging code, for now, and kill dead code (unused options) 1994-01-13 02:33:57 +00:00
cgd f023b7235d trim extra debugging code, for now 1994-01-13 02:33:28 +00:00
cgd 6c7058a8ea EXEC_DEBUG -> DEBUG, and trim extra debugging code, for now 1994-01-13 02:29:32 +00:00
cgd 0001258a09 EXEC_DEBUG -> DEBUG 1994-01-13 02:27:28 +00:00
cgd 662ddfaad5 fix from: line 1994-01-12 23:20:15 +00:00
deraadt 4f72798214 reserve pmax mid 1994-01-12 20:15:11 +00:00
cgd 6570678929 fix botch in last 1994-01-12 20:01:39 +00:00
cgd dc254a5c58 update to portal credentials handling, from jsp 1994-01-12 19:50:22 +00:00
mycroft 7e32102eda We are simply not ready to use pkthdr.len yet. 1994-01-12 04:12:10 +00:00
cgd 0e116508d4 check cross-device renames 1994-01-12 03:33:33 +00:00
mycroft 47f759bc3c Use pkthdr.len field. 1994-01-12 02:58:26 +00:00
mycroft b8cc9a5cd2 Get the pkthdr.len calculation right. 1994-01-12 02:45:11 +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
deraadt d553c09639 writing out of bpf; use a hdr mbuf and set the pkthdr.len as well.
(rarpd now works with if_ep.c!)
1994-01-12 00:38:50 +00:00
mycroft 497cad8b12 Remove the evil #ifndef; we no longer need it. 1994-01-11 23:19:00 +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
ws 5f7ef81c6f Fix ugliness left over from my last mod 1994-01-11 18:02:06 +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 efdb9fa688 *strategy functions return void. 1994-01-11 17:19:37 +00:00
mycroft 99e02ea4e5 Get rid of indirection, and change return type of strat functions. 1994-01-11 16:41:37 +00:00
mycroft 8698f35d76 Change return type of strat functions. 1994-01-11 16:40:19 +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 24621baf6a strategy functions return void. 1994-01-11 16:28:47 +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
briggs bfa3801169 Reflect reality a bit more closely... 1994-01-11 00:30:26 +00:00
briggs 197d195eb4 TRAP_TYPES macro to trap_types variable.
Yank some VIA initialization.  Seemed to cause some problems.
1994-01-11 00:25:30 +00:00
briggs 0602c3467a Yank a reference to a variable that bit the dust. 1994-01-11 00:20:10 +00:00
briggs ed87cbfebd Some generic clean-up. Get rid of old debugging code. Fix exec to work
with new changes by cgd.  Fixup includes.  Get rid of initcpu().  Change
code using struct myframe to use struct frame.  Some gratuitous
reformatting and get rid of C version of copyinstr().
1994-01-11 00:18:54 +00:00
briggs 33e189e2da Clean up isr stuff. 1994-01-11 00:16:13 +00:00
mycroft 09e9a743f5 Clean up deleted files. 1994-01-11 00:03:43 +00:00
briggs 558be1794a Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.
1994-01-10 23:58:37 +00:00
briggs af6d2f067d Fixup to use m68k headers, now. Thanks, Chris. 1994-01-10 23:55:20 +00:00
briggs dfe9897dba Update grf.h to increment a number of devices when it configures.
Fix a small bug in serial.
  Both from Brad, Lawrence, and/or Mike.
1994-01-10 23:52:01 +00:00
mycroft 627b841797 Change the counters to be all the same type -- u_long. 1994-01-10 23:27:39 +00:00
mycroft e287c3d10e Fix function name. 1994-01-10 23:20:07 +00:00
jtc aa0356b56a Set errno to EINVAL and return -1 if the argument to sigaddset(), sigdelset(),
or sigismember() is out of range.  POSIX.1 allowed the old behavior, but
detecting the errors is a more reasonable course of action.
1994-01-10 23:02:09 +00:00
jtc 944e286166 Change to be more 4.4BSD like. In particular, old programs that include
<sys/dir.h> instead of <dirent.h> will continue to work.
1994-01-10 22:54:00 +00:00
mycroft 00d41f83e8 Make this compile again after netinet changes. 1994-01-10 22:01:43 +00:00
ws a24f445d60 Fix sign extension bug 1994-01-10 20:47:39 +00:00
mycroft b79490fcca Should compile now with or without `options MULTICAST'. 1994-01-10 20:14:14 +00:00
mycroft bb3d7004c8 Deal with linkl in addition to linkw. 1994-01-10 17:59:45 +00:00
pk acc0f12ec0 reparations... 1994-01-10 13:29:26 +00:00
pk 36655da823 Don't deny unlink()s of files with the "silly" bit on, but still have > 1 links,
but avoid doing gratuitous (possibly expensive) get_attr() calls.
1994-01-10 09:37:05 +00:00
mycroft a537084311 Cleanup. 1994-01-10 06:10:30 +00:00
mycroft 27a2653bc6 *Really* fix the wakeup code this time. 1994-01-10 05:58:37 +00:00
mycroft c4f31d72f8 Add a missing break so my machine doesn't panic. 1994-01-10 04:58:14 +00:00
mycroft b58ba6927f Wake up the blasted process when we detach! 1994-01-10 04:20:29 +00:00
mycroft 0aa5118f9f Nuke args to newvers.sh. 1994-01-10 02:34:51 +00:00
mycroft 77ae87e498 Fix some bogus spacing. 1994-01-10 02:22:11 +00:00
mycroft d13e46daf0 Add some padding before SR. 1994-01-10 02:19:51 +00:00
mycroft b75455c4a3 Fix a buglet. 1994-01-10 02:18:34 +00:00
mycroft 699565c826 Don't prototype this until it's safe. 1994-01-10 00:31:11 +00:00
cgd c1a2366f8e don't #ifdef out PT_ATTACH and PT_DETACH. 1994-01-09 23:58:45 +00:00
cgd 64aaba1a4e fix some of my more recent botches, and clean up slightly. 1994-01-09 23:57:56 +00:00
cgd 3fbd67b7d3 implement PT_ATTACH and PT_DETACH. 1994-01-09 23:57:15 +00:00
cgd 62af8f99cc clean up and trim some 1994-01-09 23:57:00 +00:00
mycroft 999a718334 T_WATCHPOINT doesn't really exist. Deal. 1994-01-09 23:38:46 +00:00
mycroft 532938fe07 Gratuitous change. 1994-01-09 22:58:07 +00:00
mycroft 7fd3f9fac7 Pointers to arrays behave oddly in C... 1994-01-09 22:56:07 +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
mycroft ebc818a088 Make trap_types a variable, so it can be imported by DDB. 1994-01-09 22:50:11 +00:00
mycroft 6b3e4e6b02 Push and pop db_recover for error handling, so we can set up temporary catch
points easily.  (Alluded to by m68k code, but not implemented yet for some
reason.)
1994-01-09 22:35:10 +00:00
mycroft 384b7f777a Fix jmp_buf definitions. 1994-01-09 22:28:50 +00:00
mycroft 1c1f7996c5 Fix some #includes. 1994-01-09 22:26:26 +00:00
mycroft 832cebd4cf Enable DDB. 1994-01-09 21:38:05 +00:00
mycroft 24aa7f14b4 Turn panic button into a debugger trap if DDB. 1994-01-09 21:36:55 +00:00
mycroft 65a81b945b KNFify, and fix a condition where we might miss the register saves if the
frame length is short.
1994-01-09 21:24:46 +00:00
cgd 5c3b96cd71 oops. fix that last 1994-01-09 20:17:06 +00:00
cgd 9f5ed8f1ef minor cleanup; kill a few assignments 1994-01-09 20:10:51 +00:00
mycroft 71c7280658 Thinko. code is always 0 on m68k; no need to print it. 1994-01-09 20:05:47 +00:00
cgd d0edbb3d59 add constants for a couple of disk types. suggested by downsj@CSOS.ORST.EDU 1994-01-09 20:05:38 +00:00
mycroft 11eb822fdf Add DDB hook. 1994-01-09 19:58:47 +00:00
ws 6202bab2db Bug fixes and enhancements:
Make NFS serving work (BUT DON'T USE "attach" TO /proc/*/ctl FOR NOW!!!)
Make `curproc' a symbolic link
Add `.' and `..' entries to the directories.
Return better guesses on the size of the files.
1994-01-09 19:44:03 +00:00
mycroft 8243207be1 Some more minor cleanup. 1994-01-09 19:39:23 +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
mycroft 642f2bffba Alias T_TRAP15 to T_BREAKPOINT globally. 1994-01-09 19:30:01 +00:00
mycroft e2662b6ceb Clean up a bit. 1994-01-09 19:28:53 +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
ws 30a6426c82 Fix typo in last 1994-01-09 18:46:17 +00:00
deraadt 84ab77272a *chuckle* -- i ran out of bpfilters.... (don't ask) 1994-01-09 18:21:10 +00:00
ws 903f51e908 Note that NFS mounting of fdesc doesn't make sense 1994-01-09 17:33:06 +00:00
ws e33a014618 Use $(MAKE) instead of make 1994-01-09 17:22:54 +00:00
cgd 4c8ff3970f try until error != ENOEXEC, so that formats can report errros reasonably 1994-01-09 17:11:42 +00:00
cgd 8cdc8d997d define PT_STEP, and clean up some 1994-01-09 16:53:03 +00:00
cgd b0bc24471f PT_STEP is actually machine dependent. not all machines have it! 1994-01-09 16:52:11 +00:00
ws 528eaca557 Really observe lmc_loadbuf.cnt and
correct argument order on execsw restoration.
1994-01-09 16:47:40 +00:00
cgd 85144bf311 ddb code now common 1994-01-09 16:40:33 +00:00
cgd 849b864238 stub 1994-01-09 16:35:32 +00:00
cgd f77210debf add ddb files, and also make sure alphabetically ordered 1994-01-09 16:31:50 +00:00
cgd ba8d0fb00f kill logs, and minor cleanup 1994-01-09 16:26:51 +00:00
cgd 12d80e6797 stub. 1994-01-09 16:17:10 +00:00
cgd b29e20a007 kill logs, and clean up. some of this will need cpu-dependent hooks. 1994-01-09 16:13:04 +00:00
briggs fd601bd3d6 Ugh. Missed the other. mac=>mac68k... 1994-01-09 15:56:22 +00:00
briggs e53963b58b mac => mac68k 1994-01-09 15:54:20 +00:00
deraadt 92d5f7831c p_emu/ep_emul are u_char 1994-01-09 15:49:41 +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 222ebaf50e Prototype the rest. 1994-01-09 01:06:02 +00:00
mycroft 321b0c6090 More prototypes. 1994-01-08 23:50:41 +00:00
mycroft 12c88c1841 Remove some extra prototypes. 1994-01-08 23:26:40 +00:00
mycroft 26b5333c74 Slight rearrangement. 1994-01-08 23:19:48 +00:00