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
mark
90a4655005
Added files for the generic sbic driver. (sbic.c)
...
Added files for the asc driver (asc.c)
Added assembly file for spl functions (spl.S)
Added machine dependant debugger commands file. (db_machdep.c)
1996-03-08 18:02:23 +00:00
mark
409de3efcc
spl.c is no longer needed. Most of its functions have been replaced
...
with macros in psl.h. The spl functions splx() raisespl() and lowerspl()
are now coded in assembly.
1996-03-08 17:50:46 +00:00
mark
9deb24c84d
Corrected spelling mistakes in comments.
1996-03-08 17:11:13 +00:00
mark
57fbb17f0e
Replaced the splxxx() functions prototypes with macros.
...
Added prototypes for two new functions raisespl() and lowerspl().
Added definititions of the various spl levels.
1996-03-08 16:35:17 +00:00
mark
50b27325dd
Removed all the early (and now redundant) keyboard polling and interrupt
...
buffer. The new polling function for cngetc() works a lot better and
is stable.
1996-03-08 16:28:54 +00:00
mark
7b3a5bb292
Fixed prototype declaration of shell().
1996-03-08 16:25:07 +00:00
mark
1014c385d8
Added NetBSD tag.
1996-03-08 16:24:51 +00:00
mark
00af8622e0
Added NetBSD tag. Reformatted source kernel in line with the style
...
guide.
1996-03-08 16:22:38 +00:00
mark
095bb565ba
Files for the new Acorn SCSI driver that uses the generic SBIC driver
...
code. This is a much better version that does not trash your HD.
1996-03-07 23:54:28 +00:00
mark
3506c48c2a
opps forgot to remove this as well. Part of the old and BUGGED Acorn
...
SCSI driver.
1996-03-07 23:50:33 +00:00
mark
169a40e0cf
These files represent the old and BUGGED Acorn SCSI driver.
...
They are replaced with a new Acorn SCSI driver based on the SBIC
generic SCSI code.
1996-03-07 23:45:24 +00:00
leo
6da2ce259c
Allow for a machine dependent match function - rd_match_hook()
1996-03-07 10:25:28 +00:00
mark
385c194369
Added #ifndef guards round the timeout macros so values can be
...
overridden in the config file.
1996-03-06 23:56:59 +00:00
mark
34e0ef97c0
Code reformatted to make it a bit more readable and brings it inline
...
with a lot of the style guide.
1996-03-06 23:53:13 +00:00
mark
ed2051c4d9
Use cngetc() instead of WaitforKey().
1996-03-06 23:52:15 +00:00
mark
27284def2a
Removed a lot of redundant routines used during debugging.
...
Eventually this file can go completely when DDB is completely
working.
1996-03-06 23:50:14 +00:00
mark
8429ee71c5
Initial commit of generic sbic (WD3393) SCSI driver code based on the
...
amiga sbic driver.
1996-03-06 23:44:09 +00:00
mark
619d2dcd72
Removed redundant code related to managing a history buffer
...
in the readstring() routine.
1996-03-06 23:44:07 +00:00
mark
a66ed3abac
Initial commit of generic sbic (WD3393) SCSI driver code based on the
...
amiga sbic driver.
1996-03-06 23:44:06 +00:00
mark
a629b79a66
Fixed reporting of errors when claiming podule interrupts.
1996-03-06 23:33:14 +00:00
mark
b702c67c74
Pickup IRQ number from configuration file via mainbus_attach_args
...
instead being fixed in a header file.
1996-03-06 23:30:58 +00:00
mark
e766702f7e
Fixed IOMD identification during device probing.
1996-03-06 23:26:20 +00:00
mark
bdb7e8955c
Reformatted code to suit style guide.
...
Fixed IOMD identification during driver probing.
1996-03-06 23:24:52 +00:00
mark
7f57d7bda6
Commented out macros for IRQ bits that are now set in the config file.
...
Added definition of the IRQ_SOFTCLOCK bit.
1996-03-06 23:22:56 +00:00
mark
a88b7466b9
Added structures to describe RISCiX partition tables.
1996-03-06 23:17:51 +00:00
mark
4da86891fc
Add support for software single stepping.
...
Define SOFTWARE_SSTEP for the ddb code.
1996-03-06 23:16:54 +00:00
mark
daf2144c3a
Removed redundant boot parameters relating to swap sizes.
1996-03-06 23:11:36 +00:00
mark
49cf80b1b2
Initial commit of machine dependant debugger functions.
1996-03-06 23:08:36 +00:00
mark
bcfc2f794a
Fixed the typedef of label_t to be 11 words as required by setjmp and
...
longjmp in locore.S
1996-03-06 23:04:04 +00:00