mrg
718a70d239
oops; rd -> md paul left behind...
1996-12-31 07:12:43 +00:00
scottr
8a30e067ed
Sync COMPAT_SUNOS trace trap handling with other m68k ports; no
...
functional change.
1996-12-31 06:32:17 +00:00
oki
4c16b00300
#include "..." --> #include <...>
1996-12-31 00:35:21 +00:00
gwr
1468d5102b
Remove some junk.
1996-12-30 21:13:50 +00:00
gwr
b3adae991a
Fix warnings.
1996-12-30 21:12:01 +00:00
jonathan
2d9783cc79
Remove {GENERIC,INST}{ADP,OTHER}: split Adaptec {ADP} and other-scsi {OTHER}
...
{GENERIC,INSTALL} config files, respectively.
The BusLogic SCSI driver no longer accepts Adaptec 154x devices,
making the split kernels unecessary.
1996-12-29 07:28:53 +00:00
pk
3bbf01bfb7
rename: ramdisk => md
1996-12-28 23:53:10 +00:00
pk
c4a0dfb011
omission in last commit: ramdisk.h => md.h
1996-12-28 23:50:44 +00:00
pk
f750d179be
rename: ramdisk => md
1996-12-28 23:42:33 +00:00
leo
aae827a845
- The Hades bios does not pass a 'bootpreference' in d5. Deal with it by
...
getting the 'bootpreference' ourselves when it is not set to any legal
value.
- Because the relation between memtop/membot and the video base does not
hold on the Hades, skip testing on it.
1996-12-28 23:37:53 +00:00
pk
a8b4babc16
rename: ramdisk => md
1996-12-28 23:37:26 +00:00
pk
d5b11782b5
rename: ramdisk => md
1996-12-28 23:27:00 +00:00
leo
223682435b
Oops, this one was missed in the BROKEN_INDIRECT_CONFIG cruisade.
1996-12-28 23:26:36 +00:00
pk
603b61c3e0
rename: ramdisk => md
1996-12-28 23:22:07 +00:00
pk
114271a083
rename: ramdisk => md
1996-12-28 23:10:44 +00:00
matthias
e16e1de8fd
* remove NKPDE, this was never used.
...
* add IV_MASK (new member of struct iv) and IV_SIZE (sizeof(struct iv)).
1996-12-28 09:15:27 +00:00
pk
31045b4490
Annul __builtin_classify_type' and
__extension__' if __lint__.
1996-12-27 20:55:28 +00:00
pk
be41891152
For now, define __indr_reference' and
__warn_references' as empty
...
macros if __GNUC__ not defined.
1996-12-27 20:51:31 +00:00
pk
269e64e16b
asm => __asm__
1996-12-27 20:48:56 +00:00
mark
adfe1faa81
Removed bogus devices.
1996-12-27 02:04:45 +00:00
mark
ad3eed8ce3
Fixed PPP soft interrupts.
...
Make sure soft interrupts are only every delivered when the interrupt
depth is 1.
1996-12-27 02:01:02 +00:00
mark
77f7e266f1
Added a definition for the maximum amount of kernel VM space buffers can
...
occupy.
1996-12-27 01:55:48 +00:00
mark
2cfb4cba1e
Added temporary fix for excessive VM memory allocation for buffers.
1996-12-27 01:53:41 +00:00
mark
cc3383de63
Fixed a couple of STM^ instructions lurking in the FPE core.
1996-12-27 01:46:07 +00:00
mark
02d0fd2ea5
Added function fpe_set_execption_mask() to allow the FP exception mask
...
to be manipulated.
During initialisation the exception mask is set to allow divide by zero
and overflow exceptions to be signaled.
1996-12-27 01:39:14 +00:00
leo
c4b08fe059
Add intr_establish/disestablish functions. Currently only the lpt-driver
...
is converted to use them...
1996-12-26 23:25:01 +00:00
leo
112a968fb4
Make sure that the caches are pushed and turned off before jumping into
...
the kernel image. This makes booting a 040 kernel finally reliable.
1996-12-26 15:07:33 +00:00
leo
0b4a540e3b
Correct the IDE port-addresses and data transfer method so this will work
...
both Hades & Falcon.
1996-12-26 14:55:16 +00:00
jonathan
18a537d1da
Pander to "kernel_text" kludge.
1996-12-23 15:27:47 +00:00
veego
94b6312429
Get rid of __BROKEN_INDIRECT_CONFIG.
1996-12-23 09:09:49 +00:00
matthias
92a5d4d222
* We no longer have a scsi subdirectory. Remove it from the list of
...
directories in which get tag links.
1996-12-23 08:38:02 +00:00
matthias
2e7cb22267
* Use bcopy, not memcpy.
1996-12-23 08:37:55 +00:00
matthias
54e6abd9e7
* Remove __BROKEN_INDIRECT_CONFIG.
1996-12-23 08:37:43 +00:00
matthias
4bd938a998
* Remove IPL_NONE. This is no longer used.
...
* Add IPL_HIGH. Alias IPL_HIGH to IPL_RTTY
* Define splrtty (used by the scn driver).
* Add iv_level and iv_mask to struct iv. These define the IPL at
which the handler should run.
* intr_establish now takes *two* ipls. One at which the handler should run,
and one in which the interrupt should get blocked.
1996-12-23 08:37:41 +00:00
matthias
b01c5dfbcb
* Define NKPDE_BASE, NKPDE_MAX and NKPDE_SCALE for boottime computation of
...
nkpde (From the i386 port).
1996-12-23 08:37:38 +00:00
matthias
b30b4f9fcf
* Define new sysctl variable "machdep.nkpde" (From the i386 port).
1996-12-23 08:37:37 +00:00
matthias
41cc99aa8c
* Rearange duart_info and add hwflags to store uart type (Ian Dall).
...
* Define SCN_RING_HIWAT and add sc_rbhiwat to scn_softc. When the
ringbuffer gets full up to this mark, rts gets asserted (Ian Dall).
* Add sc_rx_blocked to scn_softc. This is used to tell scnsoft that
rxinterrupts are blocked (Ian Dall).
1996-12-23 08:37:11 +00:00
matthias
2c7e970491
* Define the bits in MR0 for the SCC26C92 (Ian Dall).
...
* Define SCC26C92-only commands (Ian Dall).
1996-12-23 08:37:10 +00:00
matthias
b080d4fea0
* Match functions take a "struct cfdata *" as their second argument.
...
* intr_establish now takes *two* ipls. One at which the handler should run,
and one in which the interrupt should get blocked.
All the following changes were provided by Ian Dall:
* Remove SCN_HSOFT. Now that the pc532's software interrupt system is running
from int14, this won't work anymore.
* Add code to detect uart type (SCN2681, SCC2692 or SCC26C92).
* Cleanup my RECOVER mess. Thank's to Ian Dall for reading the datasheet
and removing all the unnecessary RECOVERs.
* Cleanup scnrxintr.
* Implement scnhiwflow.
* Do not use automatic RTS. This and scnhiflow and some changes to the
interrupt system suggested by Ian fix the scn overrun problem at 57600
baud.
1996-12-23 08:37:07 +00:00
matthias
70597563c6
* Match functions take a "struct cfdata *" as their second argument.
...
* intr_establish now takes *two* ipls. One at which the handler should run,
and one in which the interrupt should get blocked.
* Make transfersize configurable for input and output. Default the input
transfersize to 128 bytes. That way interrupts won't be disabled for more
then about 128us-256us for slow targets. This is necessary to prevent scn
fifo overruns. Cleanup the pdma code. Thank's to Ian Dall for these
changes.
1996-12-23 08:37:04 +00:00
matthias
c3f3bc0228
* Match functions take a "struct cfdata *" as their second argument.
...
* intr_establish now takes *two* ipls. One at which the handler should run,
and one in which the interrupt should get blocked.
1996-12-23 08:37:02 +00:00
matthias
7736d33def
* membus is now called mainbus.
1996-12-23 08:36:43 +00:00
matthias
b6f24c53a9
* Use std.pc532.
...
* Remove obsolete options CONFIG_NEW and CON_BRK_PANIC.
1996-12-23 08:36:40 +00:00
matthias
a6953fcdd8
* membus is now called mainbus.
1996-12-23 08:36:37 +00:00
matthias
d949824775
* Use std.pc532.
...
* Make it work on 30mhz machines.
* Configure MSDOSFS, CD9660, KERNFS, NFSCLIENT and INET.
* Configure SCSI-cds, slip and ppp.
* Update for mi ramdisk driver.
1996-12-23 08:36:36 +00:00
matthias
bddb87af16
* Configure UNION and NULLFS. UNION doesn't seem to work as a lkm yet.
1996-12-23 08:36:33 +00:00
matthias
181cf4f705
* Use std.pc532.
...
* Make it work on 30mhz machines.
1996-12-23 08:36:31 +00:00
matthias
553486636e
* Define and use nkpde.
1996-12-23 08:36:11 +00:00
matthias
15e824377a
* Add code for CPU_NKPDE sysctl.
...
* Compute nkpde at boottime.
1996-12-23 08:36:08 +00:00
matthias
eb68ad8281
* Recode _interrupt to use IV_MASK.
1996-12-23 08:36:05 +00:00
matthias
99cc2dd46d
* Initialize IPL_HIGH's imask to 0xffffffff.
...
* Initialize iv_level for all interrupts.
* Protect the call to the sir-handler with splraise.
* intr_establish now takes *two* ipls. One at which the handler should run,
and one in which the interrupt should get blocked.
* Compute iv_mask for all interrupts in intr_establish.
1996-12-23 08:36:02 +00:00
matthias
c1921b48eb
* intr_establish now takes *two* ipls. One at which the handler should run,
...
and one in which the interrupt should get blocked.
1996-12-23 08:36:00 +00:00
matthias
9d6e666ea7
* Rename membus to mainbus.
...
* Remove config_scan. Thank's to Chris G. Demetriou for providing patches.
1996-12-23 08:35:57 +00:00
pk
bb12d8fd9a
Prevent `unused function' warning (from Robert Evans; PR#2770).
1996-12-23 01:46:30 +00:00
fvdl
468d71d6f9
Add kernel_text symbol (from Jonathan Stone)
1996-12-22 23:05:31 +00:00
veego
26f6e45d39
Fix a typo: s/COPT/COPTS/
1996-12-22 19:14:14 +00:00
cgd
0396cad668
if __lint__ is defined, #define __builtin_saveregs() and
...
__builtin_classify_type() into harmless values, so that lint doesn't
get confused, think they're real functions, and that they're being
invoked in the wrong ways.
1996-12-22 08:57:23 +00:00
cgd
50cb6df652
for now, -Wcast-qual is just not practical in the kernel
1996-12-22 08:33:19 +00:00
thorpej
e2c6ed87ec
Fix several semantic bugs:
...
- Always allow RAW_PART to be opened, regardless of the partition table.
- Never do partition translation on RAW_PART; it's always offset 0.
- Always make sure the disklabel is read from RAW_PART.
- Make *strategy() return values consistent.
This fixes a condition where a bogus partition table could be written
to the disk from SYS_INST, and the user had no way to rewrite with
a correct partition table, since RAW_PART would be invalid.
1996-12-21 21:34:40 +00:00
thorpej
0d58626f72
This wasn't just a spelling error... I invented a whole new word!
1996-12-21 21:23:43 +00:00
thorpej
e34f47039d
XXX Stop-gap for larger MAXBSIZE: limit nbuf to 128, so we don't chew
...
XXX up all of the available pmegs lower-model SPARC CPUs.
1996-12-21 06:21:56 +00:00
veego
c815213b05
Disable CD debug output.
1996-12-20 19:21:11 +00:00
veego
35d44f12b7
- Move SWAPPAGER, VNODEPAGER and DEVPAGER to std.draco.
...
- Remove not working KGDB.
- Remove unused PANICWAIT.
- Add ch and uk devices.
1996-12-20 19:18:16 +00:00
veego
acad9272a8
- Move SWAPPAGER, VNODEPAGER and DEVPAGER to std.amiga.
...
- Remove not working KGDB.
- Add a warning for KBDRESET.
- Add ch and uk devices.
1996-12-20 19:16:20 +00:00
veego
6b9a665130
Add SWAPPAGER, VNODEPAGER and DEVPAGER
1996-12-20 19:15:06 +00:00
veego
cc5a862135
- Add ch and uk devices.
...
- Change the ss device number from 25 to 37,
ATTENTION: you need to rerun /dev/MAKEDEV to update your devices files.
1996-12-20 17:16:49 +00:00
leo
c6e901c459
Get rid of BROKEN_INDIRECT_CONFIG
1996-12-20 16:20:57 +00:00
leo
291ced55a4
Get rid of BROKEN_INDIRECT_CONFIG
1996-12-20 12:49:35 +00:00
jtk
6afa1586ff
repair fdopen() to allow multiple opens at same density (was broken with fdformat)
1996-12-20 12:21:48 +00:00
jonathan
a2715c2ce6
Clone INSTOTHER to INSTALL, with both Adaptec and other SCSI controllers.
1996-12-20 06:45:15 +00:00
scottr
e8b8d1b050
Clean up a few bogons+typos introduced in the removal of the broken indirect
...
config code.
1996-12-19 21:48:17 +00:00
cgd
fc841ac711
__asm rather than asm, to make lint happy without -g
1996-12-19 09:13:44 +00:00
leo
421158437b
Tweak the clockframe structure a bit so we are able to save a few cycles
...
at interrupt time. (From Gordon Ross).
1996-12-18 12:35:19 +00:00
scottr
9d67345760
Correct asm operands in mrg_Delay(); it has one output operand, and no
...
input operands. This corrects an uninitialized variable warning, and
may also explain some erratic behavior of the MRG ADB; gcc could throw
away the value of the `ticks' variable (but I haven't traced through
any ROMs, myself).
1996-12-18 07:21:06 +00:00
scottr
3ac126bc23
Work around another uninitialized variable warning
1996-12-18 05:44:31 +00:00
scottr
94714822e7
Work around another gcc initialization warning.
1996-12-18 05:17:44 +00:00
scottr
affc68cf0c
Work around another bogus uninitialized warning, and fix a legitimate one.
...
Clearly mark the former.
XXX The bogus warnings show up with -O, but not -O2. Unfortunately,
NetBSD/mac68k can't (yet) use -O2.
1996-12-18 05:04:22 +00:00
scottr
e70f884a92
Fix the potentially uninitialized variable in clear_screen() (correctly
...
pointed out by gcc -Wall).
1996-12-18 03:06:06 +00:00
scottr
e330279eea
Work around uninitialized variable warning
1996-12-18 02:54:43 +00:00
cgd
c591d26932
update for recent com.c changes: delete references to now-nonexistant
...
comconsinit variable.
1996-12-17 23:21:53 +00:00
gwr
3da720dfd1
Adapt to the new version of dev/ic/z8530*
1996-12-17 22:30:13 +00:00
gwr
55d81fe0c2
Adapt to the new version of dev/ic/z8530*
...
(Note: now define zsc_softc here.)
1996-12-17 22:26:07 +00:00
gwr
7a5585d645
Make sure the MDP_STACKADJ flag is cleared in p->p_md.md_flags
...
Do this in both machdep.c:setregs() and trap.c:(end of syscall)
for now. Need more analysis to see what is the best way...
Fixes PR#3034 (Thanks very much to Ian Dall for the fix!)
1996-12-17 21:35:30 +00:00
gwr
3cc81b9726
Add a diagnostic to panic when obio config data has a
...
default address, which is no longer supported on obio.
1996-12-17 21:21:13 +00:00
gwr
0c5e3e4955
Make this compile with -Werror -Wall -Wstrict-prototypes
...
(finally! yea!) Also get rid of __BROKEN_INDIRECT_CONFIG
1996-12-17 21:10:35 +00:00
gwr
282e39f88d
Adapt to the new version of dev/ic/z8530*
...
(Note: now define zsc_softc here.)
1996-12-17 21:00:54 +00:00
gwr
ac4b9ad819
The declarations for cache_flush_xxx are now in machdep.h
1996-12-17 20:55:28 +00:00
gwr
2140ee3fb9
The declarations for isr_add_xxx are now in autoconf.h
1996-12-17 20:54:23 +00:00
gwr
1169ecb0a2
Adapt to the new definition of struct zsc_softc
...
(the zsc_cs[2] members are now POINTERS!)
Also fix warnings...
1996-12-17 20:46:11 +00:00
gwr
b8c288d184
Fix warnings.
1996-12-17 19:27:51 +00:00
gwr
661c8f1ae0
CTL_MACHDEP definitions. (Common to all m68k ports.)
...
This should be included by each m68k port's cpu.h so
/usr/sbin/sysctl can be shared on all of them.
1996-12-17 19:26:51 +00:00
gwr
a25e8be772
Add prototypes for process_read_regs, etc. (fix warnings)
1996-12-17 19:24:31 +00:00
scottr
1460fbef53
Remove -Werror for now (sigh). Somehow this slipped through several
...
kernel compiles without getting caught. Lame gcc optimizer bug.
1996-12-17 13:58:26 +00:00
is
b71e65949f
Make clock an early configuration device, configured before early console
...
configuration. This way, the delay loop is calibrated before graphics and
serial hardware is touched.
This change should smooth pr 2890 by Thorsten Frueauf (also privately
reported by Laurent Badoukh). While the real problem with those is the
paranoically high delay() calls in the grf_cl initialization, it was made
even more visible by the miscalibrated (to the save side) new style delay
loop.
1996-12-17 11:43:10 +00:00
is
fd832b27d2
- Fix a edito in the m68060 support trap counting. (Hint: run "make regress",
...
even if you "really didn't change anything dangerous" :-)
- While we're here, save a few bytes and clock cycles during kernel startup:
cinva ic clears the branch cache on the 68060, no need to do it explicitly.
1996-12-17 11:09:10 +00:00
thorpej
c0c07cd30e
Always use `SLOWSCSI'. Some devices need a long delay between phase
...
changes, apparently. This is reported to work around some odd failures
people were seeing during first-time installation onto a SCSI disk.
1996-12-17 09:21:42 +00:00
thorpej
7373a43fcf
Generate initial copies of these files.
1996-12-17 09:01:24 +00:00
thorpej
838edf78fd
Snapshot of new config for NetBSD/hp300. This isn't quite finished yet.
...
We're about 75% there. SCSI and HP-IB are not yet supported in a new
config kernel; some autoconfiguration hackery has to be done there, yet.
These changes are enough to network boot a diskless kernel.
New config glue is enabled with the "NEWCONFIG" kernel option. If that
option is not present, an old config kernel will be built. Any kernel
configured with config(8) will automatically pick up the NEWCONFIG
option from std.hp300.
1996-12-17 08:40:56 +00:00
thorpej
7b4ca2ebe5
Kill __BROKEN_INDIRECT_CONFIG
1996-12-17 08:11:50 +00:00
scottr
5b7c2842ae
Take avantage of COPTS appropriately.
1996-12-17 07:33:01 +00:00
is
9df370b3f3
Switch on branch prediction on the 68060. Also add some instrumentation
...
for branch prediction errors (could be used to detect strange binaries),
integer instruction, FP instruction, FP data type and FP effective address
emulations. The latter can be used to diagnose binaries which should be
recompiled with -m68060.
XXX Maybe these diagnostics should be switchable by sysctl or
XXX options DIAGNOSTIC.
1996-12-17 07:32:52 +00:00
scottr
1999f88fac
Add sample sbc config line; format 'options' lines for consistency.
1996-12-17 07:22:30 +00:00
scottr
e9ce47936c
Add -Werror, remove -Wno-uninitialized.
1996-12-17 07:04:21 +00:00
scottr
a7dc02ac8a
Remove __BROKEN_INDIRECT_CONFIG, since we are no longer broken.
1996-12-17 07:00:12 +00:00
scottr
07bde0d4e7
Revamp mainbus and obio autoconfiguration, with some direction (and the
...
indirect bus code framework) from Jason Thorpe. This allows us to dump
bus_scan() and bus_print(), and move bus_peek() and bus_mapin() to the
NuBus code (since they'll eventually go away, anyway).
1996-12-17 06:47:37 +00:00
scottr
b96c3097ed
Define struct nubus_attach_args
1996-12-17 03:56:11 +00:00
jonathan
c66d855eb2
Configure pmax elf_machdep.h as little-endian elf.
1996-12-17 03:45:05 +00:00
thorpej
01daecba3a
Implement pci_decompose_tag().
1996-12-17 01:55:56 +00:00
leo
9f8a5d9694
Move up the initialisations for the delay routine in the initialisation
...
process. It's now also available to the different device probes.
1996-12-16 22:03:23 +00:00
leo
dff699a434
The file hdfd_intr.s should only be included in conjunction with the
...
Hades floppy driver.
1996-12-16 21:25:45 +00:00
leo
de3b8c8e4b
Implement an rtc-device. Credits for the idea goes to Wolfgang Solfrank.
...
Because there is no way yet to tell init(1) to execute commands before
single user-mode is entered, the inittodr() function is still partly
functional. It retrieves the value of the RTC and sets the time as if
the RTC was running at UTC. The resettodr() function is a No-Op. The
RTC can only be changed by a write to /dev/rtc.
The TIMEZONE and DST options are no longer needed and removed from the
config files.
1996-12-16 21:24:00 +00:00
cgd
693a05816e
disable weak aliases in libc until something actually uses them. When
...
using __weak_alias in libc, __indr_reference should probably be defined
to do nothing (but defined, so that duplicate functions/variables aren't
compiled). However, when not using __weak_alias, __indr_reference causes
them to be omitted completely, which is a lose. So, until weak aliases
are going to be used, don't define __weak_alias or __indr_reference.
1996-12-16 21:01:55 +00:00
is
af2691cdb5
The original docs for the Phase 5 Development SCSI boards had a edito,
...
making me think that the Blizzard-IV and the Blizzard-2060 scsi
options have nearly identical DMA engines (just with a different
address offset). Alas, this isn't true.
Herewith I replace the "bznsc" (all-new-Blizzard-models) driver with the
"bztzsc" (Blizzard Two Zero).
1996-12-16 16:17:27 +00:00
scottr
9b4055eb72
Convert all foo_match() functions to use a `struct cfdata *' for their
...
second argument. The NuBus autoconfig code had to be reorganized as a
result of this, and looks much more like a directly-attached bus now.
These changes eliminate __BROKEN_INDIRECT_CONFIG.
1996-12-16 16:17:02 +00:00
gwr
31a2dbff56
No longer used.
1996-12-14 15:51:31 +00:00
leo
c473681077
Remove some code accidently checked in on previous commit.
1996-12-14 13:52:01 +00:00
leo
2d4e2c3931
Fix type (COPT -> COPTS).
1996-12-14 13:48:29 +00:00
leo
ae092ee765
Merge the formatting code from the i386-port.
1996-12-14 13:47:12 +00:00
cgd
6fbbbb1eb2
add endianness constants, relocation types
1996-12-14 05:46:13 +00:00
gwr
250c59b7a6
Files with just an include line do not need a wrapper.
1996-12-13 20:23:51 +00:00
gwr
5eaee56ccf
Increase MAXMCAST from 50 to 250 (to match dev/ic/i82586.h).
1996-12-13 19:54:08 +00:00
gwr
5736d8f544
Kill some dead code.
1996-12-13 19:50:10 +00:00
gwr
6d6e6e45e0
Define MAXBSIZE as 32KB to limit the size clustered transfers.
1996-12-13 19:46:14 +00:00
thorpej
9a8786f719
Clean up cpu_startup() a bit:
...
- move data structure allocation into a new function, allocsys(), like
the i386 port.
- garbage-collect the BUFFERS_UNMANAGED code.
1996-12-11 16:49:23 +00:00
thorpej
f82a494e0f
Fix typo in comment.
1996-12-11 09:10:38 +00:00
pk
9b87837f21
Panic if `auxreg' is requested but is not there. Not much we can do about
...
users of AUXIO_REG; they'll die with a data fault.
1996-12-11 00:51:06 +00:00
pk
2f296724a8
Not all sun4m's have an `auxio'.
1996-12-10 23:24:56 +00:00
pk
e0df2a7e78
Kill __BROKEN_INDIRECT_CONF.
1996-12-10 23:19:38 +00:00
pk
3f316d7783
Comply with recent autoconfiguration changes. Diffs graciously supplied
...
by Chris Demetriou.
1996-12-10 23:19:13 +00:00
pk
841d1ec634
Comply with recent autoconfiguration changes. Diffs graciously
...
supplied by Chris Demetriou.
1996-12-10 22:54:46 +00:00
thorpej
d502e68402
Fill in sc_link.max_target
1996-12-10 21:27:16 +00:00
cgd
e4f6e48c7d
kill the last vestiges of __BROKEN_INDIRECT_CONFIG.
1996-12-10 19:33:51 +00:00
mycroft
6efa67cb69
Use RELOC() to access _myea.
1996-12-10 18:41:00 +00:00
mycroft
a1f3d20e2c
Minor twiddle; _prototc is only 4 bytes, not 8.
1996-12-10 18:33:51 +00:00
pk
92c4c71040
Finish import of floppy formatting code; not really usable yet, lots of
...
data overruns.
1996-12-10 14:44:53 +00:00
tls
6083cacd31
fix very misleading comment
1996-12-10 05:28:15 +00:00
fvdl
b3418365a1
Make sure KVM used by buffer cache doesn't exceed VM_MAX_KERNEL_BUF.
...
XXX stopgap measure.
1996-12-09 22:51:55 +00:00
fvdl
3dc301ff58
Include VM_MAX_KERNEL_BUF constant to put a cap on buffer cache KVM usage.
...
Override via config file possible.
XXX this is a stopgap measure.
1996-12-09 22:49:42 +00:00
is
d524505ef7
It turned out that my orginal docs were wrong wrt. Blizzard IV
...
scsi... it is NOT nearly identical to the Blizzard 2060 scsi option.
Make the name reflect this. Driver cleanup will follow.
1996-12-09 18:17:40 +00:00
thorpej
ef5333043b
Copyright assigned to The NetBSD Foundation.
1996-12-09 17:46:44 +00:00
thorpej
66cbbf68ff
Copyright assigned to The NetBSD Foundation.
1996-12-09 17:35:24 +00:00
is
f95e0398cc
New version by Jukka Marin <jmarin@pyy.jmp.fi>, with rewritten (to fix
...
problems) carrier detect code. Slightly cleaned up by Bernd Ernesti
<veego@netbsd.org>
1996-12-09 17:24:55 +00:00
oki
6281db6925
Use config_search() instead of config_scan(),
...
by Chris G Demetriou, tested by me.
1996-12-09 16:12:19 +00:00
oki
d27890041b
CACHE4_OFF --> CACHE40_OFF, compile again.
1996-12-09 15:29:06 +00:00
thorpej
5dc95f5908
Garbage-collect DMAINTLVL; it's not needed any more.
1996-12-09 06:18:13 +00:00
thorpej
49471d5fd5
Sync with reality.
1996-12-09 03:56:01 +00:00
thorpej
01667974d0
isrlink() now returns a cookie. We're not interested in the cookie, so
...
cast to (void).
Call dmacomputeipl() after we've hooked up our interrupt handler.
1996-12-09 03:16:26 +00:00
thorpej
648a1b19ae
isrlink() now returns a cookie. We're not interested in the cookie, so
...
cast to (void).
1996-12-09 03:14:06 +00:00
thorpej
0d6571ba4d
Defer hooking up the DMA controller interrupt. Add a new funciton,
...
dmacomputeipl(), which is called by drivers which use DMA once they've
hooked up their interrupts. This new function computes the appropriate
ipl to use for the DMA controller and (re-)establishes it's interrupt.
1996-12-09 03:09:51 +00:00
thorpej
75a37ecc60
Print the interrupt levels for bio, net, and tty computed during
...
autoconfiguration.
1996-12-09 03:07:11 +00:00
thorpej
ce7ecde8a3
Dynamically compute the PSL value for spl{bio,net,tty,imp}() calls.
1996-12-09 03:04:46 +00:00
thorpej
c36215249a
Add EXEC_SCRIPT (I don't even want to know how I forgot it before...)
1996-12-09 01:53:30 +00:00
pk
10a182e399
Revise communication between hw & sw interrupt handler.
...
Deal with sun4m software interrupt mechanism.
1996-12-08 23:41:39 +00:00
pk
837dd8e3e1
Import formatting code from the i386 version.
...
Revise communication between hw & sw interrupt handler.
1996-12-08 23:40:32 +00:00
cgd
e9abc8540f
remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
1996-12-08 00:22:08 +00:00
cgd
6dbb1548bd
kill __BROKEN_INDIRECT_CONFIG
1996-12-07 22:43:17 +00:00
cgd
fb18e1fda9
oops; have to cast PS_STRINGS away from pointer
1996-12-07 22:36:28 +00:00
cgd
0e3d6291e3
note what each of the argument registers in setregs() will be used
...
for by crt0. Actually clear a1 and a2, because unless a shared loader (i.e.
_not_ the kernel) set them when invoking crt0, they should be zero, and
the kernel DEBUG code wouldn't necessarily have them be. Pass a pointer
to the proc's ps_strings structure in a3.
1996-12-07 19:45:14 +00:00
thorpej
b5c8aff18b
In setroot(), fix mishandling of the `config netbsd root on nfs' case
...
that caused a NULL pointer dereference.
1996-12-07 19:00:46 +00:00
fvdl
9e2e734159
Remove _MCOUNT_DECL prototype once more.
1996-12-07 12:59:45 +00:00
matthias
781cd59dd4
* Enlarge kernel virtual memory space. The pc532 kernel now runs at
...
0xf8000000. When the kernel was running at 0xfe000000, the INSTALL
kernel would not run on a 32mb machine.
1996-12-07 09:24:37 +00:00
cgd
1a8f25c523
add a "machdep.booted_kernel" sysctl, which is the name of the booted
...
kernel as supplied by the SRM console's BOOTED_FILE variable.
1996-12-07 01:54:49 +00:00
thorpej
8b4cab0ac8
s/EXTMEM_SIZE/BIOSEXTMEM/
1996-12-07 00:25:58 +00:00
fvdl
3e4fb99a14
Fix missing instruction in NexGen test code; make it a 386-class CPU too.
...
(Valtteri Vuorikoski / Jason).
1996-12-06 22:27:37 +00:00
pk
6b31797b23
Detect `lebuffer' parents and use the provided buffer.
1996-12-06 22:07:59 +00:00
pk
d539e60bb2
Uncomment lebuffer devices
1996-12-06 22:02:32 +00:00
pk
554078cb87
Declare lebuffer
1996-12-06 21:57:57 +00:00
pk
31b46bcf59
Special Lance buffer glue.
1996-12-06 21:52:01 +00:00
fvdl
671b24f374
Add _MCOUNT_DECL prototype.
1996-12-05 10:21:09 +00:00
cgd
8b6a32d1c1
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
...
is defined.
1996-12-05 01:39:27 +00:00
cgd
96acdadef7
First step inn removing config_scan() and the hacks that gave devices
...
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:
Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
mycroft
7cec90e7ea
Fix a race condition in tcds_scsi_isintr().
...
Also, remove the annoying and bogus `empty FIFO of N' message.
1996-12-04 22:35:08 +00:00
is
b7e80c70ba
Oops, drcom slipped through the cracks. I beg your pardon.
1996-12-04 16:36:36 +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
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
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
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
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
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
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
jtc
9da5f60715
PROF -> GPROF
1996-11-30 02:48:57 +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