Commit Graph

18467 Commits

Author SHA1 Message Date
christos
6cbf515e30 Fix compiler warnings 1996-03-14 19:31:45 +00:00
christos
79344ff371 - add svr4_conf.h
- add window size ioctls
1996-03-14 19:29:11 +00:00
christos
e023a87a11 Bring prototypes into scope. 1996-03-14 19:05:07 +00:00
christos
357fb0e430 - add and fix prototypes and warnings.
- remove nested comment in header file.
1996-03-14 19:02:30 +00:00
christos
e79beaff89 - fdopen -> filedescopen
- bring kgdb prototype in scope.
1996-03-14 19:01:08 +00:00
christos
84cc73f734 filedesc.h, proc.h: Rename fdopen() to filedescopen() so that it does not
conflict with the floppy driver.
conf.h: Protect against multiple inclusions. The reason will become apparent
	soon.
systm.h: Bring Debugger() prototype into scope.
1996-03-14 18:59:07 +00:00
christos
fb901eb966 - Add missing prototypes
- Bring prototypes into scope
- Correct prototype for skpc
1996-03-14 18:52:03 +00:00
christos
835271da20 Make cons_rtrequest return void because the only place it is used
is through the ifa_rtrequest method. Unfortunately the net code
does not seem to care if that operation succeeds or fails. Maybe
it should...
1996-03-14 18:47:52 +00:00
christos
acdfea75a0 ns_cksum.c: Bring prototype into scope.
ns_var.c: Add forward declaration for struct sockaddr;
1996-03-14 18:44:41 +00:00
ragge
b2f39b3825 vax-specific etc Makefile 1996-03-14 17:32:16 +00:00
scottr
2a5cf25e29 Back out previous change; kernel longjmp() has 1 arg. 1996-03-14 16:42:44 +00:00
scottr
24dcca72bd Optimize user-side TLB invalidation when !defined(M68020). 1996-03-14 05:50:06 +00:00
cgd
d5d2502bcb fix types on a bunch of variables (were u_long's, now are U_INT32s or ncrcmds,
and a few other fixes).  print pointers with %p, rather than casting to
(unsigned), which breaks on the Alpha.
1996-03-14 05:21:20 +00:00
cgd
ba6d1cb2dd These devices don't actually need softc's that are supersets of 'struct
device.'  No point in adding that complexity + space if they're not needed,
so axe them.
1996-03-14 04:02:58 +00:00
cgd
005569a6b3 include pcireg before pcivar.h 1996-03-14 03:04:17 +00:00
cgd
0926920201 (1) remove the #ifdef i386 from pci.c, and provide a machine-dependent
hook (pci_md_attach_hook()) to do any machine-dependent attachment
    gunk, e.g. on the i386 printing out the configuration mode (if bus 0)
(2) don't pass max device number for a given bus in, use
    PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
    (defaults to 32.  on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:37:59 +00:00
cgd
20af97b2c0 don't pass max device number for a given bus in, use
PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
(defaults to 32.  on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:37:28 +00:00
cgd
7fda077700 (1) provide #defines for cf_loc[] entries for devices that attach to
pcibus and pci.
(2) remove the #ifdef i386 from pci.c, and provide a machine-dependent
    hook (pci_md_attach_hook()) to do any machine-dependent attachment
    gunk, e.g. on the i386 printing out the configuration mode (if bus 0)
(3) don't pass max device number for a given bus in, use
    PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
    (defaults to 32.  on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:35:32 +00:00
cgd
68b00a8e52 RCS Id police 1996-03-14 02:30:30 +00:00
pk
485ccae478 Insert child_return() for the benefit of child return path from cpu_fork(). 1996-03-14 00:55:59 +00:00
pk
0b1cba4b0b Implement cpu_set_kpc() and use its machinery to by-pass a child out
of the kernel from cpu_fork().
1996-03-14 00:54:34 +00:00
pk
d48d8e1512 Install machinery for cpu_set_kpc(). 1996-03-14 00:54:06 +00:00
pk
808df5543f Remove cpu_set_init_frame(). 1996-03-14 00:49:20 +00:00
pk
894fde6bdd Remove __FORK_BRAINDAMAGE. 1996-03-14 00:48:30 +00:00
pk
dc3c7fb2ba Actually enter executables where promised... 1996-03-14 00:11:29 +00:00
scottr
4d30db274f Back out previous change. 1996-03-13 23:42:45 +00:00
veego
b9f085f78f Restore a local change from our old libg++ to fix a compile warning 1996-03-13 23:07:35 +00:00
mark
46e6b251f1 Raise the spl level while modifing the keyboard autorepeat and delay
rates.
Added missing = to test for alphabetic characters so that caps lock
applies to Z as well as A-Y.
1996-03-13 21:51:32 +00:00
mark
a2ff705689 Added code to handle indents in monitor definition files. 1996-03-13 21:47:15 +00:00
mark
cb6f3bb55c Removed references to the kstack double mapping from the old debug
shell.
1996-03-13 21:45:54 +00:00
mark
32f0b6e092 curpcb is declared in pcb.h so don't declare it here.
removed debug printing when faulting in new page tables for the user
process stack.
1996-03-13 21:41:41 +00:00
mark
ba893940d3 savectx() now justs syncs the pcb, it no longer needs to copy the stack.
cpuswitch() simplified, now pushes and pulls a switchframe structure
on entry and exit. Added extra comments to indicate the states of
various registers throughout cpuswitch().
Added proc_trampoline function.
1996-03-13 21:39:10 +00:00
mark
5c857a37ef Use the value returned from initarm() to set the stack pointer before
calling main().
1996-03-13 21:34:17 +00:00
mark
bbf2aa16b5 Removed kstack references. Updated code that sets up the pcb for proc0
now that double mapping has gone.
initarm() now returns the address to be loaded into the stack pointer
before calling main() to kick things off.
1996-03-13 21:32:39 +00:00
mark
d253d345a2 Since kernel stack double mapping no longer exists there is no
point in trying to perform a postmortem on it following an panic.
1996-03-13 21:26:52 +00:00
mark
52f490ccf6 No longer need to allocate hooks for kernel stack double mapping during
pmap bootstrapping.
1996-03-13 21:25:04 +00:00
mark
7045f47891 The kstack pte fields no longer exist so remove them. 1996-03-13 21:22:32 +00:00
mark
caf9dd3edc Removed external declaration of kstack. No longer relevant now kstack
double mapping has been removed.
No longer need to fixup the trap frame address to take double mapping
into consideration.
1996-03-13 21:21:00 +00:00
mark
043ef25c23 Remove cpu_set_init_frame macro. This is no longer needed now
cpu_set_kpc() has been implemented.
1996-03-13 21:18:06 +00:00
mark
f9f45be67c Removed all the double mapping code from cpu_fork().
Arrange for the child process to return to user land via child_return()
on leaving cpuswitch().
Added function cpu_set_kpc().
1996-03-13 21:16:15 +00:00
mark
8fbba52c87 Removed option __FORK_BRAINDAMAGE at last. 1996-03-13 21:10:43 +00:00
mark
ffa6eab259 Removed the kstack pte fields. These are no longer needed as the kernel
stack is no longer double mapped.
1996-03-13 21:08:36 +00:00
christos
b92fe0f4c4 Kernel version of longjmp does not take the return value of setjmp as
an argument. It always returns 1.
1996-03-13 21:08:09 +00:00
christos
b4a31b1fc7 Kernel version of longjmp() does not take the return value of setjmp() as
an argument. setjmp() always returns 1.
1996-03-13 21:06:38 +00:00
mark
f96ae702d7 Added switchframe structure to describe the stack frame pushed on the
stack at the beginning of cpuswitch().
1996-03-13 21:06:34 +00:00
mark
c353f32f10 _mcount() can now be declared inline. 1996-03-13 21:04:55 +00:00
mark
fb4eacf0a5 Removed comments describing debugging code that has long since gone.
Added new comments for parts of the undefined vector entry point.
1996-03-13 21:00:26 +00:00
mark
1e97524220 SCSI scanner device added to the list of SCSI devices configured. 1996-03-13 20:57:45 +00:00
mark
f6c46bc20c Added hooks for the SCSI scanner device driver. 1996-03-13 20:55:21 +00:00
mark
d389b21913 Added boot time override for the memory test during probing. This
memory test apparently causes hangups on some etherH interfaces.
Until this can be debugged with an offending interface the memory
test can be bypassed.
1996-03-13 20:52:35 +00:00