Commit Graph

6752 Commits

Author SHA1 Message Date
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
cgd 8d459740a7 kill some 'notyet's so that <machine/bus.h> is used 1996-03-08 20:26:59 +00:00
cgd 91d7642d30 implement bus_mem_map() and bus_mem_unmap() functions. 1996-03-08 20:19:48 +00:00
cgd 0b56afadf3 make this idempotent. bus.h needs to include it, and other things which
may include something that includes bus.h may include it as well.
1996-03-08 20:15:23 +00:00
mark 2a40f64a5d Fixed the formatting of the debug output. 1996-03-08 20:14:48 +00:00
cgd 6826c7bf48 bus memory and I/O space access functions/macros, to be used by
machine-independent code for more sane access to bus resources.
New functions will be added to this set, in the future, as appropriate,
but this is a good starting set.  Defines:
	bus_{io,mem}_{map,unmap}
	bus_{io,mem}_{read,write}_{1,2,4,8}
functions, and several types to go with them.
1996-03-08 20:11:23 +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
ragge ba7706dd3c Files to generate usable console RL02 packs on 8600. 1996-03-08 12:41:33 +00:00
ragge 3ac9ff6af4 Support for the RL02 disk at the PDP11 frontend console added. 1996-03-08 12:32:47 +00:00
mycroft 2732f4510b Rearrange boot() slightly. 1996-03-08 11:40:28 +00:00
mycroft 45ceba49fd Use label_t, not jmp_buf. 1996-03-08 06:49:45 +00:00
mycroft 1a55d915ae Don't call dvma_kvtopa() with a null pointer. 1996-03-08 06:17:35 +00:00
mycroft 8dbac07c10 Add a message to help us debug Linux compat. 1996-03-08 06:00:53 +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
ragge 6e51b1e47e Support for VAX 8600/8650 added. Works with lots of Unibus adapters,
and will probably work with Massbus adapters as well. (Not tested,
but it's the same code as for 11/780). Ubareset's may cause crashes
on 8600 also like 11/780, but they are more uncommon. No support
for console RL02 yet, but it's likely to come.
1996-03-07 23:22:34 +00:00
ragge 3f09ddf89f Fix of MicroVAX clock chip code, so that time sets right after reboot.
Fix done by Ken Wellsch.
1996-03-07 23:03:03 +00:00
briggs 1c817d1c3c Fix a typo in last. 1996-03-07 20:47:01 +00:00
leo 6da2ce259c Allow for a machine dependent match function - rd_match_hook() 1996-03-07 10:25:28 +00:00
briggs ddfeeb8c2d Add option to try linked commands on all devices for PUMA. 1996-03-07 02:48:33 +00:00
briggs 7c44b1180f Disable SCSI linked commands, but allow kernel option to override. 1996-03-07 02:26:37 +00:00
jtk 7492f0d7f1 speaker takes one port, so declare it as such in isa_attach_args
fixes pr#2178
1996-03-07 00:54:14 +00:00
jtk ff6687748a speaker device uses a port, so declare it as such in all the config
files
1996-03-07 00:48:34 +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