Commit Graph

6784 Commits

Author SHA1 Message Date
phil a3448dcd3e Update it. 1996-03-11 23:14:43 +00:00
phil 509ba91070 have files.pc532 use include feature for scsi.
use MI ncr driver.
1996-03-11 23:09:09 +00:00
phil 26ee503b71 More precise DELAY function. 1996-03-11 22:50:17 +00:00
phil 6d5bf6a3ea Support for move to MI ncr5380 driver. 1996-03-11 20:56:48 +00:00
phil d92d9aa2f7 Move the pc532 ncr5380 driver to the MI one. 1996-03-11 20:50:50 +00:00
leo 2273338717 Add the include files and the atari kernel support for new format panic
dumps.
1996-03-10 21:54:44 +00:00
briggs 9e087f0d26 Pass 2nd arg to longjmp--even though it's ignored. 1996-03-10 19:55:22 +00:00
briggs 679b7627d0 Use label_t instead of jmp_buf and don't include setjmp.h. 1996-03-10 19:54:41 +00:00
leo 7da79507e9 Take the type of the attached monitor into account when selecting a
display-mode. Includes hack to make things work on non-VGA monitors.
1996-03-10 11:42:35 +00:00
cgd 0a6a29c792 update for new commulti->com attach interface. com ports at 'ast'
multiport cards no longer need 'flags 1', because the "don't set IEN"
requirement is communicated by the commulti_attach_args.  com.c no longer
recognizes 'flags 1' at all.
1996-03-10 09:03:13 +00:00
ragge f01a5dd8cc We lost declaration of kernel_pmap_store somewhere, put it back. 1996-03-09 23:39:51 +00:00
ragge 3a07f941ba Check on which SBI we are frobbing, not always 0. 1996-03-09 23:38:34 +00:00
ragge 24b2b310ae Add support for ktracing syscalls. 1996-03-09 23:37:20 +00:00
ragge 4ee5419b8a Panic on SBI fault. 1996-03-09 23:36:40 +00:00
ragge c7282ed159 Change NTU to NHT. 1996-03-09 23:36:09 +00:00
ghudson 4e0c8707f7 To enable people to mount DOS partitions on disks with no NetBSD
partition, add the MBR partitions to the default (faked-up)
disklabel used by NetBSD if it can't find a real one.  If the
type of the MBR partition is one of the common DOS ones, mark the
partition as having an MSDOS filesystem.
1996-03-09 20:52:54 +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
cgd ea21ff117e rather than doing something hairy in the print routine, to the
'logically right' thing: define a mainbus_attach_args union which is
all of the subdevices' bus attach args, together with the part that's
shared by all of them, a const char * (the bus name).
1996-03-08 21:55:47 +00:00
leo 77e4824146 Just prototyping. 1996-03-08 21:54:53 +00:00
leo a91a46bc0f When having a perfect match on the resolution, try to match the screen
depth as best we can.
1996-03-08 21:52:50 +00:00
leo bb2b6106da Fix a bug in the DCD handling. Because the state of the DCD line was
kept in a soft-copy that wasn't initialized on open, it sometimes happend
that a change of the carrier got lost. Also fixed some prototypes.
1996-03-08 21:50:40 +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
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