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
mark
f380bafdee
Added to code fixup the pc on entry to the debugger.
...
Added funtions for software single stepping.
1996-03-06 23:01:49 +00:00
mark
e6e9c2985e
Added stack frame structure for debugger tracebacks.
1996-03-06 22:53:50 +00:00
mark
32e37aa2c9
Code now actually performs a stack traceback.
1996-03-06 22:49:51 +00:00
mark
9e18e78df6
Fixed multiple miscellaneous bugs. Fixed the case of some instruction
...
operands. Added support for dissassembly of more of the instruction set.
1996-03-06 22:46:37 +00:00
mark
aeec9c8ac1
Added code to locate the NetBSD disklabel on disks with RISCiX partition
...
tables.
1996-03-06 22:43:11 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
cgd
1c5d7babe5
Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE.
1996-03-01 23:30:08 +00:00
cgd
3d67685d36
Do not build vnode_if.[ch] for each kernel. Build them once, like the
...
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
mycroft
2ce52ae489
Define build programs with `?=', so they can be overridden with `makeoptions'.
1996-02-26 02:53:20 +00:00
mark
c1b23518d2
ARM FPE is now secure i.e. user processes cannot use FP instructions
...
to access kernel memory.
1996-02-23 22:20:43 +00:00
mark
a01675725c
Added #ifdef FPE guard.
1996-02-23 18:50:56 +00:00
mark
905de8df55
Remove prototype for strcmp() as this is in libkern.h
1996-02-22 23:31:51 +00:00
mark
c3833aaabe
Opps, what was a delay() prototype doing here.
1996-02-22 23:25:10 +00:00
mark
88be357d42
Fixed declaration of a debugging variable.
1996-02-22 23:03:44 +00:00
mark
7b9c8753a7
Added #ifdef guards round the FPE initialisation calls.
1996-02-22 22:56:16 +00:00
mark
66198928f8
Fixed several function declarations.
1996-02-22 22:51:14 +00:00
mark
2c74bc8511
Removed some dead code and fixed several function declarations.
1996-02-22 22:48:05 +00:00
mark
f266edf8b8
Default to running an FPA at full speed. Updated delay() to take an
...
unsigned int.
1996-02-22 22:44:58 +00:00
mark
9a3e71626d
Fixed a little bug that zeroed the first couple of words of the symbol
...
table when the bss is zeroed.
1996-02-22 22:41:31 +00:00
mark
80684b67bc
Fixed registration of the symbol table.
1996-02-22 22:38:48 +00:00
mark
6a3087958a
Add #ifdef _LOCORE round delay() prototype and move DELAY macro
...
to param.h as well.
1996-02-22 22:21:55 +00:00
mark
9777b1173f
Thought I had already removed this ... Junk file that got checked in
...
due to finger trouble.
1996-02-22 17:46:24 +00:00
mark
bfad88d38d
Added prototype declaration of delay().
1996-02-16 23:29:45 +00:00
mark
f741f471f6
Added new routine for polling the keyboard.
1996-02-15 23:24:44 +00:00
mark
7e883ebf5b
Fixed kernel panic when the debugger called cngetc().
1996-02-15 22:54:45 +00:00
mark
23d71d4d59
Fixed undefined instruction handler chaining. The FPE will now correctly
...
pass on an undefined instruction if it was not an FP instruction.
1996-02-15 22:45:21 +00:00
mark
ab9201ff05
Replacement for armfpe.c. This is much nicer.
1996-02-15 22:44:31 +00:00
mark
1f4ced2016
armfpe.c was messy. Removing it in and replacing its function with
...
armfpe.s
1996-02-15 22:42:17 +00:00
mark
b5acab13ca
Added files for machine specific debugger code
...
armfpe.c replaced with armfpe.s
1996-02-15 22:40:08 +00:00
mark
6f2a81d3e1
Initial commit of the machine dependant in-kernel debugger code.
1996-02-15 22:37:13 +00:00
mark
63b7c56cb6
Added setjmp and longjmp routines for the debugger.
1996-02-15 22:15:21 +00:00
mark
b5a6e0bbf9
Added initialisation hooks for DDB.
1996-02-15 22:07:11 +00:00
mark
443bbc1025
Fixed disassembly of LDR & STR instructions, shifts by a register are
...
not allowed and count as undefined instructions.
1996-02-15 22:05:20 +00:00
mark
f69e31fcc1
Initial commit of the machine specific header for the in-kernel
...
debugger.
1996-02-15 21:54:30 +00:00
mark
f134e05316
Fixed performance problems caused by the ring buffer becoming flodded when
...
multiple packets were being received due to not flushing newly received
packets from the ring buffer between receiving an interupt and pulling
in the packets.
1996-02-15 21:48:59 +00:00
mark
5ef42fccf7
Removed debug printing from lpt interrupt routine.
1996-02-15 21:33:52 +00:00
mark
6de3d0fb2e
Replaced missing $ on one of the mkdep lines.
1996-02-13 23:29:14 +00:00
christos
3306495d82
delete pmap_page_index declaration; now in <vm/pmap.h>
1996-02-12 21:25:18 +00:00
mycroft
753fe3a25a
Fix mkdep problems due to missing flags.
1996-02-09 02:21:13 +00:00
mark
b92a2f676a
patch from rob black to fix support for 1bpp Xservers.
1996-02-07 19:11:02 +00:00
mark
a725f894c6
Added -fno-builtin flag for braindead version of gcc currently used by
...
the arm32 port.
1996-02-05 23:49:49 +00:00
mark
6b36adcad6
Define TRAPFRAMESIZE to be the size of a trapframe in bytes.
1996-02-05 23:24:50 +00:00
mark
a70b546c49
Added extra comments to help explain what the code is doing.
1996-02-05 22:43:53 +00:00
mark
66e7b4b999
ramdisk boot loading code now condition on RAMDISK_HOOKS being defined.
1996-02-05 21:43:40 +00:00
mark
25aa4f48b1
Updated to used NHYDRABUS to determine if hydrabus device should be
...
supported.
1996-02-05 21:25:33 +00:00
mark
82a8316c02
cpus can now be attached to hydrabus as well as mainbus.
1996-02-05 21:01:34 +00:00
mark
ceae6db272
The data abort handler now fixes the base register in co-processor
...
data transfer instructions that use writeback. i.e. LDC/STC instructions.
Hardware LDF/STF instructions are now correctly handled.
1996-02-05 17:31:33 +00:00
mark
4909105de6
Updated development history
1996-02-05 17:21:31 +00:00
mark
94fa0b2f1b
post instruction emulation callback now expects a trapframe structure
...
to be passed as well as the fp frame.
FPE<->kernel glue code now builds a trapframe structure for passing in
and out of the post instruction emulation callback.
Signal delivery during FP emulation now works correctly.
1996-02-05 16:51:52 +00:00
mark
20c26bade4
Removed redundant debugging text. Minor code tidy ups.
1996-02-05 16:49:01 +00:00
mark
bd04466b08
Configuration files updated to support latest options and devices
1996-02-05 16:34:51 +00:00
mycroft
5bc076e17e
Use `-traditional-cpp' when building .s and .S files.
1996-02-03 00:43:50 +00:00
mark
b32ae66ae6
Ramdisk device now defaults to a size of zero if RAMDISK_SIZE is
...
undefined.
1996-02-02 20:23:00 +00:00
mycroft
dcd66e9f4d
Clone these, and fix many bugs.
1996-02-02 20:08:17 +00:00
mycroft
9db20bf150
Don't define _KERNEL here.
1996-02-02 19:42:08 +00:00
mycroft
9d9a70a5a2
Fix #includes.
1996-02-02 18:05:36 +00:00
mycroft
fc9d84fb46
assym.s -> assym.h
...
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mark
6b8930c21c
Fixed the panic in the terminal code caused by a mode change ioctl on
...
the vidcvideo device.
1996-02-01 23:50:20 +00:00
mycroft
88e512b693
LOCORE -> _LOCORE
1996-02-01 22:28:24 +00:00
mark
0705e7dfd1
Initial commit of the NetBSD/arm32 port.
1996-01-31 23:24:54 +00:00
mark
386ad2ff0f
Initial commit of the NetBSD/arm32 port.
1996-01-31 23:14:53 +00:00