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
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
glass
9f7fed2901
make panic string unique
1994-03-31 05:44:49 +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
glass
d587964b49
rcsism
1994-03-29 10:16:52 +00:00
chopps
7bb230219d
copied over so lib/libc/arch not needed to build kernel.
1994-03-29 07:14:42 +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
glass
fda13d3430
llscan.c:192: too many arguments to function 'strcmp'
1994-03-29 04:30:26 +00:00
mycroft
e1d51562a9
New SCSI system, based on Julian's more recent work.
1994-03-29 04:30:15 +00:00
mycroft
72a5d83ab3
Clean up deleted files.
1994-03-29 04:29:47 +00:00
mycroft
2e5a28159f
New SCSI system, based on Julian's more recent work.
1994-03-29 04:29:20 +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
b7e76677c6
expand uid_t/gid_t/off_t
1994-03-27 09:09:57 +00:00
cgd
34bb0ee55d
expand uid_t/gid_t/off_t
1994-03-27 09:09:51 +00:00
cgd
e59133ba6a
expand uid_t/gid_t/off_t
1994-03-27 09:09:44 +00:00
cgd
d7ce0b81a2
expand uid_t/gid_t/off_t
1994-03-27 09:09:21 +00:00
cgd
304e374292
expand uid_t/gid_t/off_t
1994-03-27 09:08:02 +00:00
cgd
e460326df5
casting perversion
1994-03-27 08:55:31 +00:00
cgd
d2ee60cc73
fix botch
1994-03-27 08:51:52 +00:00
cgd
4a28c23c2f
do the syscall shuffle
1994-03-27 08:34:59 +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
glass
5c35c98f88
getting rid of tp_astring.c
1994-03-26 04:13:48 +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
mycroft
008f13bb69
Fix off-by-one error in comopen() unit number sanity check. From Brian de
...
Alwis.
1994-03-25 04:38:01 +00:00
mycroft
9c8b310d5e
Don't need to do all the splx() crap on syscall and trap exit.
1994-03-25 00:46:51 +00:00
mycroft
873b203a64
Reorder AST check.
1994-03-25 00:45:42 +00:00
mycroft
99b8c3e6f6
Actually finish this change from three months ago.
1994-03-25 00:06:43 +00:00
mycroft
df96b74ad3
Small code clean up, and make the normal cases a few cycles faster.
1994-03-24 21:50:33 +00:00
cgd
c3218832ba
print even more SCSI sense data; this should be in a function...
1994-03-24 17:47:35 +00:00
pk
5fbd6e4285
DDB support
1994-03-24 08:46:45 +00:00
pk
12edf7ac11
DDB support.
1994-03-24 08:44:20 +00:00
deraadt
1c5df11dd3
i have an ast card
1994-03-24 08:20:20 +00:00
cgd
20c82de12d
print out lots of info on non-media hardware error...
1994-03-24 04:32:44 +00:00
jtc
fb55e2e002
Change BC_* constants. We're using GNU bc, which has really huge limits.
1994-03-24 01:31:37 +00:00
pk
1728074945
DDB support
1994-03-23 20:40:26 +00:00
pk
4ccdc884fc
struct command => struct db_command, and define it in db_command.h
1994-03-23 20:00:56 +00:00
deraadt
974484d469
kern/subr_disk.c is standard
1994-03-23 18:22:52 +00:00
deraadt
d77d51eea8
kernel/disklib.c goes away, not very portable
1994-03-23 18:18:45 +00:00
pk
78ceee0372
DDB support
1994-03-23 10:43:20 +00:00
mycroft
fcb12cd74d
Much faster on 486s and Pentiums; a little slower on 386s.
1994-03-23 08:49:46 +00:00
cgd
feacc618e1
allow mmaping of /dev/mem and /dev/kmem. The former for folks with
...
buff vid boards which map at high physical addrs, the latter for fun,
since it's possible.
1994-03-23 05:09:45 +00:00
cgd
ace91bc015
two reference count fixes, and minor cleanup (to offset the added goto! 8-).
1994-03-23 05:05:03 +00:00
cgd
18f36e1745
copyright foo
1994-03-23 03:55:24 +00:00
mycroft
a3c2ef3169
Don't poll more than 4 ports.
1994-03-23 03:04:32 +00:00
mycroft
4cc5b77bfa
Some stylistic cleanup, and a very minor speedup.
1994-03-23 03:01:50 +00:00
chopps
b8f74df1a5
default type is MAP_FILE if none given.
1994-03-23 01:54:02 +00:00
cgd
c6b399cce8
add AST-style serial multiport support, from Roland McGrath
...
<roland@@frob.com>. Needs light clean by Mr. I386, but mostly
OK. For some reason, Bad Things (TM) happened on the last cvs commit.
1994-03-23 01:28:23 +00:00
cgd
c24c16f35f
add AST-style serial multiport support, from Roland McGrath
...
<roland@frob.com>. Needs light clean by Mr. I386, but mostly
OK.
1994-03-23 01:25:53 +00:00
cgd
c0fdd09d5c
add line for 'ast' mp-com driver. needs to go into fils.newconf eventually
1994-03-23 00:37:23 +00:00
deraadt
21bd5c11f4
delete some unneeded things
1994-03-22 19:17:22 +00:00
deraadt
46e78d4fac
splimp >= (splnet or spltty)
1994-03-22 08:09:24 +00:00
deraadt
1d2fa0cf4d
move defn of trapvec to cpu.h
1994-03-22 08:08:43 +00:00
phil
5641eba25c
various and sundry changes
...
bcopy.s: added ovbcopy / made bcopy same as ovbcopy
in_cksum.c: completely new (sparc version)
1994-03-22 00:18:25 +00:00
phil
130bf68fa5
ncr: try to get it to recognize slower devices
...
scn: mode it closer to i386 version
1994-03-22 00:15:21 +00:00
phil
1c6250a371
Small changes to get them current and useful.
1994-03-22 00:12:40 +00:00
chopps
44458e5c43
yes ite is now auto margin, this fixes a conflict with the
...
termcap which has vt100 vt102 vt200 and v320 all as automargin.
1994-03-20 10:13:54 +00:00
chopps
d75b6eaf33
fix shell command for linking. (from Stephen J. Roznows)
1994-03-20 10:08:44 +00:00
chopps
73548d3d48
load symbols if given -S flag, upped kern version to 2. All
...
symbols handling changes thanks to Michael Hitch.
1994-03-20 10:05:11 +00:00
chopps
9a4c630c24
kernel ddb now has symbols
1994-03-20 10:02:28 +00:00
pk
4f785694ac
DDB support
1994-03-20 09:13:37 +00:00
pk
05f8a1e6f6
add comment that was lost on last commit
1994-03-20 09:11:54 +00:00
pk
9d2747e462
DDB support
1994-03-20 08:58:41 +00:00
lkestel
cd701f50a3
Fixed a few major bugs. add_nubus_intr() was getting the wrong address,
...
and bcopy and bzero were being used. The latter use longs to copy/zero,
and some ethernet cards can't handle longs. I've added bbcopy and bbzero
as a temporary hack, but these should later be added to locore and maybe
changed to use shorts. Still doesn't work: I can now get an interrupt on
the first transmit, but further transmits don't generate more interrupts.
1994-03-20 03:03:26 +00:00
briggs
ffad885639
Small mods. Needs lots of cleanup.
...
Added one change to make sure we get symbols in DDB.
1994-03-20 00:26:21 +00:00
briggs
2412bfd803
Changes to allow kernel debugger symbols.
1994-03-20 00:16:07 +00:00
briggs
c0d5b28126
Goof. Missed some mods in the changes to config.new a long time ago.
...
Thanks go to kesteloo@cs.unc.edu (Lawrence Kesteloot) for finding this.
1994-03-20 00:14:16 +00:00
glass
ebf601d2d0
bad comment. fix from vdlinden@fwi.uva.nl (Frank van der Linden)
1994-03-19 18:38:33 +00:00
brezak
39e3da4a69
Add RCSID macro; be sure ENTRY is in .text
1994-03-18 21:18:07 +00:00
ws
044478d0f7
Ooops. Forgot to move something.
1994-03-18 20:15:39 +00:00
mycroft
8f86452554
Standardize #includes.
1994-03-18 19:08:28 +00:00
mycroft
1dbf6bf32e
Clean up uname(2) code some more.
1994-03-18 18:57:13 +00:00
pk
905558ae87
Sparc support.
1994-03-18 08:35:56 +00:00
cgd
456e197d26
add reasonable support for MDMBUF output flow control. input to be done later
1994-03-18 05:13:26 +00:00
cgd
b1b4713e3b
add another flag. *twitch*
1994-03-18 04:02:38 +00:00
cgd
02dd2aa8ab
fix somebody's typo
1994-03-18 04:01:15 +00:00
cgd
fa2051edb1
add hw input flow control support
1994-03-18 03:48:30 +00:00
cgd
ac397d89c2
chg comment and add a flag
1994-03-18 03:46:31 +00:00
cgd
8c7d6fd2f2
add t_hwiflow
1994-03-18 03:46:18 +00:00
cgd
332469124c
needs these includes like a hole in its head...
1994-03-18 03:11:47 +00:00
pk
470215735f
Add some DDB files.
1994-03-17 09:24:58 +00:00