jonathan
8fb3add520
* Change setregs() to copy the initial entry point to $t9, to support PIC
...
code following the MIPS ELF abi.
* Move the kn01 interrupt handler outside of #ifdef DS5000, to support
3100-only kernels.
* Add #ifdef DS3100 around kn01_enable_intr() to allow configuring
turbochannel-only kernels.
Configuration-time support for specific models of DECstation still needs
more thought/work.
1996-03-23 04:35:03 +00:00
jonathan
1ca217b445
Replace the following header files from src/sys/arch/pica/include/
...
with versions that include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
ansi.h bsd-aout.h cdefs.h ecoff.h elf.h endian.h exec.h float.h ieeefp.h
kdbparam.h limits.h pcb.h pmap.h proc.h profile.h ptrace.h reg.h regdef.h
regnum.h reloc.h setjmp.h signal.h stdarg.h types.h varargs.h vmparam.h
NB: Some files (e.g., limits.h reloc.h pmap.h) add pica-specific #defines
to the generic mips support.
1996-03-23 03:42:25 +00:00
leo
634f5ade49
Correct #ifdef that survived the after-debug cleanup (Thanks Chris).
1996-03-22 09:07:03 +00:00
gwr
ac302c84e6
Correct type of the nofault pointer.
1996-03-21 23:03:49 +00:00
gwr
edf28f2285
Catch-up with cf_driver/cf_attach changes.
1996-03-21 23:01:21 +00:00
is
2ecf0a7b85
Interupts must be disabled and cleared before the PROM is read, as the int
...
line is shared with one of the PROMs address lines.
From PR #1478 by Jukka Marin.
1996-03-21 21:00:21 +00:00
scottr
32a38f24e7
DEBUG -> SBC_DEBUG, and fix comment regarding sbc_options
1996-03-21 04:49:20 +00:00
mark
cb3bacff44
Added abort function that just hangs in an infinite loop.
...
GCC/arm addeds calls to abort to the end of functioned declared
as not returning e.g. panic().
1996-03-20 18:57:58 +00:00
mark
9adb4b41cb
Make this work following the attachment changes.
1996-03-20 18:49:56 +00:00
mark
6973956563
Fixed references to match function.
1996-03-20 18:46:58 +00:00
mark
c8d47951ba
Fix references to the match function.
1996-03-20 18:38:00 +00:00
is
ab622e51f5
- Zeroth version of M68060 support (dont want to cause emulation traps for
...
the "Fast Assembler Version of the copy loop)
- Yet another sanity check included: initialize unused receive buffers to
zero sender id; and test for sender hardware id of zero in the receiver.
Gives us better error messages in case flaky hardware causes spurious
receive interupts.
1996-03-20 13:28:50 +00:00
leo
8106a55133
And more proto's.....
1996-03-20 13:11:56 +00:00
leo
e0aeb3dc13
Another bit of prototyping...
1996-03-20 12:41:30 +00:00
jonathan
212f41c0da
Merge more header files with arch/mips/include, by replacing
...
with versions that #inlude the <mips/XXX.h> file:
reloc.h regnum.h varargs.h
1996-03-20 09:49:29 +00:00
leo
083fa0d1b9
Belongs to the last changes made to the ??boot/??boot.s files I did
...
yesterday.
1996-03-20 08:23:35 +00:00
leo
7b7df70d77
Fix typo in neew config changes.
1996-03-20 08:17:48 +00:00
scottr
0b59005d3d
Fix a long-standing bug uncovered by the new device attachment
...
model. Thanks to Jason Thorpe for the fix (fixed PR 2235).
1996-03-20 05:10:54 +00:00
jonathan
69a70ec129
Merge in changes from the Pica port.
...
Still needs more thought for single-stepping and process_write_regs().
1996-03-20 01:30:49 +00:00
jonathan
5d4883f9ed
Add "mips" to the machine line, to make config create a link
...
compile/XXXX/mips -> mips/include, and to use mips/conf/files.mips.
1996-03-20 01:17:06 +00:00
thorpej
5c98887b14
Fix typo.
1996-03-19 22:56:53 +00:00
jonathan
e3bc270a69
Change "XXX_pmax" to "XXX_mips" in preparation for merging with
...
Pica reloc.h.
1996-03-19 22:18:45 +00:00
jonathan
f8342fcf97
Remove #ifdef LANGUAGE_C - protected definition of "struct reg".
...
(It was a duplicate of the real definition reg.h and was never used.)
1996-03-19 15:20:39 +00:00
leo
414369f5c6
Use the right cd-names.
1996-03-19 13:16:47 +00:00
leo
38432e7448
Debugger() prototype is in systm.h, don't define Debugger() here.
1996-03-19 13:15:34 +00:00
is
f6ff8b93d4
Add clobber lists at the appropriate places. The MMU initialization would
...
brake with gcc272 -O2.
1996-03-19 11:12:10 +00:00
jonathan
4758b69e7b
Replace ansi.h with a version that just does #include <mips/ansi.h>.
1996-03-19 11:00:16 +00:00
jonathan
53143b46f1
more merged pmax/mips header files: types.h
...
Replace header files from src/sys/arch/pmax/include/ with versions that
include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
1996-03-19 05:18:26 +00:00
jonathan
e1373a1fbf
Replace the following additional header files from src/sys/arch/pmax/include/
...
with versions that include equivalent files from <mips/include>,
after merging changes from the pmax and pica ports into the
src/sys/arch/mips/include tree.
ptrace.h cdefs.h pmap.h signal.h kdbparam.h
1996-03-19 04:39:01 +00:00
jonathan
d2c42783a3
Add trap definitions added for the r4000 port.
...
Note: T_USER is different in the pmax and pica ports!
1996-03-19 04:34:57 +00:00
jonathan
ac7c6304db
Add eight 32-bit (XXX) words of reserved space to struct sigcontext,
...
for binary compatibilty with the pica port.
1996-03-19 04:22:04 +00:00
jonathan
ad4d94c4f3
Change "pmax_xxx" macros to "mips_xxx" macros, in preparation
...
for moving to src/sys/arch/mips/include/pmap.h.
1996-03-19 04:15:15 +00:00
jonathan
648169b854
Kernel config file for source code shared by mips-based NetBSD ports.
1996-03-19 03:26:29 +00:00
jonathan
ed6c35ae96
Replace the following header files from src/sys/arch/pmax/include/
...
with versions that include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
bsd-aout.h elf.h endian.h exec.h float.h ieeefp.h limit.h pcb.h proc.h
profile.h reg.h regdef.h setjmp.h stdarg.h vmparam.h
1996-03-19 03:06:28 +00:00
jonathan
23e6b87149
Replace the following header files from src/sys/arch/pmax/include/
...
with versions that include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
[bsd-aout.h elf.h endian.h exec.h float.h ieeefp.h limit.h pcb.h proc.h]
[profile.h reg.h regdef.h setjmp.h stdarg.h vmparam.h]
plus (missed one:)
ecoff.h
1996-03-19 03:06:27 +00:00
jonathan
234b085111
Replace the following header files from src/sys/arch/pmax/include/
...
with versions that include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
bsd-aout.h elf.h endian.h exec.h float.h ieeefp.h limit.h pcb.h proc.h
profile.h reg.h regdef.h setjmp.h stdarg.h vmparam.h
1996-03-19 03:06:27 +00:00
jonathan
dcb272ef6e
Remove pmax-specific CLK_TICK to prepare for moving to sys/arch/mips.
1996-03-19 02:45:48 +00:00
jonathan
b495cef581
Add additional mips CPU and FPU ids from Pica port:
...
IDT r3081 family, r4600, MIPS-IV architecture, others.
1996-03-19 02:42:28 +00:00
jonathan
1cc17fc971
Change "pmax" -> "mips" before moving to sys/arch/mips/include.
1996-03-19 02:12:05 +00:00
jonathan
c29eb3ea76
NetBSD's ieee FP definitions for the pmax are valid for other mips cpus;
...
change preprocessor XXX_PMAX_YYY #defines to XXX_MIPS_YYY.
1996-03-18 22:40:21 +00:00
christos
3c3a955cf2
Avoid unused label warning.
1996-03-18 21:48:19 +00:00
mark
11e435f55e
Declaration of Debugger() now matches the prototype in systm.h
1996-03-18 21:33:05 +00:00
mark
8ac78e8698
RCS Id police.
1996-03-18 21:23:09 +00:00
leo
39a234873d
Build the 'stand' directory.
1996-03-18 21:08:36 +00:00
leo
d36f15a208
Take care of the case that <start_of_video> < <memtop>
1996-03-18 21:06:19 +00:00
mark
4973a32e6d
RCS Id police.
1996-03-18 19:54:53 +00:00
mark
3689687703
RCS Id police.
1996-03-18 19:33:04 +00:00
ragge
8fa15eb73f
Ubareset are now possible, devices that wants it now set it up
...
during autoconfig. ifubareset (if_reset) no longer used, actually
it's just a normal ubareset and is now handled like that.
1996-03-18 16:47:24 +00:00
scottr
2d7b856ea6
Update to NetBSD 1.1B struct cfdriver naming conventions.
1996-03-18 06:52:54 +00:00
mhitch
d2ac60afc0
A couple more misses from the device attachment changes:
...
afcd_cd --> afsc_cd
atzsccd --> atzsc_cd
1996-03-18 04:58:36 +00:00