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