pk
b9746b3d00
splpmap() is again equivalent to splimp().
1997-11-19 23:05:49 +00:00
pk
62f73256ff
Use intr_establish() to install the timer interrupt handlers.
1997-11-19 23:03:47 +00:00
pk
de106f6489
1. Implement a trick from Chris Torek: if an unhandled interrupt occurs
...
during auto-configuration (`cold'), raise interrupt level to splhigh
and return, instead of reporting a stray interrupt.
2. In cpu_switch(), start running a newly selected proces at splclock()
instead of the saved IPL, allowing high-priority interrupts in
ctx_alloc() which can take many cycles to install a new context
(especially on the two-level sun4c MMU).
1997-11-19 22:59:05 +00:00
lukem
6c986561ee
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:57:23 +00:00
pk
639260ce32
Use DESTDIR consistently when constructing `boot.net'.
1997-11-15 14:29:36 +00:00
veego
8b485c5962
Add a missing #if NARP > 0 around arpintr(); and add a #include "arp.h"
...
for NARP. This is for the 'new' arp system.
1997-11-13 10:43:06 +00:00
thorpej
ce4c770f88
Make sure CPP, AR, AS, and RANLIB are defined.
1997-11-12 23:11:50 +00:00
thorpej
a421995756
Define LORDER, NM, and TSORT here, like we do the rest of the tools.
1997-11-12 22:25:31 +00:00
pk
ff4f5f4528
If necessary, defer console output until TX interrupt handler runs.
1997-11-12 22:18:54 +00:00
pk
a309481f34
Change load address to avoid cache-aliasing on machines with Harvard-style
...
cache implementations (notably the Hypersparcs).
1997-11-12 00:37:07 +00:00
pk
85524f37b3
Set `dvma_cachealign' on Hypersparc.
1997-11-10 21:20:07 +00:00
thorpej
0b04d28454
Mark uses of long long with /* LONGLONG */ for lint. From
...
Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 04:36:08 +00:00
thorpej
4730a8cbec
Bug fixes and cleanup from Chris Demetriou <cgd@pa.dec.com>:
...
- fix _C_LABEL so that it actually works.
- make __RENAME use _C_LABEL.
- fix __RENAME so that it expects an unquoted argument.
- fix __indr_reference and __warn_references so that they
supply their own final semicolon.
- define __warn_references to nothing if not GNU C (required
by the way it's used).
The __warn_references semicolon change has to be made
so that __warn_references can be defined into nothing.
(A ; all by itself isn't a great idea.) The __indr_reference
change was made for consistency.
1997-11-04 23:09:23 +00:00
pk
9eb2a49d4b
Include copyright statement for the bus_dma implementation added in
...
the previous revision.
1997-11-04 10:37:37 +00:00
mycroft
9e82e84056
Handle CDTRCTS, for silly Mac-like connector on some models (e.g. IPX).
1997-11-03 11:33:17 +00:00
pk
8dbb87fe86
Add bus_dma*() functions. Some functionality implemented in terms of
...
existing machinery (for now).
1997-11-02 21:31:34 +00:00
pk
b74bcd140c
The sparc's bus.h.
1997-11-02 21:28:33 +00:00
mycroft
ec5fd4954e
Set rr0_dcd.
...
Don't set DCD_IE and CTS_IE here; let the MI code do it.
Handle MDMBUF.
1997-11-02 08:05:06 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
pk
97128ca91e
Header magic is now done in stand/boot/Makefile.
1997-10-31 22:12:21 +00:00
pk
b5d7e8f444
Install a version of the secondary boot block in /usr/mdec that is
...
suitable for use on a server for diskless booting. Done mostly to
simplify the installation notes and avoid questions ...
1997-10-31 22:05:17 +00:00
gwr
aa67eda78f
Correct zs_unit in zs_kgdb_init().
...
Similar problem as zs.c:consinit().
1997-10-22 17:03:35 +00:00
gwr
9053a6f401
Correct the values of zs_unit in consinit(),
...
so ddb will work on the keyboard/display.
1997-10-22 14:39:38 +00:00
thorpej
665f7d1a6e
Implement __RENAME() in <machine/cdefs.h>
1997-10-22 05:20:32 +00:00
pk
332129fdf1
Enable `reselect' and `synch negotiation' by default.
1997-10-20 18:05:21 +00:00
pk
004f196dcf
Nuke 5.25 inch formats.
1997-10-19 23:29:47 +00:00
pk
a0d6bae726
Add an odd-ball japanese floppy format (PR#2903).
...
A good time to get rid of the hard-coded floppy sector size.
1997-10-19 22:29:21 +00:00
christos
7507e6a5e9
Make this compile again.
1997-10-19 20:34:54 +00:00
augustss
e7029fc0da
Make the audio API (almost) SunOS compatible.
...
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.
1997-10-19 07:41:33 +00:00
gwr
c5b23be7bf
Make sure vunmapbuf will kmem_free_wakeup() the same VA range
...
that came from kmem_alloc_wait(). (Same problem as PR#4120).
1997-10-18 00:17:21 +00:00
gwr
0308bf1ac6
Use common zs code.
1997-10-17 23:59:44 +00:00
christos
801520ffac
fix chrtoblk declaration
1997-10-16 23:43:16 +00:00
mycroft
b328298e4c
Fix up includes.
1997-10-16 10:49:00 +00:00
mycroft
482e74d998
Fix up includes.
1997-10-16 10:35:49 +00:00
explorer
80513cb5ae
o Make usage of /dev/random dependant on
...
pseudo-device rnd # /dev/random and in-kernel generator
in config files.
o Add declaration to all architectures.
o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
mycroft
3081c6f8cf
AudioC[A-Z] -> AudioC[a-z]
...
AudioElinear -> AudioEslinear
1997-10-11 12:43:51 +00:00
mycroft
20b05a6bc4
Make these closer to working.
1997-10-11 09:10:25 +00:00
mrg
74f573d85d
remove advertising clause from all my licenses.
1997-10-10 05:39:47 +00:00
bouyer
6ab3092b11
Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
...
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
jtc
4229acf79d
Fix tipo inherited from old version of TNF copyright template.
1997-10-09 08:37:20 +00:00
jtc
da7890c526
Fix tipo inherited from old version of TNF copyright template.
1997-10-09 08:31:58 +00:00
thorpej
3b4ad2b60e
Copyright assigned to The NetBSD Foundation.
1997-10-05 18:15:51 +00:00
lukem
7d508b124f
define SIZE?=size, and use ${SIZE} instead of size. makes cross
...
compilation easier
1997-10-03 07:17:00 +00:00
christos
0c2a9deb8f
Oops, missed a space in previous formatting change.
1997-10-02 04:23:09 +00:00
pk
feaaceb801
Missing `#ifdef SUN4M' in pmap_release(); rearrange slightly to look
...
more natural.
1997-10-01 19:21:17 +00:00
christos
7f41ec0345
PR/4162: Chris Jones: make cleandir does not work properly; it does not
...
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:50:53 +00:00
pk
da4ac7ec5a
GC setpte*() declarations.
1997-09-27 18:04:47 +00:00
pk
450cdbdaab
Move the "unimplemented software trap" message within `#ifdef DIAGNOSTIC'
...
and use uprintf() for the notification.
1997-09-27 18:03:39 +00:00
pk
70ca0fdc80
Move the per-processor counter register into cpuinfo.
1997-09-27 18:01:30 +00:00
pk
d0b1ee0833
* Optimize pmap_{zero,copy}_page4m() a bit by pre-computing the PTE addresses
...
of the reserved KVAs (vpage[]) used by these routines. This avoids the
context switching in there.
* In pmap_redzone(), remove the first kernel address (at KERNBASE) from
the kernel maps instead of just turning off the PTE `valid' bits.
The latter doesn't create a "red zone" at all, but causes the VM to
allocate a new page if the red zone is touched.
1997-09-27 17:58:03 +00:00
pk
7482ebb584
Insert a hack to allocate IOMMU addresses congruent to the kernel virtual
...
address that being DVMAed to.
1997-09-27 17:49:33 +00:00
mrg
fa6b4a3a7b
add (commented) options BLINK, per PR#4075.
1997-09-27 09:56:25 +00:00
pk
f338821834
Do not set CPUFLG_CACHEPAGETABLES inappropriately on microsparcs
1997-09-26 22:17:23 +00:00
pk
665c7aa080
* Implement a private page table storage allocator for SRMMUs. It provides
...
uncached (if needed) chunks of memory of the two sizes (256 and 1024
bytes) that the SRMMU ever needs.
* Change pmap_changeprot4m() so that is does not rely setpte4m() because
setpte4m() cannot be used for anything other than VAs that are in the
pmap associated with the current context.
In the same vain, make sure that kvm_uncache() switches to context 0.
1997-09-26 22:15:37 +00:00
fair
40f6f7e831
Make the #ifdef expression prior to the declaration and use of
...
"nptesg" match each other, per PR#4024.
1997-09-25 07:31:28 +00:00
pk
40c87730b3
Move KERNBASE to 0xf0000000.
1997-09-23 19:59:27 +00:00
pk
f5bb941f5b
MSGBUFSIZE needs no obscure adjustment; initmsgbuf() takes care of that.
1997-09-23 08:23:29 +00:00
pk
c209086562
The symbol `_msgbufaddr' is no longer exported.
1997-09-23 08:19:56 +00:00
pk
9632cb41c6
Fix some lossage resulting from changed message buffer initialization:
...
don't buck the trend and move the call to initmsgbuf() to cpu_startup()
in machdep.c (like most other ports do) where we can setup things right
in one go. (This means that the CSRG copyright will no longer be in
the kernel logs).
1997-09-23 08:16:26 +00:00
christos
b562e93fc1
Remove duplicate declaration
1997-09-22 20:35:51 +00:00
christos
676d60fa45
Fix printf formatting; remove extra spaces, add : at the end.
1997-09-22 20:34:45 +00:00
leo
fb0bc9eeae
Fix (hopefully) the compile errors introduced by the msgbuf changes.
1997-09-22 15:03:58 +00:00
pk
fca3465b96
Do not skip over a break trap instruction, now that the DDB code can
...
do it properly.
1997-09-20 19:00:40 +00:00
pk
9b3d64edb9
Remove the `segmap' array from the header. Insert an offset and count
...
field to get to it instead.
Add field `kernbase' so libkvm can be independent of the kernel's link address.
1997-09-20 18:23:51 +00:00
pk
59ed02a11b
pmap_dumpsize() returns a number of disk blocks.
1997-09-20 18:18:33 +00:00
pk
1cd19dc013
Change crash dump layout a bit so the size of the `cpu_kcore' structure
...
does not depend on the value of KERNBASE.
Change pmap_dumpsize() to return disk block units, in stead of pages.
1997-09-20 18:14:01 +00:00
leo
2b138578d7
Correct for the extra member in 'struct kern_msgbuf' when calculating
...
the number of bytes we want to allocate.
1997-09-20 12:10:09 +00:00
leo
d4713d24c2
Implement the kernel part of pr-1891. This allows for a more flexible sized
...
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
pk
bb3e7cdb98
Fix viking/MXCC botch similar to pmap.c.
1997-09-18 20:44:43 +00:00
pk
ef73834bdc
Check for the `VIKING_PCR_TC' being set, just in case. If it isn't set,
...
delay the use of the `CPUFLG_CACHEPAGETABLES' flag.
1997-09-18 20:29:15 +00:00
pk
eac8e745a7
Add a function to stop sun4m counters and call it early during
...
auto-configuration.
1997-09-18 20:25:34 +00:00
pk
9d1afc6f01
Fix a botch in reservemon4m() causing the `Alternate cacheability' not being
...
set on viking MXCC machines while using transparent memory access mode. This
becomes apparent when booting on multi-processor viking machines.
While I'm here, arrange to tempt fate a little less by using `AC' mode
for the shortest possible periods of time.
Special thanks to Matt Ragan for running my test kernels.
1997-09-18 20:16:45 +00:00
pk
aa998af35c
Hard-code a couple of sun4 cpu-clock speeds.
...
Fix a printf formatting glitch.
1997-09-15 20:52:36 +00:00
pk
b5004e4ce1
Call the device close routine when we're done reading.
1997-09-14 19:28:17 +00:00
pk
5ba6b94ba6
Do not use KERNBASE to calculate the `end of symbols' location. Instead
...
use the `a_entry' field from the kernel's header as a base.
Pass on a new DDB magic number to the kernel, so kernels linked for a
different KERNBASE value can apply a correction when booted from old
bootblocks.
1997-09-14 19:27:21 +00:00
pk
4969489cb6
Define a new DDB magic number to pass to the kernel.
1997-09-14 19:22:55 +00:00
pk
383448522d
Refer to KERNBASE instead of its current numerical value in comments
...
and some early debugging code.
1997-09-14 19:20:48 +00:00
pk
dc4f93c2a1
Collect sbus status and configuration registers in `struct sbusreg'.
1997-09-14 19:17:25 +00:00
pk
e4a198d193
Move sbus fields to sbusreg.h where they belong.
1997-09-14 19:16:04 +00:00
pk
a3140bf9f2
NetBSD 1.2 and earlier sparc bootblocks have KERNBASE compiled in. This
...
prevents booting DDB kernels that are built with a different value of KERNBASE.
Apply a correction based on the magic number passed in by the bootblocks.
New bootblocks without the hard-coded KERNBASE reference will be assigned
a new magic number.
1997-09-13 20:36:48 +00:00
pk
c635b25325
In kbdattach() (the pseudo-device attach routine) wait for the keyboard
...
reset sequence to complete. Just sending the reset command and rushing
off -- like it used to do -- might cause the keyboard's response to get
lost in case the remaining kernel initialization decides to interact
with the console (RB_ASK!) by calling cngetc(), which goes off polling
within the PROM.
1997-09-13 19:12:18 +00:00
pk
27f2065c2c
Update syscall() and setregs() in the wake of the recent execve() changes.
1997-09-12 08:55:01 +00:00
mycroft
16a8787248
Fix execve(2) and *setregs() interfaces so emulations can set registers in a
...
more correct way. (See tech-kern.)
1997-09-11 23:01:44 +00:00
pk
aeec7a4ecc
Turn off "branch folding" in microsparc II processors. This seems to
...
avoid strange panics happening. Patch suggested by Chris Torek.
1997-09-10 19:11:23 +00:00
pk
0bd088474a
Turn on D_DSBL_WRINVAL on `ledma'.
1997-09-09 20:54:48 +00:00
pk
240f9f0804
Bring db_{read,write}_bytes() prototypes in scope.
...
Move Debugger() within `#ifdef DDB'
1997-09-01 00:16:31 +00:00
pk
7d7a8e5773
Switch to MI kgdb code.
1997-08-31 21:29:16 +00:00
pk
84877e89f6
Allow a BREAK to cause a kgdb_connect().
1997-08-31 21:26:37 +00:00
pk
7950e785f9
Switch to MI kgdb code.
1997-08-31 21:22:44 +00:00
pk
2b1e7bab51
pmap_writetext(): use context 0.
1997-08-31 21:08:03 +00:00
augustss
a79408b6c7
Change match routine to use "audio" as the ROM name.
1997-08-27 22:42:23 +00:00
augustss
c58d387b0f
Fix prototype for amd7930_set_params.
1997-08-27 22:33:59 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
augustss
6616d47838
- Change audio_hw_if a little: set_param now sets the play and record modes
...
at the same time instead by using two different calls. This enables
it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
play and record settings are independent.
- Fix some buglets in audio.c.
1997-08-24 22:31:23 +00:00
mjacob
6ac7f6248f
add a before tab to SCSIVERBOSE
1997-08-23 19:16:06 +00:00
augustss
556cf1abc0
Make it possible for audio to attach to audioamd.
1997-08-22 11:45:06 +00:00
mjacob
1a7afa3853
add commented out reference SCSIVERBOSE option
1997-08-20 18:38:13 +00:00
augustss
332ad95e76
Change the MI audio driver so it attaches to the MD driver in the
...
normal way. This requires adding a line to the config files to
get audio to work again.
1997-08-19 23:49:33 +00:00
mjacob
419960bd0e
Changes for PCI Qlogic ISP2100 meant a few minor changes.
1997-08-16 00:33:04 +00:00
pk
dd07701791
Do not use `rasterconsole' by default on this framebuffer.
1997-08-07 19:12:30 +00:00
pk
46ca64dc14
Comment out body of pmap_copy() which got committed accidentally (btw. it
...
works, but its performance benefits are not immediately obvious).
1997-08-05 11:06:58 +00:00
pk
b449c91f9b
Correct typo that has been lurking undetected for some time.
1997-08-05 11:00:10 +00:00
pk
a7f1e52ffd
Some cosmetic changes suggested by Brian Baird: cache config msgs & RT625 fpu.
1997-08-05 10:40:21 +00:00
pk
7841423191
Hypersparc detection.
1997-08-04 22:41:25 +00:00
pk
8f937196fb
Don't flush the cache in setpte4m(). Most callers have flushed the page
...
already and some MMUs might require a valid mapping to exist for the
virtual address to be flushed.
1997-08-04 20:09:54 +00:00
pk
3ffd287cc0
Move MMU dependent DDB goo into a pmap helper function.
1997-08-04 20:02:59 +00:00
pk
24ad0e8316
Prototype pmap_writetext().
1997-08-04 20:00:47 +00:00
augustss
658656bb99
Audio changes:
...
- Change the way attach and open works to allow multiple audio
devices.
- Split the mulaw.c file into two to avoid dragging in mulaw
convertsion when they are not needed. Add 16 bit alaw/mulaw tables.
- Change the way audio properties are gotten.
- Recognize more versions os SoundBlaster.
1997-07-31 22:33:08 +00:00
fair
fc96112975
fix editing boo-boo
1997-07-29 17:55:38 +00:00
fair
d074ca9f6e
%x -> 0x%x
1997-07-29 10:09:51 +00:00
fair
b4750d5084
missed %lx -> 0x%lx
1997-07-29 10:04:44 +00:00
fair
4c351f243e
%x -> 0x%x
1997-07-29 09:58:04 +00:00
fair
53adf300b3
%x -> 0x%x
1997-07-29 09:41:53 +00:00
augustss
a63034762b
Audio: Remove the machine dependant code I put in audio.c by mistake.
...
This adds another method to audio_hw_if. Also remove a field from
audio_hw_if that was not read-only.
1997-07-28 20:56:05 +00:00
augustss
d58bc6796f
audio: Simplify handling of AUDIO_SETFD and committing of encoding mode.
1997-07-27 23:51:48 +00:00
augustss
9745684ebe
Changes to the sudio system:
...
- It is now possible to handle devices that want "looping" DMA,
e.g. the SoundBlaster correctly. The WSS and SB drivers use this.
To do this several new methods were introduced in audio_hw_if.
- Different silence handling (forced by previous change).
- The audio driver can now be mmap()-ed, but due to problems in
the VM system only for writing for now.
- The OSS (Linux) audio emulation takes advantage of some of the
new features.
1997-07-27 01:16:32 +00:00
pk
5a47438604
Add some missing entries. Make SINTR_VME()/SINTR_SBUS() more useful.
1997-07-22 20:19:10 +00:00
drochner
bdb232d2b6
Don't use <lib/libsa/if_ether.h> anymore. This was a copy of the
...
old (before ARP changes) <netinet/if_ether.h>, intended for
temporary use.
1997-07-22 17:41:01 +00:00
pk
a92a5224ee
Remove a couple of "ms2 only" from cache-flush ASIs.
1997-07-20 18:55:03 +00:00
pk
bd4c20b09e
Invalidate cache tags before enabling the cache, if appropriate.
1997-07-20 18:48:35 +00:00
pk
0e6ca8da9f
Use `target selection with DMA' by default.
1997-07-19 21:57:01 +00:00
pk
63fa13065c
#include "locators.h"
1997-07-19 21:43:54 +00:00
thorpej
8b278df35a
Change the extern declaration of __flt_rounds() into a proper prototype.
1997-07-18 05:11:52 +00:00
jtk
ca1bba150a
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 03:16:39 +00:00
jtk
9388f271a9
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 02:12:50 +00:00
pk
6b12855c49
pmap_extract(): move printf()'s inside debugging brackets. The caller
...
decides what to do upon finding an absent mapping.
1997-07-16 15:35:23 +00:00
christos
533bf031cd
Add RCSID() macro.
1997-07-16 15:16:43 +00:00
leo
198bd713f2
Generate assym.h dependencies when making 'depend'.
1997-07-12 22:07:36 +00:00
perry
ad1710ce1e
update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson
1997-07-12 16:18:36 +00:00
pk
f3dc7ce0f4
Use setpgt4m(), not bzero(), to initialize a pmap's first-level page table.
...
Fix a slightly misleading comment.
1997-07-09 21:51:26 +00:00
pk
94289e9990
In the turbosparc's "match" function, test for the `master' CPU, in case
...
someone ever builds a multi-processor turbosparc module.
1997-07-08 22:14:42 +00:00
pk
8eae6eb3b7
Fix a pasto in kvm_uncache() (sun4m)
...
Add TLB flushes when removing segments/regions.
Flush cache appropriately when cache-tag protection bits need invalidation.
1997-07-08 20:02:47 +00:00
pk
27d22f8faf
Add FPU version 5 (turbosparc on-chip).
...
Re-arrange cpuattach() a bit so that more initialization is done before
dealing with the FPU. Some more work is still required to de-couple
FPU detection from the autoconfiguration attach code in SMP systems.
1997-07-08 19:58:14 +00:00
pk
99edebd566
fbrcons_{rows,cols} helper functions.
1997-07-07 23:31:30 +00:00
pk
af86c62d61
Get console tty size from raster console if applicable.
1997-07-07 23:30:22 +00:00
pk
7a959f1752
Add `maxusers' line and set it to 32.
1997-07-07 21:54:51 +00:00
pk
42f6c894f8
Raise max maxusers to 1024
1997-07-07 21:53:43 +00:00
pk
0360275f33
Clear relevant `cpuinfo' fields upon detection of a cloaked TurboSparc.
1997-07-07 20:43:25 +00:00
pk
2d50be8cb3
Add `turbosparc_getfaultstatus()' to be used instead of the generic srmmu item.
1997-07-07 20:06:42 +00:00
pk
3c1b9ba29b
Install media functions only if something useful can be returned.
1997-07-07 16:28:44 +00:00
hannken
bcb9e18784
Fix bad parentheses in `getcpuinfo()'.
1997-07-07 08:44:01 +00:00
pk
27434aef27
Follow lock changes (DEBUG => LOCKDEBUG).
1997-07-06 23:57:16 +00:00
pk
4846e5ba47
Adjust for generic lock changes.
1997-07-06 23:52:52 +00:00
pk
f02db5d4f6
Turn off microsparc II compatibility bit in Fujitsu turbosparc processors.
1997-07-06 22:23:37 +00:00
pk
0ab67aca5d
Define the turbosparc's processor configuration register.
1997-07-06 22:21:11 +00:00
pk
c4e35e2f8b
Have a patchable variable `ignore_bogus_traps' (0 by default) that
...
controls whether or we panic when receiving an unhandled trap.
1997-07-06 21:34:45 +00:00
pk
bbb57cadb4
Use the module info fields `cputype' and `vactype' to hold a processor
...
family's type and cache information. This can be optionally modified
by the associated `match' routine.
1997-07-06 21:18:27 +00:00
pk
55a6f97322
Add VAC_UNKNOWN to `enum vactype'.
1997-07-06 21:15:14 +00:00
pk
81469e565e
Add two more fields (`cputype' and `vactype') to the module info.
1997-07-06 21:14:25 +00:00
christos
3de323b091
Fix printf formats.
1997-07-06 19:32:39 +00:00
pk
48ad000318
Slight optimization when pv_unlink'ing last entry (suggested by Eric Fair).
...
Use MR4() macro where appropriate.
1997-07-06 12:29:54 +00:00
pk
c3af302842
Use setpgt4m() in setptesw4m().
1997-07-06 12:22:39 +00:00
pk
aff11374d7
Defer setting the CACHEPAGETABLES flag until cache_enable().
1997-07-02 14:52:59 +00:00
pk
94113eb121
Remove a bogon.
1997-07-02 14:39:24 +00:00
pk
363c28ce88
Fix typo in last commit.
1997-06-29 18:44:21 +00:00
pk
adc8e8d8b0
Accommodate non-VM_PMAP_HACK code.
1997-06-28 19:59:03 +00:00
pk
a9b31740a2
Remove __VM_PMAP_HACK.
1997-06-28 19:56:12 +00:00
thorpej
0404c01c46
#define DB_AOUT_SYMBOLS
1997-06-26 01:26:56 +00:00
thorpej
7c03f46228
Don't print a warning if the returned transfer count is less than 0.
...
This can happen during perfectly normal operation if:
(a) We are using DMA to select a target, and
(b) we are interrupted by another target reselecting us.
Per discussion with Paul Krannenburg.
1997-06-26 00:31:20 +00:00
thorpej
cf016f61f4
foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
...
from the disklabel accordingly.
1997-06-24 00:56:28 +00:00
pk
f9d3344f9c
xysize(): only call xyopen()/xyclose() if not already open, per the
...
current `openmask'.
1997-06-18 20:47:00 +00:00
pk
4269e0eab1
xdsize(): only call xdopen()/xdclose() if not already open, per the
...
current `openmask'.
1997-06-18 20:45:03 +00:00
mrg
5dad1a32a4
move installboot.8 into src/share so everyone builds it.
1997-06-16 13:58:24 +00:00
pk
ddfaeab080
Change `pv_va' entry to a `vm_offset_t' as suggested in PR#3703.
...
Also, re-arrange pmap_page_protect4_4c() like the 4m variant; add
a more detailed panic message.
1997-06-12 21:02:43 +00:00
pk
0bf9195444
Erase kernel PTEs in pmap_page_protect4m(). This bug would leave spurious
...
entries in the kernel address space, eventually leading to panics in
pv_unlink(). This takes care of PRs 3575 & 3703.
1997-06-12 19:14:28 +00:00
mrg
552af779d2
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:46:19 +00:00
mrg
dc6a98e92c
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:09:23 +00:00
pk
cbc17e9dd1
ie2,ie3 and ie4 are 32-bit.
1997-06-10 21:54:21 +00:00
pk
1ab49e584f
Avoid "false positives" in match routines.
1997-06-10 20:59:10 +00:00
pk
2851bca951
vme_establishintr: remove SUN4 arch check; this now works on sun4m as well.
1997-06-10 20:57:48 +00:00
veego
6ab737a609
Initialize machine from MACHINE and machine_arch from MACHINE_ARCH.
1997-06-08 23:59:57 +00:00
thorpej
38b9b3385b
Update for changes in the core ISP driver.
1997-06-08 06:35:45 +00:00
pk
7de2a6f83d
Use the `ranges' property to deal with VMEbus address spaces.
1997-06-07 19:16:23 +00:00
pk
af40331aec
Add some VME address modifiers used by vmebus_translate().
1997-06-07 19:10:57 +00:00
veego
de7e49a954
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:26:01 +00:00
pk
d7b698b984
Set `rr_iospace' to PMAP_OBIO when translating relative sbus addresses.
1997-06-01 22:10:39 +00:00
mrg
81f7adf672
need to bump this back to version 1.7 (last one).
1997-06-01 14:08:58 +00:00
mrg
76b4fd4206
need to bump this back to version 1.7.
1997-06-01 14:08:15 +00:00
mrg
2a4bfcce7b
need to bump this back to version 1.7.
1997-06-01 14:07:27 +00:00
mrg
640e369d6c
need to bump this back to version 1.7.
1997-06-01 14:07:01 +00:00
mrg
887cadb09b
need to bump this back to version 1.7.
1997-06-01 14:06:23 +00:00
mrg
e3ee873c1f
need to bump this back to version 1.7.
1997-06-01 14:05:49 +00:00
mrg
7cedf69cbd
Completely rearrange SPARC boot code, modeling it after alpha and hp300
...
ports' boot programs. Also added support for loading gzip'd kernels,
useful for booting from floppy. From Jason R. Thorpe <thorpej@nas.nasa.gov>,
tested by Matthew Green <mrg@eterna.com.au> and Erik Fair <fair@clock.org>.
1997-06-01 03:39:03 +00:00
pk
4f292fbb17
Remove `bustype' argument from bus_tmp().
1997-05-24 20:17:04 +00:00
pk
ec02e14ae2
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:06 +00:00
pk
e59f568ea7
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:05 +00:00
pk
3137152cb5
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:04 +00:00
pk
5ec5d5bca3
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:03 +00:00
pk
954e31e49a
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:02 +00:00
pk
3cb17e53d3
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:01 +00:00
pk
b3aae0c409
Remove `bustype' argument from map[io]dev().
1997-05-24 20:15:58 +00:00
pk
821f712972
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:15:58 +00:00
pk
9f2499dc98
mapdev() looses the `bustype' argument. It's superseded by `rr_iospace'
...
on all archs.
1997-05-24 20:13:48 +00:00
pk
72c03c7df9
Use page type encoding macros from pmap.h
1997-05-24 20:09:45 +00:00
pk
fb5c729d4a
Use `rr_iospace' to track the MMU page type bits. On sun4c/sun4m the
...
iospace value is always learned from the PROM; on sun4, we infer it
from the BUS_* parameters.
This obsoletes the `bustype' argument in bus_tmp().
1997-05-24 20:08:41 +00:00
pk
ea0f4900ff
Always use `rr_iospace' to track the MMU page type bits.
...
This obsoletes the `bustype' argument in map[io]dev().
1997-05-24 20:03:03 +00:00
pk
957b6c1c18
Define macros for encoding I/O space bits into the physical address
...
passed to pmap_enter().
1997-05-24 19:59:25 +00:00
pk
ae61406a77
Replace bus_tmp() by mapdev() equivalent.
1997-05-19 19:59:36 +00:00
pk
f88bf0a6e9
Replace bus_tmp() with mapdev() equivalent.
1997-05-19 19:56:26 +00:00
pk
350c3993aa
Remove bus_tmp().
1997-05-18 21:26:40 +00:00