jonathan
919bc0ce92
Typo in RCS id.
1997-07-07 03:57:55 +00:00
jonathan
d1ec048977
DDB for mips.
...
Add DDB interface to /sys/arch/mips/mips..
Rework heuristic stack traceback to work with DDB.
Add hooks to print exception log from DDB.
Add hooks from pmax console drivers: call Debugger()
after break from serial console, or 'DO' key from LK-xxx.
1997-07-07 03:54:24 +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
is
487476c2a9
Implement the RTC_OFFSET kernel option/rtc_offset variable for the Amiga port.
...
To get the old behaviour, set options RTC_OFFSET=0 in your kernel configuration
file.
1997-07-06 23:17:53 +00:00
ragge
759763742b
Remove __VM_PMAP_HACK.
1997-07-06 22:38:22 +00:00
is
5e6f97d4ef
A first hack at DraCo real-time clock support; only reads clock, currently.
...
Also only whole seconds are used (while the hardware provides 1/256 seconds).
1997-07-06 22:27:19 +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
thorpej
3a3d0fcb0f
Add new DDB and KGDB files.
1997-07-06 04:09:45 +00:00
thorpej
55fdd1f6be
Add a new line in a printf, for purely cosmetic reasons.
1997-07-05 20:58:30 +00:00
leo
cd3ee4b310
If booted with RB_ASKNAME, don't go looking for a root device.
1997-07-05 20:57:40 +00:00
leo
a323500b0f
Pull in latest Amiga bus/address error handling.
1997-07-05 20:50:41 +00:00
thorpej
15de91e26d
Add a breakpoint() inline, used by DDB and KGDB.
1997-07-05 20:49:46 +00:00
thorpej
bbf08442c7
Define the ALTENTRY() macro here.
1997-07-05 20:49:19 +00:00
thorpej
bc831d9a96
Add glue for remote KGDB.
1997-07-05 20:48:12 +00:00
thorpej
9ae7db0945
Garbage-collect old KGDB glue.
1997-07-05 20:47:35 +00:00
thorpej
46222f0d29
Split the memory access functions out of db_interface.c, so that they can
...
be shared by DDB and KGDB.
1997-07-05 20:46:37 +00:00
thorpej
f796580395
Machine-dependent portions of remote serial KGDB, for NetBSD/i386. Based
...
on Matthias Pfaller's NetBSD/pc532 kgdb_machdep.c.
1997-07-05 20:44:57 +00:00
is
5171612d6c
Multichannel output still doesn't work, but while working on it, I repaired
...
the double buffering code, and setting a couple of other parameters works now.
1997-07-04 21:00:15 +00:00
is
e03fce55ed
addql does set condition codes, so we are not allowed to put it in between
...
the andl and the jeq.
Mea maxima culpa.
1997-07-04 20:52:50 +00:00
ragge
59501e1879
Fix bug causing all uda's to be recognized as ctlr 1 from boot.
1997-07-04 13:26:02 +00:00
ragge
d7d40e44f6
Bugfix to mscp tape code; so that weof/eot works correctly.
1997-07-04 11:58:20 +00:00
drochner
41c3159f16
Emulate old bootblocks better: Use type of boot harddisk, extracted
...
from disklabel, as default.
(Pushed by Darren Reed <darrenr@cyber.com.au>:-)
1997-07-04 10:52:44 +00:00
scottr
9fc7759ee2
Optimize the bus error handlers a bit; save a couple cycles by dropping
...
through a branch rather than taking it in the case of an MMU fault,
which also has the desirable side effect of possibly avoiding an
I-cache miss.
1997-07-04 04:49:15 +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
jonathan
eca6630217
Fix NSCC tests. Use NSCC > 0 (needs-flag) rather than NSCC > 1 (needs-count).
...
Fix prototypes previously hidden by same.
1997-07-02 13:59:15 +00:00
drochner
0b58e59709
Correct the error message printing for failed boot attempts
...
("filename" must be processed by parsebootfile() first).
Being here:
- remove the special "#ifdef MATTHIAS" mainloop
- make some "booting..." output match reality
- print '\n' and '\b' more controlled
1997-07-02 13:20:36 +00:00
mikel
7b93ae0fcb
if exec_netbsd() fails, indicate what file we were trying to boot.
...
suggested by Havard Eidnes in PR port-i386/3771.
1997-07-02 04:07:43 +00:00
jeremy
bbf76eb63e
Implement pmap and va caching within C table managers to help speed
...
up PV->(pmap,va) operations.
1997-07-02 03:23:57 +00:00
cjs
3b3cb5bcff
Update comments to show that ed driver on PCI works with 3c90x cards.
1997-07-02 02:44:09 +00:00
scottr
d00173ae5a
Add support for Portrait Video Card. From SUNAGAWA Keiki
...
<kei_sun@ba2.so-net.or.jp> in PR 3821.
1997-07-01 19:04:18 +00:00
jonathan
da53d70f23
Move generic mips functions setregs(), sendsig(), sys_signal()
...
to sys/arch/mips/mips/mips_machdep.c. Delete from pica, pmax machdep.c.
Delint pica machdep.c.
1997-07-01 09:32:13 +00:00
jonathan
dfa33cb24e
Remove "untested" comments and messages.
1997-07-01 07:21:14 +00:00
jonathan
e0bb7d9370
Establish handler for vertical-retrace interrupts.
...
Use establish-time argument in handlers, to work with multiple framebuffers.
1997-06-30 22:08:58 +00:00
jonathan
8586e62e14
Enable stack tracebacks if MDB is configured.
1997-06-30 14:42:32 +00:00
scottr
f2bdde942a
Due to reliability problems on some models, back out the more radical of
...
the pc532/dev/ncr.c-inspired changes; in particular, wait for previous
transfer to complete before starting another, as we used to do. Retain
splbio() protection and simplified sbc_pdma_in().
1997-06-30 05:24:35 +00:00
ragge
9f009387fc
Must grok includes. Also; prettier compile-time printout.
1997-06-29 21:30:09 +00:00
leo
d4c5e4e6fe
Add code to set pitch and duration of the keyboard bell. (Thomas Gerner).
1997-06-29 20:30:49 +00:00
scottr
ea99cc2796
Fix tyop in last; will link 040-enabled kernels now.
1997-06-29 19:54:57 +00:00
scottr
4428f246a1
Split up CPU-dependent bus error/address error handlers. Mostly from
...
the Amiga port, but with an extension to save the actual fault
address (in m68k_fault_addr) when we catch a bus error.
1997-06-29 19:02:07 +00:00
scottr
6eb0e7c503
Prototype DCIS().
1997-06-29 18:56:11 +00:00
pk
363c28ce88
Fix typo in last commit.
1997-06-29 18:44:21 +00:00
is
86f86c044c
Use function types for vectab, instead of u_int8_t *.
1997-06-29 13:49:45 +00:00
scottr
0b7e64bbfa
Update for mac68k_buserr_addr -> m68k_fault_addr change.
1997-06-29 06:10:35 +00:00
scottr
7044c8fd8a
Get several cleanup chores out of the way. The code is functionally
...
identical to the previous incarnation.
- Update using m68k asm.h macros
- Move initialization towards the front of the file
- Rename mac68k_buserr_addr to m68k_fault_addr
- Reorganize trap 15 handler, similar in structure to -- though not as
complete as -- the hp300 version
- Reorganize doboot() for easier integration of external cache, and
make room for the latter (#ifdef __notyet__)
- General garbage collection of unused code/data
1997-06-29 06:07:39 +00:00
scottr
a3bfbcf80a
Remove unused (#ifdef'ed) vector 0 initalizer
1997-06-29 05:52:11 +00:00
scottr
be164c61ed
Garbage collect bad{,b,w,l}addr()
1997-06-29 00:26:12 +00:00
scottr
494cda5d27
Use <m68k/include/asm.h>.
1997-06-28 23:35:02 +00:00
leo
1f92b460a0
Add 'libsa/atari_stand.h' that defines atari specific things. This allows
...
for a removal of our own copy of stand.h which was out-of-date by definition.
1997-06-28 21:36:28 +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
b1d65b1d3f
Adjust start address here, now that exec() no longer does it for us.
1997-06-28 07:20:25 +00:00
mhitch
d6b6efec34
Moved the mini-debug routines out of trap.c into their own file, like the
...
original pica port.
1997-06-28 03:59:46 +00:00
mhitch
a503f4436c
Mini-debuuger is now included by options MDB.
...
Move mini-debugger routines to separate file, minidebug.c.
1997-06-28 03:57:55 +00:00
mhitch
566b174c13
Mini-debugger now included by options MDB.
...
Cpu_regs() is included by options DEBUG, as are the stacktrace routines,
so move it inside the #ifdef DEBUG along with stacktrace().
1997-06-28 03:55:05 +00:00
mhitch
8c12914cdb
Fix typo.
...
Include minidebug.c with options MDB.
1997-06-28 03:43:21 +00:00
is
de025de65f
Add support for T-racing of emulated instructions. (Yes, gdb uses this.)
1997-06-27 23:32:09 +00:00
jeremy
63c23f2337
Add reference to DMA selection variable used in dev/ic/ncr53c9x.c and sample
...
code to enable it. Currently commented out.
1997-06-27 02:07:32 +00:00
is
f3efbb406a
The recent buserr handler cleanup in the Amiga locore.s made the label
...
_buserr point to the 68020/030 buserr code _only_. This has broken access
error handling in the 060 support code.
This is repaired by jumping to _buserr60 from the 060SP, and by providing
a _buserr60 label identical to the _buserr in the unchanged m68k ports
using the 68060.
1997-06-26 22:28:42 +00:00
scottr
b1f4ee5c2a
Identify and use the Apple Twisted Pair NB card properly, from PR 3789
...
submitted by Denny Gentry <denny1@home.com>; investigation on the hardware
done by Bob Nestor.
1997-06-26 21:08:10 +00:00
drochner
7f15295bde
Define _STANDALONE for standalone programs.
1997-06-26 19:03:32 +00:00
perry
73de3e34b8
"fake" disklabels should make the whole thing the 'c' partition, not
...
the 'a' partition. Sanity checked by thorpej.
This, incidently, may have been causing user errors in initializing
new disks, as described in (now closed) pr-2729 from Scott Reynolds,
because users typically don't try to edit their c partitions to be
"correct".
1997-06-26 05:40:30 +00:00
jeremy
335b7a2d00
Duplicate changes recently made to the SPARC version of this file:
...
Do not print warnings if selection of a target via DMA was interrupted
by another target.
1997-06-26 02:47:09 +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
briggs
9979fcd706
Fix from camk@telecom.ksu.edu (Kelly Campbell), via Ken Nakata, for a
...
problem causing SIGSEGVs under FP emulation on the 68LC040. The size
for the type 4 exception frame was not properly defined.
1997-06-25 12:44:05 +00:00
leo
b61541d6c2
Be consistent with more pedantic bus.h.
1997-06-25 12:15:54 +00:00
leo
61d060feec
Add the types for 'bus_dma_tag_t' and 'bus_dmamap_t'. While here, be a bit
...
more precise in using types of the bus_space* address arguments.
1997-06-25 12:06:10 +00:00
jonathan
11bfae37bb
Update compiled-in default partition. Default root 32Mbytes, swap 64Mbytes.
...
(appropriate for ELF and growth in / since 4.4bsd/pmax).
Clip default-label partitions against the end of the disk to make installs
easier.
1997-06-25 11:00:32 +00:00
mhitch
63f2f12797
Someday I'll learn how the MIPS cpu works; add some delay after the tlbp
...
when switching to a new process. This was causing a ktlbmiss and stack
overflow panic on R3000 machines.
1997-06-25 05:06:01 +00:00
mellon
021ee70ed5
Adjust options statements so that if they are commented out or uncommented, it doesn't screw up indentation.
1997-06-25 04:41:15 +00:00
mjacob
ff21c8f511
Turn of 'unclaimed interrupt' messages- we know about them already- we can't
...
really fix this as yet.
1997-06-24 18:08:59 +00:00
thorpej
9fefca0657
Update for repaired Triton MX PCI ID.
1997-06-24 06:21:22 +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
thorpej
ee8581a255
foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
...
from the disklabel accordingly.
1997-06-24 00:44:03 +00:00
thorpej
afe2bc9b9e
In wdsize():
...
- If the partition is already open, skip the open/close step. (Sync with
other disk drivers).
- foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
from the disklabel accordingly.
1997-06-24 00:41:29 +00:00
thorpej
45097cab83
foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
...
from the disklabel accordingly.
1997-06-24 00:38:46 +00:00
thorpej
84166e5151
foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
...
from the disklabel accordingly.
1997-06-24 00:28:36 +00:00
fvdl
9270fc61c1
Turn some bus_space_write_2s back to bus_space_write1s, like they should
...
be. Seemingly leftover from bus_io -> bus_space transition.
Fixes PR 3780, from Thorsten Frueauf
1997-06-23 23:46:40 +00:00
is
7fe3065765
Make aucc work in the presence of LEV6_DEFER.
1997-06-23 23:46:23 +00:00
jonathan
1eadfb6db9
Change NetBSD/mips setregs() to pass explicit arguments to a
...
newly-exec()ed user-land process for the new dl*-capable crt0:
a0 stack pointer (points to onstack argc)
a1 rtld cleanup (filled in by dynamic loader)
a2 rtld object (filled in by dynamic loader)
a3 ps_strings
From Jason Thorpe (thorpej@nas.nasa.gov ).
1997-06-23 22:08:02 +00:00
mhitch
dc1ece0234
Move the mips*_dump_tlb() routines outside the #ifdef so they are always
...
available. Used in the locore ktlbmiss/panic to display the TLB contents
that are mapping the kernel stack.
1997-06-23 21:48:28 +00:00
mhitch
f200f89fe7
Remove an incorrect store of the SP when displaying information about a
...
ktlbmiss on the kernel stack. It was showing the temporary SP, not the
original SP.
Add a display of the first few wired entries of the TLB so when the ktblmiss
occurs, the TLB entries mapping the kernel stack can be verified.
1997-06-23 21:45:05 +00:00
is
cadf1d32d2
fdboot is too big again. leave it out.
1997-06-23 20:44:49 +00:00
jonathan
0d95f6f43d
Align to 8-byte boundary after ASMSTR(), for mips3.
1997-06-23 06:15:28 +00:00
mrg
ea3d699c3c
remove pcvtdoc.
1997-06-23 03:50:54 +00:00
mrg
38e40629b9
really nothing left here now.
1997-06-23 03:50:39 +00:00
mrg
90a52da37a
move man pages into share/man.
1997-06-23 03:30:19 +00:00
mrg
1c91d7d00f
nothing here anymore
1997-06-23 03:27:11 +00:00
jonathan
9e07630d3d
Apply sys/arch/mips changes (MACH_ -> MIPS_ or MIPS3_) changes to Pica port.
...
PICA Kernel compiles with warnings and links, otherwise untested.
1997-06-23 02:56:38 +00:00
jonathan
b372cd5fab
Delete entire contents. Just #include <mips/psl.h> until
...
all uses are changed.
1997-06-23 02:48:54 +00:00