Commit Graph

301 Commits

Author SHA1 Message Date
phil dba4d32f68 Initial check-in of the ieee fp support for the pc532.
ieee fp support by Ian Dall, NetBSD/pc532 integration by Matthias Pfaller.
Includes setjmp/longjmp added to locore.s.
1996-04-04 06:36:03 +00:00
cgd 83f9bdc359 update for the fact that config_found() and config_rootfound() now
return pointers.  (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00
christos 933d138841 Change %r -> %: as for recursive printf's 1996-03-30 21:01:21 +00:00
phil 5f5484b74a tweek to delay (locore.s) and to FPU trap handler(trap.c). 1996-03-28 05:00:06 +00:00
phil e7b9b54ea3 Remove __SWAP_BROKEN. 1996-03-28 04:53:17 +00:00
phil 6d61867cc0 Remove old files not needed now that the pc532 uses the MI ncr5380 driver. 1996-03-28 04:49:32 +00:00
thorpej 77abd102b7 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:38:52 +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
christos ab0e60a42f fdopen -> filedescopen 1996-03-14 21:20:59 +00:00
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
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
phil a3a96d6af3 Another tweek to support libcompat. 1996-02-15 20:19:48 +00:00
phil 2afc843cce change _insque and _remque to match the prototypes in sys/systm.h. 1996-02-15 08:39:27 +00:00
phil 5e7b18feac Catch up with changes in the libkern and libcompat get $S ...
Comment out ns_cksum.c.
1996-02-15 08:37:56 +00:00
christos b3666297b1 Oops, meant to delete the declaration completely. 1996-02-12 21:28:18 +00:00
christos a9996b4780 pmap_page_index returns int 1996-02-12 21:27:32 +00:00
christos bf49f190a7 change pmap_page_index to return int 1996-02-12 21:19:13 +00:00
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
christos 28eae27187 correct prototype for cpu_fork 1996-02-05 20:33:37 +00:00
christos 2c8314f73c vm prototype changes 1996-02-05 02:06:38 +00:00
mycroft 5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft 2dfbe4f961 Don't define _LOCORE here. 1996-02-02 20:05:08 +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 cec913603e Don't special-case conf.c. 1996-02-02 13:38:05 +00:00
mycroft fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
phil 5d2a046ccb Update makefile to match recent pc532 MD changes, new config file. 1996-02-01 03:00:57 +00:00
phil 54df7b2130 Updating DELAY and scncnputc. 1996-02-01 02:37:15 +00:00
phil 63d5234cbf Integration of many changes from Matthias Pfaller plus some of mine.
Several had:  _MACHINE_ICU_H_ -> _NS32K_ICU_H_

cpu.h		* Removed definition of cpu_swapout.
		* Added definition of cpu_wait.

frame.h		* added struct switchframe

icu.h		* tweeked ints_off

param.h		* More derived constants.
		* Alot of things taken over from i386/include/param.h.

pcb.h		* Removed pcb_flags (was unused) and pcb_pl.
		  The current priority level is now stored
		  in the switch frame by cpu_switch.

pmap.h		* Taken over from i386/include/pmap.h.

psl.h		* Add USERMODE definition

trap.h		* T_INTERRUPT -> T_AST

types.h		* Remove __FORK_BRAINDAMAGE

vmparam.h	* Taken over from i386/include/vmparam.h.
		  Added definition of INTSTACK.
1996-02-01 00:03:25 +00:00
phil ccbcfbef91 Integration of many changes done by Matthias Pfaller with a few by me.
clock.c		* Removed definition of DELAY.

intr.c		* Removed an unneeded $Id:....$

locore.s	* Moved some of the low level initialization
		  code to machdep.c.
		* Defined proc_trampoline.
		* Changed sigcode to pass scp to SYS_sigreturn.
		* Changed copyin/copyout/fu*/su* to take advantage
		  of the ns32532's dual address instructions.
		* Recoded copyinstr/copyoutstr/copystr in assembler.
		* Added a new and faster version of bzero.
		  This makes bzero.s unnecessary.
		* Defined suswintr to make profiling work.
		* Recoded cpu_switch modelled after the i386
		  version of cpu_switch.
		* Added support for lazy fpu state restore to
		  cpu_switch.
		* Recoded trap handling code to be more readable.
		* Added experimental code for single cacheline
		  invalidation.

machdep.c	* Copied over cpu_startup from i386/i386/machdep.c.
		* Changed sys_sigreturn to take advantage of the
		  argument passed by the trampoline code.
		* Changed boot to call doshutdownhooks and to store
		  machine state in case of a panic.
		* Changed setregs to clear the fpu registers.
		* Recoded low_level_init. It's now called init532.
		* cpu_reset: New function, resets the machine.

trap.c		* Pulled over from i386/i386/trap.c.
		* Added support for lazy saved/restored fpu state.

vm_machdep.c	* Removed kstack double mapping by pulling over alot
		  of code from i386/i386/vm_machdep.c.
		* Added support for lazy saved/restored fpu state.
		* Moved freeing of process resources from cpu_wait
		  to cpu_exit.
		* Pulled over cpu_coredump, pagemove, vmapbuf and
		  vunmapbuf from i386/i386/vm_machdep.c.

pmap.c		* Pulled over from i386/i386/pmap.c.

genassym.c	* Removed old and unused definitions, added new ones.

sys_machdep.c	* Moved sys_sysarch from machdep.c to sys_machdep.c.

process_machdep.c	* Changed to work without ktack double mapping.
			* Changed to work with lazy saved/restored fpu state.
1996-01-31 21:33:42 +00:00
phil 2ec27d30fe Clean up of assembly files. 1996-01-26 08:11:46 +00:00
phil 9b68d7d99e Clean up of some assembly files. 1996-01-26 08:10:10 +00:00
phil 6bffbf4ca9 New file needed for Matthias Pfaller rework of pmap.c to sync it with
the 386 version.
1996-01-26 08:06:40 +00:00
phil 45d22f23ed New file from Matthias Pfaller. 1996-01-26 05:37:16 +00:00
phil 44f4a2f5e6 Update to Matthias' current state. 1996-01-26 05:12:58 +00:00
phil 2a13a30e5e Update from Matthias Pfaller. (Small tweeks.) 1996-01-26 05:04:12 +00:00
phil 49d37e3c5d Update to current state. No major changes. 1996-01-25 19:50:39 +00:00
phil 85178bcc1b Update a bit. 1996-01-25 19:36:36 +00:00
phil 3789c88f95 Add doshutdownhooks(). 1996-01-15 05:30:47 +00:00
thorpej 57219ebad3 Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
thorpej 5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00