Commit Graph

1943 Commits

Author SHA1 Message Date
briggs
d04160dd34 Some cleanup--largely from amiga/trap.c. "Do" __syscall... 1994-04-06 02:59:52 +00:00
briggs
31d0809898 Bug pointed out by chopps (thanks!)
We were also lacking another copy in cpu_fork() for the struct mdproc.
1994-04-06 02:55:54 +00:00
mycroft
3d09f5597c Need to clear %fs and %gs early on. 1994-04-06 01:31:33 +00:00
mycroft
8b1679d75d Remove spurious arg to printf(), per JT Conklin. 1994-04-06 00:27:49 +00:00
glass
e96e34d073 chopps fix 1994-04-05 23:45:01 +00:00
mycroft
671bcb4e22 Clean up deleted files. 1994-04-05 23:05:09 +00:00
chopps
bdb52e02f8 fp -> fd, consistency good. [nameclash bad.] 1994-04-05 23:04:05 +00:00
mycroft
b2edbd1ccd Fix up #includes. 1994-04-05 19:52:16 +00:00
mycroft
d48a7c43fb Mostly cosmetic changes. 1994-04-05 19:47:45 +00:00
mycroft
71dd213832 Optimize _insque() and _remque(), and remove all the casts. 1994-04-05 19:09:14 +00:00
chopps
6484be3bf1 allow user to not use their retina board as the console. 1994-04-05 18:19:27 +00:00
chopps
41536d5615 add floppy. 1994-04-05 18:13:22 +00:00
chopps
c77b0c9958 added floppy driver from Brad Pepers, doesn't work on my machine, some
major cleanup by me no code changes ... yet.
1994-04-05 18:11:52 +00:00
chopps
602ef3f30f incorpaorated floppy code from Brad Pepers, needs work doesn't work on my
machine.  more clenaup in trap.c
1994-04-05 18:08:56 +00:00
mycroft
10466baa67 npxexit() doesn't need its arg. 1994-04-05 17:57:02 +00:00
mycroft
7d2ada5f79 Various cleanup. 1994-04-05 17:56:26 +00:00
phil
951784dda0 genassym.c: %c => %d
trap.c: added __syscall
1994-04-05 17:37:41 +00:00
mycroft
ae2e24c9ab Correct display of bit test insns. 1994-04-05 17:31:31 +00:00
mycroft
284797351b Garbage collect. 1994-04-05 17:23:39 +00:00
mycroft
670aa6914a Add some notes about swtch_exit(). 1994-04-05 15:08:46 +00:00
mycroft
25317c76f3 Increase ahb_send_mbox timeout. 1994-04-05 08:53:00 +00:00
mycroft
936d23aa7a Don't bother checking npxproc on exit. 1994-04-05 08:02:09 +00:00
mycroft
2fa4ce0376 Use swtch_exit(). 1994-04-05 08:01:12 +00:00
mycroft
8baa13db22 Add P_VMSPACE. 1994-04-05 08:00:21 +00:00
mycroft
e6afef6b33 Optimize setrq() and remrq(). Implement swtch_xeit(p), which switches to
proc0's context, deallocates p's adress space, and resumes the swtch() that
was suspended in proc0.
1994-04-05 07:59:55 +00:00
mycroft
b40fa7f850 p_regs fix from amiga. 1994-04-05 07:45:54 +00:00
chopps
c8a98e047a need to copy current frame pointer (p_regs), very subtle bug as you needed
to have a signal pending for a child process that has not yet returned
from fork(). fun.
1994-04-05 05:46:26 +00:00
mycroft
34f313fac4 Fix bogon in last change. 1994-04-05 02:48:23 +00:00
mycroft
da77439465 Clean up deleted files. 1994-04-05 01:57:40 +00:00
briggs
7d99e03949 Clean out some old printf()s and get rid of MAP_FILE reference. 1994-04-05 01:30:28 +00:00
mycroft
fbedcabada Clean up deleted files. 1994-04-05 01:28:06 +00:00
mycroft
a02a395d9f Clear curproc earlier so we don't accumulate CPU time while idle. Document
register usage for future generations.
1994-04-04 23:07:22 +00:00
mycroft
1380575066 Various minor cleanup. 1994-04-04 16:48:21 +00:00
mycroft
39b1222c87 Try to keep interrupts enabled more. Do the %fs ans %gs load *after* the LDT
is restored.
1994-04-04 15:56:47 +00:00
chopps
a9fe3fa9cb theo fixed sun_syscall.h so now we unhardcode SUN_SYS_sigreturn. 1994-04-04 11:10:55 +00:00
mycroft
f2cf7f20f3 Leave the old cpl on the kernel stack, too, and optimize the case of switching
to the same process.
1994-04-04 09:42:47 +00:00
mycroft
49f79f65d2 Add some; delete some. 1994-04-04 08:58:55 +00:00
mycroft
d6f7f7005a savectx() now does the stack copy; don't need to do it here. 1994-04-04 08:58:25 +00:00
mycroft
1ccad96544 Save %fs and %gs across process switches. Leave some registers on the kernel
stack rather than in the PCB.  Make savectx() do the stack copy.
1994-04-04 08:57:54 +00:00
deraadt
8fd9eafe10 64 bit syscalls 1994-04-04 08:07:33 +00:00
chopps
63451f6988 cleanup, bring syscall() up to date. 1994-04-04 07:32:50 +00:00
mycroft
80f4421fb8 Fix a bug in swtch(), and speed it up a bit. 1994-04-04 03:47:20 +00:00
mycroft
5fc2bbc2a3 Minor speedups to copyin/out functions, and fix a couple of obscure bugs. 1994-04-04 01:56:54 +00:00
mycroft
7482d8f203 Clean up some more dependencies. 1994-04-03 23:09:39 +00:00
mycroft
314bc1f5db Clean up #includes. 1994-04-03 22:50:14 +00:00
mycroft
beb5680d81 This is #included multiple times. 1994-04-03 22:36:41 +00:00
mycroft
0234c30a00 Clean up #includes. 1994-04-03 22:28:23 +00:00
mycroft
3a8dd5d6b1 Clean up #includes. 1994-04-03 18:58:55 +00:00
mycroft
3ce26e4f42 Make sure we get psl.h. 1994-04-03 18:54:21 +00:00
mycroft
c075fee1b2 Clean this up a little. 1994-04-03 18:53:53 +00:00
mycroft
6a15886fc6 Oops. 1994-04-02 22:15:03 +00:00
mycroft
6a718d3287 Implement __syscall(). Do the userret() thing. Some stylistic cleanup. 1994-04-02 21:36:10 +00:00
mycroft
f611fb1eb1 Some stylistic cleanup. 1994-04-02 21:32:54 +00:00
glass
b316507cbf part one of two..need to give someone a ring... 1994-04-02 21:10:26 +00:00
cgd
1c1d646c7e kill bogon 1994-04-02 08:42:59 +00:00
mycroft
9a9b1d99fa Minor code cleanup. 1994-04-02 08:04:26 +00:00
cgd
89a94f33b4 change __syscall() handling so others can cut/paste it... 1994-04-02 08:04:25 +00:00
mycroft
98895901ea Minor code cleanup. 1994-04-02 08:04:25 +00:00
mycroft
3b1d5536ec Need syscall.h. 1994-04-02 03:52:15 +00:00
mycroft
f8b80b0d94 Implement __syscall(). 1994-04-02 03:51:37 +00:00
phil
76be62770b Old scsi code until the pc532 port can be made to use the new scsi code 1994-04-01 23:18:05 +00:00
phil
f58e820881 autoconf.c,locore.c: changes for setroot()
disksubr.c: removing some debugging code
machdep.c: changes to boot() for file syncing (uncommenting an #if 0)
1994-04-01 23:16:54 +00:00
phil
3626d9a416 Makefile.pc532: removing work-arounds for minix
files.pc532: adding pc532/scsi to get temporary access to old scsi code
1994-04-01 23:14:54 +00:00
chopps
2d265e4163 no more MAP_FILE 1994-04-01 20:48:25 +00:00
mycroft
5edb523880 Remove an old hack that now just causes a small memory leak during autoconfig. 1994-03-31 16:59:04 +00:00
mycroft
b6f5403319 Some patches from Rafal Boni to fix egregious 3C507 mistakes. 1994-03-31 06:16:35 +00:00
mycroft
23c5083a45 Minor changes. 1994-03-30 18:35:11 +00:00
chopps
91e9961a67 remove dlists.h oops. 1994-03-30 17:24:08 +00:00
cgd
2ed6c26523 add -r flag, for RB_DFLTROOT 1994-03-30 11:19:12 +00:00
mycroft
b6fbebba6c Change some defaults to be more reasonable. 1994-03-30 08:03:27 +00:00
mycroft
8ccc7bdffb Turn off the timeout debugging info by default. 1994-03-30 04:58:32 +00:00
mycroft
ea6d9af1c2 Print out board revision info. 1994-03-30 04:07:48 +00:00
mycroft
6ec90fd0d5 Minor fix to attach messages. 1994-03-30 00:54:43 +00:00
mycroft
d6e1028ce6 foo 1994-03-29 22:59:55 +00:00
pk
fe520b8c38 protect psr bits 1994-03-29 20:33:57 +00:00
mycroft
928e98118a More performance tweaking. 1994-03-29 20:16:14 +00:00
mycroft
95f1b85a5a astprobe(): Set ia_iosize. 1994-03-29 06:58:29 +00:00
mycroft
722ea327b7 Clean up deleted files. 1994-03-29 04:40:54 +00:00
mycroft
d887452c3b Update for new code. 1994-03-29 04:40:38 +00:00
mycroft
9478340099 Update for new SCSI code, and we don't need counts on some of these files
any more.
1994-03-29 04:39:25 +00:00
mycroft
b67467a65e Update for new autoconfig. 1994-03-29 04:38:05 +00:00
mycroft
592ec61b17 Updates for new autoconfig. 1994-03-29 04:35:37 +00:00
mycroft
5eb99ad76e New autoconfig mechanism. Hacked at the moment to use old config(8), but
look mostly like config.new to drivers.
1994-03-29 04:34:18 +00:00
mycroft
afe83acd57 New version from me. 1994-03-29 04:32:39 +00:00
mycroft
6bce5180d6 New version from Sergey Ryzhkov and Serge Vakulenko. 1994-03-29 04:32:12 +00:00
mycroft
e1d51562a9 New SCSI system, based on Julian's more recent work. 1994-03-29 04:30:15 +00:00
mycroft
22fac0402f pcvt 3.0, with some performance enhancements by Joerg Wunsch and me. 1994-03-29 02:46:38 +00:00
mycroft
b89bdd5e49 pcvt 3.0, with some performance enhancements by Joerg Wunsch and me. 1994-03-29 02:46:30 +00:00
mycroft
627cafc287 pcvt 3.0, with some performance enhancements by Joerg Wunsch and me. 1994-03-29 02:44:39 +00:00
mycroft
4c38082a0e pcvt 3.0, with some performance enhancements by Joerg Wunsch and me. 1994-03-29 02:39:46 +00:00
chopps
994cd3f216 cc not gcc, cpp not /lib/cpp -traditional 1994-03-28 07:55:57 +00:00
chopps
cf05308b58 some scsi changes, 4M system hack, and a boot messgae addition. from
Michael Hitch.
1994-03-28 06:15:55 +00:00
cgd
e460326df5 casting perversion 1994-03-27 08:55:31 +00:00
cgd
8385c5bbf2 add the ast mp card that's in lamp 1994-03-27 07:01:49 +00:00
chopps
93a2341118 moved everything over to sys/queue.h, from dlists.[ch] 1994-03-27 06:29:20 +00:00
mycroft
5ebbf68e63 Clean up deleted files. 1994-03-27 06:28:54 +00:00
chopps
e9dc442836 dlists.h ==> sys/queue.h 1994-03-27 06:23:26 +00:00
chopps
de93a9b578 move HIST out of DEBUG conditional. 1994-03-25 16:32:27 +00:00
chopps
8c6081b0ca cc cleanup, dlist ==> sys/queue 1994-03-25 16:30:03 +00:00
mycroft
d5a269b4dd Put controller target in scsi_switch. 1994-03-25 07:38:51 +00:00