Commit Graph

3007 Commits

Author SHA1 Message Date
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
deraadt
92dd747175 nice unique SUN_SYS_ names.. 1994-04-04 10:06:53 +00:00
deraadt
9b3514464e SYS_* -> SUN_SYS_* to avoid name space clash 1994-04-04 10:04:00 +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
6f516e261c Try to deal with db_print_loc_and_inst() generatings a fault. 1994-04-04 08:59:38 +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
cgd
ed740c7de8 frob arguments a little bit 1994-04-02 08:39:20 +00:00
cgd
5a0aea55f0 sickness to get SunOS mmap right 1994-04-02 08:32:56 +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
cgd
8abbe136e3 some temporary syscall shuffling 1994-04-02 08:03:17 +00:00
cgd
236c2fe9f8 gah. shoot me. 1994-04-02 05:17:04 +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
cgd
47610af098 some type-changing, simplification, and re-instate casts for phil. 1994-04-01 09:52:30 +00:00
mycroft
96f452cd84 Deal with Mark Weaver's rogue tape drive. 1994-04-01 06:49:22 +00:00
ws
e9dc62de63 Support BSS in LKMs
Don't panic when modunloading an empty slot
1994-03-31 20:31:19 +00:00