Commit Graph

792 Commits

Author SHA1 Message Date
matthias 63758fd99b * Include to std.pc532 added. 1996-11-24 13:28:52 +00:00
jtc 16b48272c4 Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_ 1996-11-15 22:38:45 +00:00
matthias 10af6d961f * We get bcopy from libkern.o now. 1996-11-07 07:34:02 +00:00
matthias 6ed1a51b35 * libkern.o already has bcopy.o. Link it in front of libsa.a. 1996-11-07 07:33:55 +00:00
matthias a95805b41f * Define the ALTENTRY macro. 1996-11-07 07:33:28 +00:00
matthias ee011c080d * The pc532 port is now using the mi ramdisk driver.
* Use the mi version of ns_cksum.
1996-11-07 07:32:29 +00:00
matthias 5ca00f7293 * Cosmetic changes. 1996-11-07 07:32:21 +00:00
matthias 5596cf17ea * Cosmetic changes.
* Configure LKM support.
* Remove filesystems that are normally not used.
* Configure SCSI-uk driver.
1996-11-07 07:32:18 +00:00
matthias 93811ddf97 * Cosmetic changes.
* Only FFS is needed for the install kernel.
* Configure the console to 8N1 (that's what the pc532's rom monitor uses).
* The install kernel doesn't need to know about CDROM drives.
* Use the new mi ramdisk.
1996-11-07 07:32:13 +00:00
matthias 7a27370327 * Cosmetic changes.
* Configure only NFS, FFS and LFS filesystems. All other filesystems are
modloadable.
* Configure SCSI-uk driver.
1996-11-07 07:32:10 +00:00
matthias bc9eccaebb * Cosmetic changes.
* Configure SCSI-uk driver.
1996-11-07 07:32:07 +00:00
matthias 1b92fb966e * bcopy and bzero are part of libkern now. 1996-11-07 07:31:20 +00:00
matthias dbaaf5e560 * rd_attach_hook/rd_open_hook. Stolen from sun3/dev/rd_root.c 1996-11-07 07:21:00 +00:00
matthias ddb9815a80 * We are using the mi ramdisk driver now. 1996-11-07 07:20:37 +00:00
matthias 4ae217f7fa * We are using the mi ncr driver now. 1996-11-07 07:20:29 +00:00
matthias df2a490d8f * Not in use for a very long time. 1996-11-07 07:20:28 +00:00
matthias cab14d3b2b * ntoh is part of libkern now. 1996-11-07 07:18:27 +00:00
matthias c1e3a7db8d * This not different from netns/ns_cksum.c. Delete this copy. 1996-11-07 07:18:26 +00:00
matthias f0d6340cba * Tell the vm system that kerneltext is mapped readonly. Stolen from
atari/atari/machdep.c.
1996-11-07 07:18:23 +00:00
matthias 8ea6b5f65c * Add ch, ss and uk devices.
* Make lkms work.
1996-11-07 07:18:21 +00:00
matthias eead8b9100 * bcopy is part of libkern now. 1996-11-07 07:18:19 +00:00
cgd 8a3333b2a9 Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
matthias 8738c57e61 * Phil Budne's is now integrated.
* Remote kerneldebugging with gdb works too.
1996-10-23 07:55:10 +00:00
matthias 2336fbd2c6 * Phil Budne's much improved scn driver. 1996-10-23 07:52:35 +00:00
matthias e7e91939da * Remove references to deleted files (oldncr.c, dp.c). 1996-10-23 07:50:03 +00:00
matthias 54eec4c697 * Add EXEC_SCRIPT and EXEC_AOUT. 1996-10-23 07:49:58 +00:00
matthias 0cdf2807ab * KLONDIKE has only four serial lines.
* KLONDIKE has a ns381 installed.
* Add EXEC_SCRIPT and EXEC_AOUT.
* Enable ddb.
* Enable FDESC.
* Monitor speed is 9600 baud.
* Monitor speaks 8N1.
* Pin down devices on the SCSI-Bus.
* Configure vnd, bpfilter, ppp and tun.
1996-10-23 07:49:55 +00:00
matthias 45fe815542 * Add EXEC_SCRIPT and EXEC_AOUT.
* Remove lines commented out.
* scsibus0 is attached to ncr0.
1996-10-23 07:49:54 +00:00
matthias 225801ae14 * New file; configuration for my second pc532. 1996-10-23 07:49:52 +00:00
matthias 414cbce393 * Add EXEC_SCRIPT and EXEC_AOUT.
* Use new options for to set the console baudrate and the default
tty mode.
* Include PPP_BSDCOMP and PPP_DEFLATE.
* scsibus0 is attached to ncr0.
1996-10-23 07:49:49 +00:00
matthias 63d15a966d * Sync with i386 version.
* Scratch ram for debugger stacks ends at VM_MIN_KERNEL_ADDRESS + 0x1000
and not at VM_MIN_KERNEL_ADDRESS + 0x2000.
1996-10-23 07:46:08 +00:00
matthias e9a160096b * Sync with i386 version. 1996-10-23 07:46:07 +00:00
matthias 4b2a039488 * configure() has to be declared void. 1996-10-23 07:46:04 +00:00
matthias 865930408c * Do not include limits.h, use machine/limits.h. 1996-10-23 07:43:44 +00:00
matthias 897acfdcbb * Do not include stddef.h.
* Add definition of offsetof.
1996-10-23 07:43:42 +00:00
matthias 1a81564477 * Declare reserve_dumppages and pmap_activate. 1996-10-23 07:30:57 +00:00
matthias 1731660b98 * Declare kvtop. 1996-10-23 07:30:54 +00:00
thorpej b12cf5890d RCS id police. 1996-10-15 21:59:03 +00:00
christos e37692f04d backout previous kprintf change 1996-10-13 03:29:05 +00:00
christos 7c9b908394 use in_addr_t and in_port_t 1996-10-13 03:12:38 +00:00
christos 848c9d8f02 printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:39:22 +00:00
matthias 9176e41d88 * Pull over prototyping fixes from i386. 1996-10-09 07:45:28 +00:00
matthias b43657168e * Add prototypes.
* Add support for ddb and kgdb.
1996-10-09 07:45:25 +00:00
matthias 9d22d4d454 * Fix declaration of setconf. 1996-10-09 07:45:23 +00:00
matthias 85ddb3de03 * A few prototyping tweakes and deletion of unused variables.
(pulled over from i386).
1996-10-09 07:45:20 +00:00
matthias e90bc618bd * Support for ddb.
* New patchable variable maxphysmem to limit physical memory.
That's useful to simulate small machines for testing install
kernels.
* Make debugging crashdumps with gdb -k work.
* microtime is moved to clock.c.
* Reserve memory for symbol table when ddb is configured.
* Move checks for RB_KDB into consinit.
1996-10-09 07:45:17 +00:00
matthias 89a49bedc6 * Set _kernel_text to the correct value.
* Fix a typo in delay().
* Disable generation of profiling prologue for proc_trampoline,
sigcode, idle, handle_trap, flush_icache, svc and interrupt.
* A few tweaks to make kgdb and ddb work nicer.
1996-10-09 07:45:13 +00:00
matthias 560bd7e107 * New file for kgdb support. 1996-10-09 07:45:06 +00:00
matthias 9c3592a5ca * Reduce softint latency.
* Pull over change from i386 to make statclock > (tty | net | bio).
1996-10-09 07:45:05 +00:00
matthias 1dceda47e0 * Make it work for NetBSD and not for mach. Most of
this was done by Phil Budne.
* Remove things not used by NetBSD.
* Make stacktracebacks work better.
1996-10-09 07:45:03 +00:00
matthias 4484a4406d * New file for routines common for kgdb and ddb support. 1996-10-09 07:45:00 +00:00
matthias 6f37f75ecb * Make it work for NetBSD and not for mach. Most of
this was done by Phil Budne.
* Move some functions shared with kgdb to db_memrw.c.
1996-10-09 07:44:59 +00:00
matthias 79ded0d7e1 * Make it work for NetBSD and not for mach. Most of
this was done by Phil Budne.
1996-10-09 07:44:56 +00:00
matthias afd88ad8ed * Remove unused function spinwait.
* Add Phil Budne's microtime.
1996-10-09 07:44:54 +00:00
matthias 00695d93ae * Now that ddb works, boot should set esym to the correct value... 1996-10-09 07:42:13 +00:00
matthias 483cff53cd * Add the README file from Ian Dall's original distribution. 1996-10-09 07:40:45 +00:00
matthias 84b238b8eb * Add files needed for kgdb and ddb.
* Delete (commented out) ntoh.s.
1996-10-09 07:34:42 +00:00
matthias f0c2efd752 * Remove ncr_minphys. Simply use minphys.
* Protect interrupt code with splbio.
* Don't use intr_disable/intr_enable in the pdma routines.
1996-10-09 07:29:58 +00:00
matthias f28c7ec9dd * Don't use ansi c prototypes. Use the __P() macro.
* Support for bpf added.
* Don't duplicate code, use ether_ifattach instead.
* Recode plipreceive and pliptransmit in assembler.
This improves performance from 40 kbyte/s to 50 kbyte/s
between a 30mhz pc532 and a 25mhz i386.
1996-10-09 07:29:55 +00:00
matthias f8c337b300 * Remove intr_disable/intr_enable stuff.
* Reduce softint latency.
1996-10-09 07:28:52 +00:00
matthias f673492195 * redefine MAXPHYS to 128k to support DAT-tapes with a
very large blocksize.
1996-10-09 07:28:50 +00:00
matthias b5542a0938 * The expression to which ICU_CLK_HZ is defined has to be
protected by parentheses.
1996-10-09 07:28:47 +00:00
matthias 0a6d52bb21 * Make it work for NetBSD (and not mach). Most of
this was done by Phil Budne.
* Delete unused macros.
* Define a few things to support kgdb.
1996-10-09 07:28:44 +00:00
matthias b1bd20fbe2 * Delete define for DELAY.
* Add prototype for delay()
* Add prototypes for functions from various
machine dependent files.
1996-10-09 07:28:43 +00:00
matthias 1ebd4878ae * Include profiling prologue not only when PROF is
defined but also when GPROF is defined.
* Provide _ENTRY and _ASENTRY to make it possible to
define functions that should not be profiled.
1996-10-09 07:28:40 +00:00
matthias b83348353f * ddb now works.
* Profiling works as well.
1996-10-09 07:21:47 +00:00
cgd 472889f8e4 moved to aout_machdep.h (via repository copy) 1996-10-08 12:57:37 +00:00
mycroft b3ffba62a6 Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft e6dd44f034 Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft fc3def4096 Remove duplicate declarations of LKM functions and macros. 1996-09-05 15:46:22 +00:00
mycroft 0a59726320 Fix obvious typo. 1996-09-02 12:42:11 +00:00
mycroft b3eac79b64 tty stop functions really should return void, not int, and certainly not both. 1996-09-02 06:43:16 +00:00
mycroft 30a617c634 Wrap the default definition of `S' in `.ifndef'. 1996-08-31 21:40:47 +00:00
cgd 71ad30d0e9 (1) set scsi_link channel to either the appropriate channel (if a
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd 2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
mrg b8e9f36083 add COMPAT_12. 1996-08-26 23:39:36 +00:00
mycroft 558d72128e Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft cf67f29afe * Add a HOSTED_C_C variable, which strips `-p', `-pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft f94052ed3a * Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg 5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
phil 318585cf7f Removal of some dead code. Moving of data definitions. (From Matthias) 1996-07-31 16:47:30 +00:00
phil 99db994eea Move to the MI ncr5380 driver. 1996-06-26 04:31:33 +00:00
cgd af576d8a9f no need for a local implementation of SIOCGIFMTU; delete it.
s/ifr_metric/ifr_mtu/ where appropriate (in SIOCSIFMTU code), since
MTU data no longer (loggically) stored in ifr_metric.
1996-06-13 21:51:53 +00:00
phil 6c28c57a2a xxcd => xx_cd. 1996-05-23 14:14:20 +00:00
phil 386ecdc658 Prototype dk_establish. 1996-05-19 05:34:25 +00:00
phil 8d6d309bf0 Minor fixes from Matthias Pfaller.
ncr.c => add parity disable code.
1996-05-19 05:32:09 +00:00
phil 04241dc8eb Add _kernel_text. 1996-05-17 16:38:24 +00:00
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
thorpej ccc18dd2ae Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:12:53 +00:00
phil 333943186d Small tweeks from Matthias Pfaller. 1996-05-03 23:22:54 +00:00
phil 0b85f48338 Updates from Matthias Pfaller and Ian Dall. 1996-05-03 23:19:26 +00:00
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
jtc 2fce159ff8 Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.
1996-01-04 22:21:33 +00:00
thorpej 17eb6e2bc1 Move the old-style disk instrumentation "structures" to a central location
(sys/kern/subr_disk.c) and note that they should/will be deperecated.
1995-12-28 19:16:31 +00:00
mycroft cd8fe86bcb Make the type of __builtin_va_list a long. 1995-12-26 01:16:24 +00:00
mycroft 0c00214737 Use __builtin_va_alist. 1995-12-26 00:19:09 +00:00
mycroft fa887628d8 Stylistic changes. 1995-12-25 23:15:31 +00:00
mycroft d1de691efb Stylistic changes. 1995-12-25 22:22:02 +00:00
mycroft 0199e002ad Update for GCC 2.7, and fix bugs. 1995-12-25 21:41:08 +00:00
mycroft 292120bf63 Define __FORK_BRAINDAMAGE. 1995-12-09 04:41:41 +00:00
phil c13dbbd1b4 Update the To.Do list. 1995-12-07 07:55:11 +00:00
jtc 0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
mycroft c9b339fcd1 Clean up deleted files. 1995-10-11 18:51:50 +00:00
mycroft fda13ac9c6 Clean up deleted files. 1995-10-11 05:28:06 +00:00
phil 715002290d remove old 1.0 distribution configs, tune 1.1 kernel configs. 1995-10-11 04:53:57 +00:00
phil 326e5742ac Disable interrupt to avoid a bug. This makes the "new ncr" driver
stable enough to use in the distribution.  We still need to find out
where the bug is when interrupts are enabled.
1995-10-10 08:08:01 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
phil c9836835f4 Make it as lean as possible. 1995-09-29 04:16:48 +00:00
phil d7992eb61f Update to correct load address. 1995-09-28 08:13:29 +00:00
phil 03fa08025b Major update: Many changes from Matthias Pfaller.
* conf/DEFAULT: new file, default install kernel
* conf/INSTALL: +MSDOSFS, +NO_INLINE_SPLX, +RD_SIZE=2mb, +scn4/5
* conf/KLONDIKE: cosmetic changes
* conf/STEELHEAD: cosmetic changes
* conf/files.pc532: rd got a file of it's own
* dev/lpt.c: changes to support lower interrupt latency, packet input/output
  is now done at spl0
* dev/ncr.c: changes to support the most recent atari version of the ncr5380
  driver
* dev/ncr5380.c, dev/ncr5380reg.h: upgraded to most recent atari version,
  memcpy -> bcopy.
* dev/rd.c: ramdisk driver
* dev/scn.c: by patching scndefaultrate, the kernel's default baud rate can
  be changed with gdb
* include/psl.h: struct iv now protected by !LOCORE && _KERNEL
  inlining of splx can be prevented with new kernel option NO_INLINE_SPLX
  splx_di is like splx but leaves processor interrupts disabled
* pc532/autoconf.c: cosmetic changes
* pc532/conf.c: with rd entries
* pc532/intr.c: changes to support splx_di
* pc532/locore.s: ramdisk is no longer initialized
  not splx, but rett is now used to reenable CPU interrupts when leaving the
  interrupt service routine. This is necessary to prevent recursive interrupts.
* pc532/sys_machdep.c: memcpy -> bcopy
* pc532/mem.c: moved ramdisk to dev/rd.c
* stand/Makefile: boot is now loaded at 0x3eb800 instead of 0x363800
  Use current form of libsa and libkern.
* stand/inflate.c: emit twiddle every 8k and not every 1k
* stand/rd.c: ramdisk starts at 0x288000
1995-09-26 20:15:57 +00:00
phil 7ed7d6148f Move the C struct to the properly protected place. 1995-09-22 23:19:30 +00:00
thorpej c9dfdd20b6 Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:48:41 +00:00
thorpej 7d7396c414 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:53:47 +00:00
mycroft 29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
phil f9399fadc7 add option CON_BRK_PANIC to be able to force a panic by 3 consecutive
breaks without any input on the console port.
1995-08-30 23:51:40 +00:00
phil 022e1038fd Use pc532 specific in_cksum.c. 1995-08-29 22:48:02 +00:00
phil 3564c1fcc2 More changes to ncr driver to try to get it working. (From Matthias Pfaller) 1995-08-29 22:44:27 +00:00
phil d9c05825be Changes for gdb from Matthias Pfaller. 1995-08-29 22:37:41 +00:00
phil f2d39a40d1 Changes for new INSTALL generic kernel and compressed kernel boot. 1995-08-29 21:55:39 +00:00
phil 6a179f1f2e VOID minphys. 1995-08-27 04:07:53 +00:00
phil 389484fe28 New kernels from Matthias Pfaller and addition of oldncr driver. 1995-08-25 07:58:21 +00:00
phil 441cd76f8f Changes by Matthias Pfaller for generic support and dumping. 1995-08-25 07:52:18 +00:00
phil 0a3111b255 Various changes (from Matthias Pfaller) including support for a
more generic distribution kernel and dumps.
1995-08-25 07:49:04 +00:00
phil 47ff5d6b3d More changes to the "new" ncr interrupt driven scsi driver (from M. Pfaller)
Bring back the old polled driver until a kernel built with the interrupt
driven one is stable enough for production use.
1995-08-25 07:30:33 +00:00
thorpej 66dcd8fd69 Add entries for the ccd. 1995-08-17 17:40:42 +00:00
mycroft 6cc376290b Replace splnet() with splsoftnet(). Add splnet(). 1995-08-13 00:27:11 +00:00
mycroft 80d7b0695a minphys() functions really should return void. 1995-08-12 20:30:45 +00:00
phil dad0b0a94c Work towards getting gdb working by Craig Ruff. 1995-07-28 08:00:17 +00:00
phil cb8805b840 Work toward making gdb work by Craig Ruff. 1995-07-28 07:51:38 +00:00
cgd ffe4785a58 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:33:32 +00:00
cgd 479fb9e45b add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
paulus da3602a73e Add code to softnet to call pppintr. 1995-07-04 12:19:07 +00:00
mycroft 7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd c83f9c5568 remove unused cpu_exec() definitions. moved "broken swap" markers, for
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
phil ad4af073cd Updates from Matthias Pfaller. (leo@marco.de) 1995-06-26 23:13:54 +00:00
cgd 2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd 1c0be437b1 define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
christos 98df248f95 Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:46:09 +00:00
jtc 55fbbc705d Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
jtc 1d65cdd4ab #include <sys/cdefs.h>.
Wrap __flt_rounds() declaration with __BEGIN_DECLS/__END_DECLS.
1995-06-20 20:32:22 +00:00
phil 2f62eae02d Checkpointing ... still has a couple of problems but it is better.
(include/{icu.h,psl.h} should be listed as part of this checkpoint.)
1995-06-18 07:18:02 +00:00
phil 8142065452 Updating to be like i386 version. 1995-06-18 07:13:46 +00:00
phil 9999c610fb Updated To.Do 1995-06-09 06:03:45 +00:00
phil 36c6fc31be Various updates for the new NCR scsi driver and tweeks to the interrupt
code. (From Matthias Pfaller)
1995-06-09 05:59:56 +00:00
phil a8674363a7 Replacement of the NCR driver by the Leo Weppelman NCR driver as
ported by Matthias Pfaller (Thanks to both!) and a RCS id.
1995-06-09 04:36:14 +00:00
jtc f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
phil 29db7c74b1 Changes from Matthias Pfaller: lpt driver changes, clock code similar
to i386, interrupts from static table to dynamic table, other small
fixes (locore.s byte operates -> double operands ...)
1995-05-16 07:30:30 +00:00
jtc 8aa6c376b6 KERNEL -> _KERNEL 1995-05-11 16:52:54 +00:00
phil fae7c89fdd RCS id/header cleanup. 1995-05-08 19:37:45 +00:00
cgd 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +00:00
cgd c075955b09 kill historical cruft 1995-04-29 01:56:59 +00:00
jtc ac3b1189c1 ns32k specific portions of ieeefp.h (fp_rnd, fp_except, constants, etc.). 1995-04-28 22:01:25 +00:00
jtc 7fea99983f Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
current rounding mode is accurately reported.
1995-04-28 21:58:57 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
phil b9c4f23337 needs-count => needs-flag 1995-04-27 07:26:08 +00:00
phil 042a0e2c63 remove warnings in pmap.c 1995-04-27 07:19:09 +00:00
phil 83e651c4c4 scntty & reorg using softc stuff. 1995-04-27 07:18:02 +00:00
phil a186461a00 conf.c: ptstty ...
machdep.c: setregs parameter type change, remove warnings
process_machdep.c, pmap.c : remove warnings
1995-04-27 07:16:31 +00:00
christos de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
phil 83d1965cc0 Remove the "#if 0" around vfs_unmountall(). 1995-04-21 20:20:15 +00:00
phil c42a783b23 Add scncnpollc. 1995-04-21 18:36:32 +00:00
phil 6fbf1113f7 Fix a mycroft typo. 1995-04-20 07:16:30 +00:00
mycroft 4439f3b5f6 Remove deprecated prober/probew/kernacc/useracc. 1995-04-11 20:01:43 +00:00
mellon df78dbb096 Reference cninit.c as well as cons.c 1995-04-11 09:52:11 +00:00
mycroft e25c1817cf kernel_pmap --> pmap_kernel() 1995-04-10 13:08:28 +00:00
mycroft 22cefc03bc Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft 127e0761c9 Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
needed.  Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft d751b03236 Minor consistency nits. 1995-04-10 10:01:40 +00:00
mycroft 7e450d5085 device.h is defunct. 1995-04-10 07:50:42 +00:00
mycroft 14241df959 Update for conf.h. 1995-04-10 07:43:49 +00:00
jtc 71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
cgd fa2133533d invoke ktrsyscall with (vp, code, argsize, args) as args. 1995-03-26 08:03:29 +00:00
jtc f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
cgd b8403d582b don't be so quick to cast macro arguments to unsigned; if the
arguments are really off_t's (e.g. to btodb), then you can lose
information.  This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
mycroft 2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
phil 3a293934a9 Increase the VM limits and initial sizes limits. 1995-02-14 18:52:29 +00:00
phil ef1389111f Do what it takes to make vnd a swap device :) 1995-02-12 03:53:45 +00:00
phil 5b95a4a41e Fix from Matthias for device closing. 1995-02-08 17:45:09 +00:00
phil 255317cd59 Update it! 1995-02-03 18:34:11 +00:00
jtc 830a53e394 ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
cgd b56a5f27d4 add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd 4cc138dd7a vn -> vnd renaming, for consistency 1995-01-25 05:34:51 +00:00
cgd 2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
phil 0c91149a15 Do a shorter cache invalidate. (from Matthias) 1995-01-22 07:06:48 +00:00
mycroft 381715c52f Clean up deleted files. 1995-01-19 07:03:40 +00:00
phil 8579e47846 move nncr.c -> ncr.c, nscn.c -> scn.c 1995-01-19 07:03:35 +00:00
phil 770fe02aad change file names in clean for config.new. (nncr.c -> ncr.c, nscn.c -> scn.c) 1995-01-19 07:02:31 +00:00
jtc 9540190d45 This file, which will be included by <sys/cdefs.h>, will contain macros
such as __warn_references() and __weak_reference() which are actually
machine dependant.  This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.

This change also introduces a new macro, _C_LABEL(x).  _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.

For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
phil 3b18e56333 Add the fast console ram disk config. 1995-01-18 22:18:00 +00:00
mycroft 16489b2c3a Clean up deleted files. 1995-01-18 08:17:23 +00:00
phil 9ac887e591 Move to config.new (get ram disk working correctly), add lpt driver. 1995-01-18 08:14:29 +00:00
phil dcb56cc3c5 Move to config.new, add lpt driver. 1995-01-18 08:13:29 +00:00
jtc d7a8b2964f Only define sig_atomic_t when _ANSI_SOURCE is defined. 1995-01-10 19:01:00 +00:00
phil 053d0c603b add xs->resid = 0; to ncr5380_scsi_cmd(). 1995-01-09 08:18:43 +00:00
phil 4372c10cea Fix the inittodr bug. 1995-01-02 04:20:58 +00:00
phil 191f87cc1e the lpt driver by Matthias Pfaller. 1994-12-30 07:31:27 +00:00
phil f082f22fee type on microtime and remove printf in dk_establish. 1994-12-30 05:09:00 +00:00
phil 7fd629ada2 First try at catching up with generic scsi code. 1994-12-30 01:40:01 +00:00
phil 0ad6b56de9 Fix it to work correctly with weird structures. 1994-12-29 19:43:52 +00:00
phil befb0a21f3 add tun device. 1994-12-22 08:33:41 +00:00
phil 87efeb2886 cache flushing changes, core dump changes 1994-12-22 03:24:07 +00:00
phil 83c5692e19 Move to config.new, genassym static 1994-12-22 03:23:20 +00:00
cgd e5049f4d59 make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
phil 2fc0cde6e2 get "make depend" working. 1994-12-16 18:00:36 +00:00
mycroft d42a8b725e Remove extra arg to d_open. 1994-12-14 19:10:08 +00:00
phil cef7e3d0dc Changes from Matthias P. 1994-12-09 21:04:40 +00:00
phil 008d895ed1 config.new changes and sendsig change. 1994-12-05 19:27:38 +00:00
phil 51aa2cad2b USPACE change. 1994-12-05 19:27:20 +00:00
phil dedd59e3c2 Twiddles to ge config.new working. 1994-12-05 19:26:56 +00:00
phil 0503a7c8a8 Fixed a bug in resettodr that set the month to 13 in the hardware clock! 1994-12-05 19:14:27 +00:00
christos 40abc70ce2 changed open prototype 1994-11-14 05:55:23 +00:00
cgd dafacba9d5 new RCS ID format. 1994-10-26 08:23:50 +00:00
phil 97ad3ec4b8 fixes from Matthias. splimp and other stuff. 1994-10-21 07:03:57 +00:00
cgd d4bf824ec2 update for new syscall args description mechanism 1994-10-20 05:17:21 +00:00
phil 20cb927177 add timezone support to inittodr (thanks to Phil Budne)
add a working resettodr (ditto)
rcs header
1994-10-19 17:15:16 +00:00
jtc 8c34217adb The ns32k uses IEEE, not vax, floating point arithmetic.
Adjusted constants appropriately.
1994-10-18 00:25:27 +00:00
cgd f501e4e128 make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files. 1994-10-15 04:57:29 +00:00
cgd 49c34d3337 move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS. 1994-10-14 18:26:22 +00:00
phil a412f1e2db Get it to compile again. (agree with sys/ptrace.h) 1994-10-06 06:07:28 +00:00
jtc badcc17a6d Add constants required by XPG3 1994-10-05 17:16:29 +00:00
phil e4cfedf094 *SIGH* use the netinet version of in_cksum.c. Now tcp works on the pc532. 1994-09-25 04:23:17 +00:00
jtc 47b84c16db asm -> __asm (PR #463). 1994-09-10 01:19:45 +00:00
cgd cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
phil 76987b5103 Clarify author and state of source. 1994-08-08 18:42:53 +00:00
phil c343ac2001 It is about time to add this. 1994-08-08 04:51:03 +00:00
mycroft 558c00c001 Fix spelling of `STEREO'. 1994-08-05 22:56:19 +00:00
phil 000c57f728 fixed cdev vn config. *sigh* 1994-08-02 23:39:59 +00:00
phil 11bf31e8d7 add vn 1994-08-01 23:44:08 +00:00
phil f9b2f20e7d proc_machdep.c => process_machdep.c 1994-08-01 22:58:42 +00:00
mycroft f21e020e59 Clean up deleted files. 1994-08-01 22:57:01 +00:00
phil 787f57c486 name change. 1994-08-01 22:56:59 +00:00
phil 3ef27456a5 patches from Matthias Pfaller. 1994-08-01 19:32:52 +00:00
phil 9ef2196623 missed a f. 1994-07-31 15:50:52 +00:00
phil 1b0b6abb28 add target install to Makefile 1994-07-24 20:29:45 +00:00
phil 022d9d6300 Fix my sync() error in boot(). 1994-07-20 20:50:39 +00:00
cgd 3fbc338a62 define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi 1994-07-20 05:44:19 +00:00
phil eaaed0e51e removed a "debugging" printf in pagemove. 1994-07-13 15:09:15 +00:00
phil 741394dc40 Fixing the dumb swapdev bug. 1994-07-13 07:08:18 +00:00
phil 6d82a5754b I missed this change a while ago. 1994-07-10 17:21:56 +00:00
phil bfeb27c384 state save for config.new stuff 1994-07-01 04:25:48 +00:00
phil 9ccf79aae9 param.h: make #include conditional on KERNEL
vmparam.h: remove MINFREE ...
1994-07-01 04:25:20 +00:00
phil ec163683a8 State save on work to get config.new working. It is close. 1994-07-01 04:23:57 +00:00
phil 8c1fd46d99 <scsi/xxx.h> => "../../scsi/xxx.h" for use with old conf and "pc532 special
scsi."  As soon as config.new is working on the pc532, pc532/scsi should
disappear.
1994-06-30 01:12:44 +00:00
deraadt 50b13742e4 _MACHINE_VARGS_H_ 1994-06-29 00:45:01 +00:00
phil 55485b69fe Checkpoint: closer to having config.new working with the pc532 1994-06-26 15:00:39 +00:00
phil e64c23ff7e Checkpoint: closer to having config.new working with the pc532
These files should go away some day, but for now, to allow both
config and config.new to work at the same time ...
1994-06-26 15:00:06 +00:00
phil 2f40172e20 Checkpoint: closer to having config.new working with the pc532 1994-06-26 14:58:53 +00:00
phil c0c42e4703 Makefile: fs changes
others: Start move to config.new
1994-06-17 07:09:39 +00:00
mycroft 90c519034d Clean up deleted files. 1994-06-05 06:37:50 +00:00
phil c6d9e1ae96 Blow away last bits of icode. 1994-06-05 06:37:34 +00:00
phil 1c6336eec1 conf.c: new style
others: new init && clean up
1994-05-31 21:54:31 +00:00
phil dc474fc5fe new init 1994-05-31 21:53:31 +00:00
phil 3e6203f54d boot from ufs program from Phil Bunde. 1994-05-30 19:58:42 +00:00
phil 237b9f1381 We need one. 1994-05-26 23:48:00 +00:00
phil 80678da8e7 4.4 integration (VM and others) and cleanup. 1994-05-25 00:03:06 +00:00
phil 9a848c126d 4.4 integration 1994-05-25 00:02:24 +00:00
phil 0c2481bc69 Kill maxfdecs. 1994-05-25 00:00:48 +00:00
phil 42fb05a042 Various ... reg.h changes, bug fixes, cpu_switch, ... 1994-05-20 06:44:26 +00:00
phil a69b1b6104 Change defines so they won't conflict with other things. 1994-05-20 06:43:46 +00:00
phil 7b9d057505 Yet another one. 1994-05-20 06:43:12 +00:00
mycroft 08ac489a9e Clean up deleted files. 1994-05-17 17:31:43 +00:00
phil 54b24193e2 The "kitchen sink" update ... proc.h, signals, profile, setrq=>setrunqueue ... 1994-05-17 17:31:03 +00:00
phil 7d7d0eedfe moved pc532/pc532/icu.h to pc532/include. 1994-05-17 17:29:34 +00:00
phil b4d3cf9bc2 Removing minix hack. 1994-05-17 17:28:36 +00:00
cgd dd37e7f51f copyright foo 1994-05-17 02:17:17 +00:00
cgd 9b78e48fcf (almost) upgrade to latest versions, for phil 1994-05-17 02:12:16 +00:00
phil 4e523f8ddb clock.c/mem.c: real time clock detection fix/config change
pmap.c: zap mmap
1994-05-03 07:30:30 +00:00
phil cbe2aab3b2 changes for shared libs and fast ntoh*/hton* routines. 1994-05-03 07:29:37 +00:00
mycroft 650e19b16d Clean up deleted files. 1994-05-03 07:27:06 +00:00
phil 4cf1fbc402 configuration name changes, cleanup on the Makefile 1994-05-03 07:26:59 +00:00
phil 128ceab54f Sigh .. forgot to kill one .globl 1994-04-26 20:47:46 +00:00
phil fe9c815e20 using the "autoboot rom", the pc532 will now actually reboot ... locore.s can
now stop mapping and rerun the monitor as if the machine just had power
applied.
1994-04-26 20:46:40 +00:00
phil 6275189adf locore.s: attempts to get back to the pc532 rom monitor
machdep.c: debug cleanup and queues change
1994-04-25 18:13:41 +00:00
phil 8c0d7c128f Squash! Got that bug!
scn.c -- removing debugging on line 1
scnreg.h -- don't turn off the other line's interrupts!!
1994-04-21 22:31:32 +00:00
phil ac0d47bf4e Forgot the copyright. 1994-04-19 17:18:31 +00:00
phil da19ea4f05 changes for shared libs, new vm code, and debugging stuff for the
machdep.c routine that runs unmapped at the start of boot.  (The debugging
stuff should go away, but this is the 2nd time I had to write umprintf.c, so
I want it saved.)
1994-04-19 17:14:13 +00:00
phil b7685a8087 changes for shared libs ... now saving sb register (as I should have all along) 1994-04-19 17:11:16 +00:00
phil 6c6a8ee7de minor clean up. 1994-04-19 17:10:34 +00:00
phil a27d75afd8 patch to get sverre's disk working (Old scsi code) 1994-04-17 07:53:54 +00:00
phil e983a66a6c New format for shared libs. 1994-04-17 07:53:25 +00:00
phil 08cc626223 first (incomplete) attempt to get cts/rts working 1994-04-17 07:52:15 +00:00
mycroft bfe2b586a2 Clean up deleted files. 1994-04-17 05:45:47 +00:00
phil a30a1056dc Cleanup of configs and adding COMPAT_09 1994-04-17 05:45:40 +00:00
phil 374d83bd64 KTRACE and syscall debug clean up. 1994-04-06 06:33:21 +00:00
phil 951784dda0 genassym.c: %c => %d
trap.c: added __syscall
1994-04-05 17:37:41 +00:00
phil 76be62770b Old scsi code until the pc532 port can be made to use the new scsi code 1994-04-01 23:18:05 +00:00
phil f58e820881 autoconf.c,locore.c: changes for setroot()
disksubr.c: removing some debugging code
machdep.c: changes to boot() for file syncing (uncommenting an #if 0)
1994-04-01 23:16:54 +00:00
phil 3626d9a416 Makefile.pc532: removing work-arounds for minix
files.pc532: adding pc532/scsi to get temporary access to old scsi code
1994-04-01 23:14:54 +00:00
phil 5641eba25c various and sundry changes
bcopy.s: added ovbcopy / made bcopy same as ovbcopy
in_cksum.c: completely new (sparc version)
1994-03-22 00:18:25 +00:00
phil 130bf68fa5 ncr: try to get it to recognize slower devices
scn: mode it closer to i386 version
1994-03-22 00:15:21 +00:00
phil 1c6250a371 Small changes to get them current and useful. 1994-03-22 00:12:40 +00:00
phil 9c07c19e94 Adding a delay in the check processing that lets it find some slower devices. 1994-03-17 01:02:34 +00:00
cgd f5a57afb87 add basic integral types (a la sparc port) that new nvi wants. 1994-03-14 02:11:32 +00:00
mycroft dbe6344515 Clean up deleted files. 1994-03-10 21:40:07 +00:00
phil 41217f580c adding ovbcopy to bcopy.s and new random.c for network support.
disksubr.c removed dos type disklabel check, icu.h - splimp change
locore.s -- network changes
1994-03-10 21:39:56 +00:00
phil 92f7fca836 Allowing pseudo_dma and cosmetic changes. 1994-03-10 21:35:48 +00:00
phil 573413edb2 Various changes ... new file pc532/random.s, minor updates to config files 1994-03-10 21:35:14 +00:00
ws ce516ff13d Make FFS optional 1994-03-09 21:21:37 +00:00
phil 28a4cae003 Changes to add a real console driver. 1994-03-08 19:47:51 +00:00
phil 46dccadb76 Little changes ... locore => fixed a setrq bug that was causing kernel panics. 1994-03-01 22:23:15 +00:00
phil e082e0b31d Changes to get the first working scsi driver (ncr.c) for the pc532. 1994-02-23 07:59:03 +00:00
phil 08a88e813d Changes to get the "ncr" driver in the tree. Still trying to get a working
scsi driver.
1994-02-22 22:54:42 +00:00
phil bb05aff977 One more attempt to get the end of DMA stuff right for the dp driver. 1994-02-21 06:44:14 +00:00
phil d3751424a3 New snapshot of the dp files, scn changes due to change in ttioctl call. 1994-02-21 06:43:27 +00:00
phil df19e97b98 Changing the calls to hardclock and softclock to send pointers. 1994-02-02 08:04:30 +00:00
phil 8fbd63c63c Twiddles to keep the pc532 port compiling. 1994-02-02 08:02:45 +00:00
jtc 5235180083 Fix spelling error in Copyright notice 1994-01-28 23:43:26 +00:00
phil fe7f9b549e pmap.c: Fixing a pmap bug in that not enough page table directories were
allocated.
proc_machdep.c: catching up with current.
1994-01-28 03:47:57 +00:00
phil cb8ca38d99 Catching up with current. Basically a new file. 1994-01-28 03:44:07 +00:00
pk 24e4cb4bad move varargs stuff to arch/<machine>/include. 1994-01-27 00:18:18 +00:00
phil 951bc35247 added the missing semicolon. 1994-01-14 09:03:59 +00:00
phil 0e490a71f1 New file for ptrace support. Will be corrected for the pc532 soon. 1994-01-14 08:12:29 +00:00
phil 3a66f5a68b New file for ptrace support. Will have something in it someday. 1994-01-14 08:12:05 +00:00
phil 22b6f1e7f1 Changes to catch up with current. 1994-01-14 08:09:42 +00:00
phil 06a5cd70ad Changes for quad library and new ptrace stuff. 1994-01-14 08:09:15 +00:00
phil eb5b7eb72c Adding line for file proc_machdep.c (will become process_machdep.c when
NetBSD/532 is self hosting.)
1994-01-14 08:08:36 +00:00
phil 424b944426 Adding MACHINE_ARCH and changing MACHINE. 1993-12-05 06:50:39 +00:00
phil dacaea391c Updating for changes removing rtc from the pseudo devices. 1993-12-03 00:18:30 +00:00
phil 4e1f2bee45 Fixed documentation. 1993-11-04 07:58:55 +00:00
phil f3b1236dc8 State update, still not working. 1993-11-04 07:58:29 +00:00
phil 1859a602ad Adding extra relocation information for the pc532. 1993-11-02 21:14:10 +00:00
phil 2801e221f5 Final changes for RD_SIZE -> RAMD_SIZE. 1993-10-27 06:31:06 +00:00
phil a7a10ca319 Dealing with the "broken" _VA_LIST_ stuff. 1993-10-26 07:15:56 +00:00
phil a47d7aceed Adding the proper stuff that I forgot. (POSIX/ANSI) 1993-10-25 06:18:47 +00:00
phil 493236e982 making the "#ifndef _MACHINE_FILE_H_" more complete and consistent. 1993-10-25 06:11:58 +00:00
phil d5540a64d1 Added support for making libkern.a. 1993-10-20 23:53:26 +00:00
pk 14e6ea89aa Put definition of __LDPGSZ and `struct relocation_info' where they belong:
in <machine/exec.h>.
1993-10-18 09:46:56 +00:00
phil 5df59aabeb Changes for ram disk specification. 1993-10-15 22:46:46 +00:00
phil b43476d41c Changing a bsd => bsr. 1993-10-11 18:23:17 +00:00
phil 61a498a571 Fixing the SCSI DMA EOP problem. 1993-10-05 21:37:02 +00:00
phil 46cc20d10e Fixed bug in calculation of nbuf and bufpages. 1993-10-04 16:09:28 +00:00
phil b8234df3d9 Catching up with NetBSD current. 1993-10-01 23:01:01 +00:00
phil 404b011213 Updating to current versions. Still not working. 1993-10-01 22:59:31 +00:00
phil 893cab1278 Adding ../libkern.a to the link phase. 1993-09-23 18:25:14 +00:00
phil 3b4c805248 Various changes, including new ptrace support and modified exec support.
Some clean-up of code is done.
1993-09-13 07:26:47 +00:00
phil 5e277797c4 A change for new ptrace support. 1993-09-13 07:25:44 +00:00
phil 663f916d6d Getting past a bug that caused a "free: multiple frees" panic.
This should not be final code.
1993-09-13 07:25:06 +00:00
phil d3da2305a5 following changes in ????pager stuff. 1993-09-13 07:23:45 +00:00
phil 23830f084c Getting the correct MID value. 1993-09-12 06:26:13 +00:00
phil b8dd804aaf Changed MID_NS32K to the correct MID_PC532. 1993-09-10 20:02:11 +00:00
phil e401483244 Adding the src/sys/arch/pc532 tree. 1993-09-09 23:53:45 +00:00