Commit Graph

140 Commits

Author SHA1 Message Date
cgd
94907fa254 adjust to deal with expression support for optional file specs 1996-03-17 13:21:09 +00:00
thorpej
5c67e5fad9 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
jtc
2ce5f1478b Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1. 1996-03-16 01:31:45 +00:00
thorpej
58a3d4e742 RCS id police. 1996-03-16 00:17:52 +00:00
thorpej
0bbcd292a1 RCS id police. 1996-03-16 00:07:07 +00:00
mark
6cb2a43b5e RCS Id police. 1996-03-14 23:10:59 +00:00
christos
ab0e60a42f fdopen -> filedescopen 1996-03-14 21:20:59 +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
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
mark
c117a7f133 Only call the debugger if DDB is defined. 1996-03-13 20:28:50 +00:00
mark
852758c603 Include <sys/device.h> for rd_match_hook(). 1996-03-09 17:26:01 +00:00
mark
fe9da42a4a Removed include of <setjmp.h>
db_recover is now declared as label_t * instead of jmpbuf *
1996-03-09 17:22:12 +00:00
mark
a1ceaeba99 Disable interrupts when switching to UND32 mode to get the
UND32 mode stack pointer during a context save.
1996-03-09 17:15:46 +00:00
mark
30bb966970 Cleaned up the boot() function. Removed some of the garbage,
rewritten parts and made sure it uses cngetc().
Don't try and syn the discs or unmount filesystems if boot() gets
called while still cold.
1996-03-08 21:37:01 +00:00
mark
657b336f18 Restructured management of L1 page tables. Added support for
detaching an L1 page table from a process that is swapped out.
1996-03-08 21:21:47 +00:00
mark
713cab03b9 Updated comments, removed a lot of dead code and other old debugging
functions.
1996-03-08 21:08:39 +00:00
mark
700050b193 Added support for freeing level 1 page tables when cpu_swapout() is
called.
Added support for reallocating level 1 page tables when cpu_swapin() is
called.
1996-03-08 20:58:40 +00:00
mark
a3aaf2a2c0 Removed old (and commented out) diagnostic code from
undefinedinstruction() that verified the function was not
called in UND32 mode. We now always expect undefinedinstruction()
to be called in UND32 mode.
1996-03-08 20:54:25 +00:00
mark
7c5f0f1407 Removed declarations of external variables no used in the file. 1996-03-08 20:49:47 +00:00
mark
e03778a035 Updated irq names, replaced reserved irq 1 with irq softclock. 1996-03-08 20:44:13 +00:00
mark
c5e6adffe0 Removed dead wood from swi and undefined vector entry point code. 1996-03-08 20:37:59 +00:00
mark
d2a9bb0b96 Config files updated to specify interrupt numbers for wd, fd, com and
lpt drivers.
1996-03-08 20:35:28 +00:00
mark
ea1eb0f702 Added calls to spl_setmasks().
Remove the irq_setmasks() routine. This was coded in assembly months ago
and this C version is now out of date.
Added code for delivering IRQ_SOFTCLOCK.
1996-03-08 20:35:08 +00:00
mark
2a40f64a5d Fixed the formatting of the debug output. 1996-03-08 20:14:48 +00:00
mark
95b04c378b Updated for new spl macros.
Added missing #ifdef DIAGNOSTIC round the checks in setrunqueue().
Remove dead commented out code fragments.
Removed checksumming of kernel stack during context switches.
1996-03-08 20:03:12 +00:00
mark
7a9dc6a41a Inclusion of machine/psl.h is no longer dependant on _LOCORE being not
defined.
1996-03-08 19:08:28 +00:00
mark
5254468ebb setjmp() and longjmp() now use a buffer whose size is that of label_t
rather than one that was 44 bytes bigger. No wonder DDB was not working
properly.
1996-03-08 19:03:11 +00:00
mark
33405882d3 The microtime() function now works fine all the time.
Removed some old commented out code.
1996-03-08 18:57:41 +00:00
mark
868a5d45f6 Updated diagnostic code regarding the changes in the splxxx() functions
and determining the current spl level.
1996-03-08 18:54:55 +00:00
mark
85d00ef7b5 Added a couple of miscellaneous spl functions e.g. dumping spl
masks.
1996-03-08 18:41:52 +00:00
mark
2d5be5faa9 Commit of the new assembly spl functions splx(), raisespl() and
lowerspl() to go with the new spl macros in psl.h
1996-03-08 18:03:15 +00:00