Commit Graph

1781 Commits

Author SHA1 Message Date
cgd
61bcdb266e include <machine/cpu.h> rather than <machine/mtpr.h> -- if the latter
exists at all, it's supposed to be included by <machine/cpu.h>
1993-12-23 07:36:06 +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
d02ac4c31d mfs_print return type back to 'int' 1993-12-23 07:03:11 +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
42d0ba8c0a move getnewfsid() to where jsp says it belongs. update for header
files; clear new field and delete old vtype name.
1993-12-22 13:51:14 +00:00
cgd
87dfd3227e cast to match header (changed back...) 1993-12-22 13:46:28 +00:00
cgd
146889c8fd add portal and lofs entries 1993-12-22 13:43:18 +00:00
cgd
c3ee44a1b9 various bug fixes from BSDI, via jsp. Kill some iffy fixes
by wfj (and replace them with better ones from BSDI).  add support
for p_vnode, and add proc_reparent() function, from jsp.
1993-12-22 13:42:27 +00:00
cgd
a67d24d94b add support for p_vnode, from jsp 1993-12-22 13:39:27 +00:00
cgd
077a1e690c add proto for proc_reparent() function from jsp.
he gave us the function, but i'm not sure exactly where the proto
should go...
1993-12-22 13:20:26 +00:00
cgd
ae30022085 fix return type of vnode print routine 1993-12-22 13:14:10 +00:00
cgd
cc4170c743 fix return type of dead_print 1993-12-22 13:12:09 +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
953dee1999 fix nfs_print, add cross-device link checking (From jsp) 1993-12-22 13:03:22 +00:00
cgd
929c86a29b change return type of nfs_print back to int 1993-12-22 13:00:36 +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
5a87cb9c50 VOP_PRINT should return int; this should not have been changed (yet?) 1993-12-22 12:51:31 +00:00
cgd
18470f17e3 this file is once again in alphabetical order... 1993-12-22 12:48:25 +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
cgd
0be07477eb use ${MAKE} rather than "make", as suggested by Roland McGrath 1993-12-22 04:58:02 +00:00
cgd
de2aefd4b8 minor cleanup 1993-12-22 04:13:50 +00:00
cgd
afce447ada p_spare is in the 'zero range' now 1993-12-21 10:39:17 +00:00
mycroft
6c32b87568 Remove two unused fields. 1993-12-21 09:47:45 +00:00
mycroft
925da8586c All the world is *not* an i386. 1993-12-21 09:45:43 +00:00
cgd
65e79d2b24 move EMUL_* definitions to a sane location , and fix them up some 1993-12-21 08:18:39 +00:00
cgd
ed9fe288db oops; fix last 1993-12-21 08:07:09 +00:00
cgd
9eb96e11ee add a few new malloc types 1993-12-21 07:58:37 +00:00
cgd
6aa0cb00c6 from jsp: Changed to get attributes of root node and
generate correct type, rather than assuming it's a directory.
This allows Amd direct mounts to work correctly.
1993-12-21 07:49:30 +00:00
cgd
adbe4b0962 kill two wrong 'case's 1993-12-21 07:19:14 +00:00
cgd
7d57774e7e fix typo 1993-12-21 07:02:18 +00:00
cgd
621f7b658f more of the same; gah! 1993-12-21 06:39:12 +00:00
cgd
d797e926cf kill a billism 1993-12-21 06:30:28 +00:00
cgd
e4420474ff move things around as appropriate, add 7 more spares (to round to 256) 1993-12-21 06:22:33 +00:00
cgd
e9a8e9c41d fix that last 1993-12-21 06:01:32 +00:00
cgd
cd36241fbb clean up, kill typos, add types 1993-12-21 05:48:50 +00:00
cgd
41682141d7 clean up vtype and vtagtype, and more 1993-12-21 05:41:52 +00:00
brezak
a6d85089cd Add pseudo-device vn 1993-12-21 05:30:14 +00:00
brezak
23868240aa Use machine independant vn.c 1993-12-21 05:28:31 +00:00
cgd
44b2cf17a0 delete stupidity, add a few fields 1993-12-21 05:28:27 +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
brezak
c271e40d97 Add dev/vn.c driver 1993-12-21 05:25:35 +00:00
brezak
fc69cb8898 Tweak for BSD44/NetBSD environ. 1993-12-21 05:24:31 +00:00
brezak
e678ab8242 vnode driver (from Mike Hibler make@cs.utah.edu) 1993-12-21 04:17:02 +00:00
briggs
cec9c395f8 Use address instead of slot for add_nubus_intr. This whole interrupt
scheme should probably be taken out and shot.
1993-12-21 03:19:33 +00:00
briggs
982b2aa969 Update ethernet driver to use config.new. At least, it's a first stab
working from mycroft's magnum changes to if_ed.c.
1993-12-21 03:18:00 +00:00
briggs
2390a5c1ee Add basic sound support and a beeping (instead of flashing) console...
from Brad Grantham.
1993-12-21 03:16:01 +00:00
briggs
fded7fc070 Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.
1993-12-21 03:14:16 +00:00
cgd
630651b7b0 queue.h from 4.4, from Bostic 1993-12-21 01:55:03 +00:00
davidb
ddefd2e1b8 Fixed bug where with two or more SCSI controllers of the same type, you
could not have devices at the same ID on each bus.
This patch not directly applicable to magnum branch, which is using Julian's
new SCSI code.
1993-12-20 23:27:28 +00:00
ws
cf3c69ea3b Correct support for single stepping of syscalls and fpu emulation 1993-12-20 17:16:42 +00:00
cgd
a6eecc8e2a load average changes from magnum 1993-12-20 12:42:34 +00:00
cgd
c26286a5c1 bring changes down from magnum 1993-12-20 12:39:55 +00:00
cgd
86f960201b pull load average and misc changes down from magnum 1993-12-20 12:39:10 +00:00
cgd
bdabe240d0 replace VREF as appropriate to avoid logical recusion 1993-12-20 10:42:39 +00:00
cgd
fb9b8e7923 add DIAGNOSTIC to each 1993-12-20 10:07:58 +00:00
mycroft
0d115f4690 Remove out of line versions of pio functions. 1993-12-20 09:20:54 +00:00
cgd
19847f52bb drag down some changes from magnum. of note: b_iodone returns void. 1993-12-20 09:16:58 +00:00
mycroft
6cbf9be7da Use cpufunc.h only where (currently) needed. 1993-12-20 09:11:38 +00:00
mycroft
0cd3f0fdd2 Remove some things which should not be here. 1993-12-20 09:08:11 +00:00
mycroft
de04e7e727 New, more complete version. 1993-12-20 09:07:22 +00:00
mycroft
f2a0b4b335 Canonicalize all #includes, and add pio.h where appropriate. 1993-12-20 09:05:17 +00:00
cgd
18d2f02bc9 serious cleanup 1993-12-20 07:47:15 +00:00
cgd
680c4cb0a0 change panic() for "unknown cpu type" so that it's only got one arg;
"#ifdef notdef" the old way; panic() will be upgraded eventually...
1993-12-20 06:40:55 +00:00
cgd
842286f9c4 make searching a bit easier 1993-12-20 05:42:37 +00:00
mycroft
335014be84 Increment cnt.v_trap in npxintr(). 1993-12-20 05:30:55 +00:00
mycroft
e7a1e00bd6 Garbage collection. 1993-12-20 05:26:36 +00:00
mycroft
2250fff236 Cleanup and garbage collection; nothing significant. From magnum branch. 1993-12-20 05:25:02 +00:00
mycroft
546d92cec9 Forgot to decrement these. 1993-12-19 07:54:52 +00:00
glass
39414753d3 re-organization of sun3 status, and todo info for sun3-hackers release 1993-12-19 07:53:41 +00:00
mycroft
c857af00dc Clean up trap handling and macroize interrupt entry and exit code. From
magnum branch.
1993-12-19 06:58:12 +00:00
mycroft
a0e7e031f6 Cleanup of trap handling, and macroization of interrupt entry and exit
sequences.  From magnum branch.
1993-12-19 04:16:45 +00:00
mycroft
8b7ff01b9e Clean up deleted files. 1993-12-19 03:42:13 +00:00
mycroft
90b25c90a1 Cleanup from magnum branch. 1993-12-19 03:41:30 +00:00
cgd
e1a021aee8 include machine/cpu.h, for machines which define soft interrupt stuff
there.  marked XXX; they prolly shouldn't do that...
1993-12-19 02:09:41 +00:00
mycroft
477bf7cb90 Canonicalize all #includes. 1993-12-18 04:54:21 +00:00
mycroft
f1a5c33098 Canonicalize all #includes. 1993-12-18 04:46:25 +00:00
mycroft
264d2b2740 Canonicalize all #includes. 1993-12-18 04:31:28 +00:00
mycroft
122460dca2 Clean bogus arguments to newvers, and don't pass KERN_IDENT any more. 1993-12-18 04:23:04 +00:00
mycroft
7f50bd1829 Canonicalize all #includes. 1993-12-18 04:21:37 +00:00
mycroft
d8ce42f0ed From magnum branch:
Intuit kernel ident from directory name, as config.new does not support `ident'
commands.
1993-12-18 04:21:35 +00:00
mycroft
21edb9924e Canonicalize all #includes. 1993-12-18 03:59:02 +00:00
mycroft
0560892d34 Canonicalize all #includes. 1993-12-18 03:48:27 +00:00
mycroft
b8cd510204 Canonicalize all #includes. 1993-12-18 00:50:51 +00:00
mycroft
95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
mycroft
b4d3382694 Canonicalize all #includes. 1993-12-17 07:56:32 +00:00
deraadt
be71d62793 direct -> dirent 1993-12-17 00:41:23 +00:00
mycroft
ea13c12adc From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
mycroft
5d474c1aad Remove an `#ifdef MACHINE_NONCONTIG', as it is now required. 1993-12-16 20:23:56 +00:00
mycroft
8ab45ada42 Eliminate reference to Maxmem. 1993-12-16 20:22:56 +00:00
hpeyerl
b4b8e47e12 IFF_LLC0->IFF_LINK0 1993-12-16 20:14:10 +00:00
deraadt
493603cecd fix from Daniel Harris <daniel@werple.apana.org.au>
VTIME code must untimeout
1993-12-16 18:09:08 +00:00
pk
011f7efb3a Avoid dereferencing NULL pointer in nfs_doio() when B_PHYS is on.
Remove comment talking about nfsiomaps that we don't have.
Always use credentials that are in the buffer header, in stead of trying
to get them from pageproc, which may once have been necessary to push pages
to swap (cannot imaging anyone having exercised this over NFS though).
1993-12-16 16:43:36 +00:00
pk
e7356e6993 Use proc pointer passed in uio rather then curproc for credentials (should
perhaps be done for b_proc also).
1993-12-16 16:28:43 +00:00
hpeyerl
4eef2bd5ca oh my... make NS work.
(mental note to check more thoroughly in future)
1993-12-16 04:29:07 +00:00
hpeyerl
32fa8934ac Octal; Hex... It's all the same... :-)
>From deaven@ishmael.ameslab.gov
1993-12-16 00:40:05 +00:00
briggs
a69a3d2260 Non i386 machines are polite and don't point at instructions. They
count 'em.  Just to be nice, access the program counter with a macro...
1993-12-15 15:08:11 +00:00