fvdl
1a260961e0
Add prototype for _mcount, to make this compile with warnings on.
1996-12-04 00:04:40 +00:00
fvdl
380174248f
Change asm.h to make it usable for kernel profiling as well.
...
Make mcount() a prototype in profile.h
1996-12-04 00:03:41 +00:00
fvdl
1f758a1a78
Change CPU recognition code to know more types, and make it changeable
...
easier when new types arrive.
Locore: make profiling work for some functions; use <machine/asm.h>
(from Jonathan Stone)
1996-12-03 23:59:25 +00:00
fvdl
2775763610
Added types/definitions for changed CPU recognition code.
1996-12-03 23:54:54 +00:00
cgd
a06362dc8e
do_sir lowers the IPL itself, now
1996-12-03 19:54:16 +00:00
cgd
b74e03da21
fix a couple of bogons in the last two, and clean up slightly
1996-12-03 19:52:58 +00:00
thorpej
15dc36463a
We use C flavors of the quad support functions in libkern.
1996-12-03 19:35:42 +00:00
cgd
882fa5a35d
try that last one again.
1996-12-03 18:11:40 +00:00
cgd
156fe546d2
kill siroff() and resturcture do_sir() to be cleaner and more correct.
1996-12-03 17:34:47 +00:00
cgd
a04fb885d8
clean up SCSI devices
1996-12-03 17:25:27 +00:00
mikel
83c1bcfa17
fix some typos.
1996-12-03 06:14:40 +00:00
thorpej
3ae1a191dc
Recognize the HP ScanJet 4p, per PR #2663 (Kenneth Stailey).
1996-12-03 01:25:53 +00:00
cgd
38cbb3213c
Fix up includes so that up-to-date versions of 'config' can be used
...
to config pmax kernels. Not all kernels can actually be config'd because
of device declaration problems, but i don't know how to fix those.
1996-12-03 01:18:17 +00:00
thorpej
6aaaad08d2
syscalls.master changed; regen.
1996-12-03 00:30:59 +00:00
thorpej
f85bef61f1
Include sys_getfh() if NFSSERVER || NFSCLIENT.
1996-12-03 00:28:31 +00:00
thorpej
f02e8b3cf0
Make NFSSERVER work without NFSCLIENT. This is achieved by splitting
...
the client and server/shared data initialization into separate functions,
and calling the server/shared initialization directly from main().
Problem noted in PR #1308 (Kenneth Stailey) and PR #1780 (Chris Demetriou).
Fix suggested in PR #1780 by Chris Demetriou, and munged a bit by me,
and OK'd by Frank van der Linden <fvdl@netbsd.org>.
1996-12-03 00:22:43 +00:00
thorpej
aa25de69d1
NFS performance improvement from Doug Rabson/FreeBSD:
...
Improve the queuing algorithms used by NFS' asynchronous i/o. The
existing mechanism uses a global queue for some buffers and the
vp->b_dirtyblkhd queue for others. This turns sequential writes into
randomly ordered writes to the server, affecting both read and write
performance. The existing mechanism also copes badly with hung
servers, tending to block accesses to other servers when all the iods
are waiting for a hung server.
The new mechanism uses a queue for each mount point. All asynchronous
i/o goes through this queue which preserves the ordering of requests.
A simple mechanism ensures that the iods are shared out fairly between
active mount points.
Reviewed/integrated/approved by Frank van der Linden <fvdl@netbsd.org>
1996-12-02 22:55:39 +00:00
cgd
81e9bda988
convert to use bus_space_set_region_2() and bus_space_copy_2(), rather
...
than in-line clear and copy loops.
1996-12-02 22:24:54 +00:00
cgd
30b636bd09
implement bus_space_copy_*().
1996-12-02 22:19:32 +00:00
thorpej
7d4d4753a8
Implement a simple scsi xfer queue to avoid presenting a resource
...
shortage to the upper scsi layers, which don't (yet) deal well with
resource shortages.
1996-12-02 19:06:41 +00:00
thorpej
ccd0b4ef52
Change MAXBSIZE back to MAXPHYS, fixes PR #1718 , from cgd@netbsd.org.
1996-12-02 07:30:29 +00:00
cgd
256cf234a1
move barrier operation definition closer to the top of the bus space ops
...
structure. In the implementations, allow the barrier op to be inlined.
1996-12-02 07:07:18 +00:00
cgd
54ba942f79
implement bus_space_set_multi_* and bus_space_set_region_* operations.
1996-12-02 06:46:49 +00:00
cgd
e6bafb00d6
declare the single-datum read and write methods as inline, so that
...
the multi and region methods can inline them.
1996-12-02 06:12:39 +00:00
thorpej
c164cadf68
Convert to use <machine/bus.h>
1996-12-02 05:44:17 +00:00
thorpej
3883cff7fb
Oops, bus_space_set_{multi,region}_N() is supposed to have an `offset'
...
argument. Add one to the `prototype' in the comment which preceeds
`not implemented' :-)
1996-12-02 05:35:13 +00:00
pk
0d4df7bdb3
Handle T_IDIV0 like T_DIV0.
1996-12-01 23:21:07 +00:00
pk
08b929f619
trap 0x2a: divide by zero for hardware [su]div instruction.
1996-12-01 23:19:00 +00:00
leo
91c17fedfa
The atari has a pci_machdep.h file.
1996-12-01 21:02:18 +00:00
pk
bd9ec27d9e
kvprintf => vprintf (PR#2989, Juergen Hannken-Illjes).
1996-12-01 20:22:19 +00:00
veego
eedc299567
Fix typo in the last revision (missing S in ${COPTS}).
1996-12-01 12:10:07 +00:00
jonathan
4c1d96de78
* Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
...
Lets users over-ride with makeoptions COPTS="..." in kernel config files.
Leave `mandatory' flags (like -msoft-float which on m68k enforces no
FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
jonathan
e038926656
Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
...
Lets users over-ride with makeoptions COPTS="..." in kernel config files.
1996-12-01 03:23:04 +00:00
jonathan
51194cb458
Fix #ifdef DEBUG prinf() lint: bp->b_bcount is long, not int.
1996-12-01 00:43:45 +00:00
is
07e5135a49
Add the bootblock code to list of things made here.
1996-11-30 20:34:58 +00:00
is
6e8898adbd
Get it into the main branch... it was added only to netbsd-1-2 by mistake.
1996-11-30 20:31:39 +00:00
jtk
15aad8e10b
forgot to regenerate these after committing pcidevs for its NetBSD header tag
1996-11-30 15:16:22 +00:00
gwr
033eec34ec
Oops... get the vprintf prototype right.
1996-11-30 04:35:51 +00:00
gwr
ecfe88202c
Add declaration for vprintf.
1996-11-30 04:20:14 +00:00
gwr
dfc25d8ab4
Finish the kprintf backout: kvprintf -> vprintf was missed.
1996-11-30 04:19:21 +00:00
jtc
9da5f60715
PROF -> GPROF
1996-11-30 02:48:57 +00:00
jtc
6621382048
Sync with libc
1996-11-30 02:06:27 +00:00
jtk
6f602476b2
tabstop corrections, thanks to Paul Kranenburg
1996-11-30 01:45:39 +00:00
is
86b68e0c38
The DraCo MF-II to Amiga translation table is const-ant.
1996-11-30 01:30:37 +00:00
is
ca9770feb9
Make sure autoconfiguration is searching for _us_. There is more than
...
one DraCo specific device on the DraCo mainbus.
1996-11-30 01:27:04 +00:00
is
e4b7d761cc
Switch off some more interupts on startup; switch off drcom interupts
...
at the right offset.
1996-11-30 01:20:14 +00:00
is
aa13cab86c
Forgotten changes needed for the drcom driver.
1996-11-30 01:13:05 +00:00
is
19acf65808
com.c variant for the 16550 core on the DraCo superio chip.
...
drisavar.h pretends to provide a few bus.h macros, hardwired to
that chip.
This should eventually be replaced by attachment code for the normal
com.c driver, once that one is split up into chip core driver and
attachment code, and once we have busxxx macros in NetBSD/Amiga.
1996-11-30 00:43:02 +00:00
is
ff0ad9cabb
Variable spltty a la Jason Thorpe. Needed for the DraCo variant of com.c.
1996-11-30 00:33:49 +00:00
is
9035d87865
Support for DraCo superio chip: level 5 interupt queue; amiga_ttyspl
...
variable (we need to set ttyspl to spl5 when the DraCo serial is active).
1996-11-30 00:29:38 +00:00