jonathan
18483dac78
Identical to mips/mips/fp.S except for _C_LABEL().
1997-06-22 05:10:01 +00:00
mrg
f66658c8e0
move man pages into share/man.
1997-06-22 05:05:17 +00:00
jonathan
b86aa7f311
Fix typo mips3_mips_switch_exit.
1997-06-22 04:30:01 +00:00
jonathan
67929469da
Include <mips/cpuregs.h> until we merge with arch/mips.
1997-06-22 04:09:06 +00:00
jonathan
02cdce0090
Protoypes for configure(), initcpu().
1997-06-22 04:08:06 +00:00
jonathan
4692a37162
Final changes for configuring MIPS1 and MIPS3 in a single kernel.
...
* cpuregs.h:
rename remaining VMMACH_xxx TLB macros to MIPS_TLB_xxx.
Add compile-time MIPS3-only, compile-time MIPS1-only, and
runtime (both) definitions for number of TLB ASIDs (tlb pids)
and shift count to extract a TLB pid.
* locore.h:
Delete unused vector slot for indexed TLB writes.
mips1 and mips3 TLBs are different enough that we have
to break them out at the caller anyway.
* Add compile-time MIPS3-only andcompile-time MIPS1-only
macros to call locore functions directly by name.
Use the existing method table only if
* mips/mips_machdep.c, mips/trap.c, mips/pmap.c, pmax/machdep.c:
Use MIPS3_ or MIPS1_ specific names for TLB pids in
mips3 and mips1 specific code paths (e.g., creating the kernel stack
for process 0).
Add `options MIPS3' to pmax/conf/GENERIC.
1997-06-22 03:17:37 +00:00
jonathan
a53329f500
Bump PROM-to-RTC offset hack up by one more year.
1997-06-22 01:31:45 +00:00
kleink
df92c57dc5
Change last commit to use `#error'.
1997-06-21 22:46:43 +00:00
is
2bf81e9e34
aucc.o depends on LEV6_DEFER
1997-06-21 22:13:46 +00:00
is
ff79d0a7dd
Make this fail to compile with LEV6_DEFER.
...
XXX This isn't nice, but stopping the system clock isn't nice, either.
We will repair this soon.
1997-06-21 21:52:37 +00:00
drochner
a401914d1a
"document" the new hardware support.
1997-06-21 14:43:51 +00:00
drochner
e19d907613
Support SMC Ultra.
...
The code is becoming messy...
1997-06-21 14:43:11 +00:00
drochner
faf30015a9
Support 3c900 Combo.
...
(The elink3 code works probably with other boards too, but this is what
I tested.)
1997-06-21 14:41:13 +00:00
scw
b471de3926
Deleted m68k_round_seg and m68k_trunc_seg. They're in common m68k/param.h now.
1997-06-21 11:05:34 +00:00
mhitch
a7ac6e48ad
Move the CPU-specific shift of the TLB PID into mips_r?000.S.
1997-06-21 06:32:22 +00:00
mhitch
b027d98eb5
MachHitFlushDCache is gone.
1997-06-21 04:52:26 +00:00
mhitch
edbde97cdf
Fix pmap_prefer() to work in merged for mips1/mips3.
...
Remove unused debug procedure I forgot to remove previously.
Consolidate the vm_page_free1() calls in pmap_release(). Duplicate code
was a result of the way I merged the MIPS3 support from the pica pmap.c.
Enhance the comment on flushing the cache when releasing the segmap pages,
and add a comment about the currently unused code to uncache pages in
pmap_enter_pv().
1997-06-21 04:36:22 +00:00
mhitch
478559dd28
Merged mips1/mips3: cache alias test in pagemove().
1997-06-21 04:24:45 +00:00
mhitch
51d10edcf2
Restore a lost (int) case in DELAYBRANCH macro - test for BR delay in
...
unsigned cause register wouldn't have worked.
Add missing ')' in trapdump that shows up when compiled with DEBUG.
Fix (unfix?) previous change to printf formats in mips3_dump_tlb: vad_to_pfn
is now consistant with single-CPU and merged-CPU support.
1997-06-21 04:18:29 +00:00
jonathan
68863ebd8e
More mips1/mips3 changes to cpuregs.h and psl.h:
...
* cpuregs.h:
Delete unused VMMACH_ names (e.g., duplicates of PTE bits in pte.h).
Change remaining VMMACH_xxx names to MIPS1_xxx or MIPS3_xx.
Fold remaining compile-time definitions into a single #ifdef MIPS3.
* Use MIPS1_ names in locore_r2000.S, mips3_ names in locore_r4000.S
* Garbage-collect MachHitFlushDCache()
* psl.h:
use MIPS1_, MIPS3_ symbolic names for Cause register bits.
change _R3K to MIPS1_, _R4K to MIPS3. Conditionalize for mips1 only,
mips3 only, or when both are defined, use runtime CPUISMIPS3 test.
1997-06-21 04:18:09 +00:00
mhitch
e03cf7a95c
Cast mips1-only and mips3-only pfn_to_vad() macros to match the mips1/mips3
...
merged inline function. Fixes inconsist printf format usage in trap.c.
1997-06-21 04:10:42 +00:00
is
4b718644a7
Add RCS ids, and clean up some unused in newstyle audio hardware drivers
...
functions.
1997-06-20 21:45:11 +00:00
jonathan
63b4439556
Correct cast type on mips3_MachHitFlushDCache().
1997-06-20 07:35:03 +00:00
cjs
ecada6375b
bzero() wants pointers, not ints, for its first arg.
1997-06-20 07:06:43 +00:00
jonathan
5ed24fd4b4
trapDump(): compute accurate mask for EXC_CODE from CPU type at runtime.
1997-06-20 05:15:36 +00:00
jonathan
c6c2263566
MachHitFlushDCache -> mips3_HitFlushDCache().
...
Add XXX reminder to d-cache flush I don't understand.
1997-06-20 04:34:38 +00:00
scottr
ecc68fd60f
Disassemble the MOVE16 instruction. Also, correct the spelling of
...
`unknown' while were here, as suggested. From Denny Gentry
<denny1@home.com>, PR 3567.
1997-06-19 17:39:38 +00:00
scottr
b43dd86019
Mask off page offset when building a pte for mapping the
...
framebuffer; from Walter Ruetten, closes PR 3147.
1997-06-19 17:00:02 +00:00
drochner
cc7a41e5d2
Weaken the restrictions on the device file name a bit: /boot can
...
now be installed on any partition.
Allow PRIM_LOADSZ to be set in the Makefile.
This together allows to make bootable 720k floppys.
closes PR port-i386/3751
1997-06-19 11:46:44 +00:00
mhitch
9b445e15ea
Use same cachesize variables for mips1 and mips3, and rename the variables
...
per Jonathan's request.
Remove switch_exit() declaration - it's now called via the locore jump vector.
1997-06-19 06:34:16 +00:00
mhitch
4fa507b4fc
More merged mips1/mips3 support:
...
Remove cpu-specific routines from locore.S and add them to locore_r2000.S
and locore_r4000.S. Add entries in locore jump vector table for switch_exit()
and the cpu_switch() context resume.
Add offsets into the jump vector to genassym.cf for use in locore.S.
1997-06-19 06:31:14 +00:00
mhitch
df0701481f
Use same cachesize variables for mips1 and mips3, and rename the variables
...
per Jonathan's request.
1997-06-19 06:30:47 +00:00
mhitch
129320c2ca
More merged mips1/mips3 support:
...
Remove cpu-specific routines from locore.S and add them to locore_r2000.S
and locore_r4000.S. Add entries in locore jump vector table for switch_exit()
and the cpu_switch() context resume.
Add offsets into the jump vector to genassym.cf for use in locore.S.
Use same cachesize variables for mips1 and mips3, and rename the variables
per Jonathan's request.
1997-06-19 06:30:03 +00:00
pk
fe15d6603a
Remove spurious line left over in previous commit.
...
Also, use parentheses like in <dev/isa/wd.c>
1997-06-18 22:25:53 +00:00
pk
6b976a7d46
rzsize(): call rzopen()/rzclose() if not yet open, per the
...
current `openmask'.
1997-06-18 22:19:13 +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
pk
f5bf0d3701
wdsize(): only call wdopen()/wdclose() if not already open, per the
...
current `openmask'.
1997-06-18 20:39:55 +00:00
jonathan
1c2727195c
Add explicit function-return types.
1997-06-18 13:19:33 +00:00
jonathan
21dc79b2b5
Add fillw() from old Pica locore.
1997-06-18 13:16:13 +00:00
jonathan
a066eecaf8
MachHitFlushDCache() -> mips3_HitFlushDCache() outside pmap.c.
1997-06-18 04:51:15 +00:00
jonathan
a1085c85ae
typo.
1997-06-18 04:23:52 +00:00
jonathan
bbc40c6757
RCS id police.
...
Add a copyright, and a copy of the copyright from the 4.4BSD locore,
from which this is a derived work (as the CVS logs show).
1997-06-18 04:23:14 +00:00
mhitch
b61d107b9b
Save and restore usermode PC to/from current pcb instead of the RA slot of
...
the stack frame when usermode interrupt occurs. The interrupt may have
modified the PC [such as sendsig()]. This got dropped with the stackframe
changes.
1997-06-18 04:07:06 +00:00
cgd
75979242d2
clean up spacing before a few DPRINTFs. Also, make the no-32-bit-support
...
cases uniformly DPRINTF'd and also distinguished by using slightly different
strings for each.
1997-06-17 06:06:25 +00:00
mhitch
806f730e87
Remove stray macro definition; didn't hurt for MIPS1 only, but wrong for
...
MIPS3.
1997-06-17 04:12:38 +00:00
mhitch
fb16ddddc7
Fix printf format/argument mismatches.
1997-06-17 04:11:33 +00:00
mhitch
6df1fecbce
Virtual coeherency exception handler fixes:
...
Remove old code now that the new version is working.
Correct typo for 16K cache (R4400).
Align the saved AT register location; seems to hang if not aligned on 8
byte boundry.
1997-06-17 04:10:19 +00:00
jonathan
b903dc73da
Fix locore cache variables. (Should these be exported from locore at all?)
1997-06-17 01:40:13 +00:00
jonathan
4506da9ebd
Check for '#ifdef MIPS1', not '#ifndef MIPS3', since we can now have both.
...
Add runtime check for 'if (CPUISMIPS3)' inside #ifdef MIPS3.
Add runtime check for 'if (!CPUISMIPS3)' inside #ifdef MIPS1.
1997-06-17 01:38:21 +00:00
is
2c7d61677f
Only check for kernel bus probes when we are sure it is a bus error.
...
(As a side effect, this moves the testing decision out of the main path
of the page fault code.)
1997-06-17 00:34:11 +00:00
is
5d784f73b2
Forgotten part of the 68060+bootblock+stupid ROM support: tell locore.s
...
that we're using BB060STUPIDROM.
1997-06-17 00:17:26 +00:00
jonathan
3d2676b809
Garbage-collect '#include <machine/pte.h>'.
1997-06-16 23:52:06 +00:00
jonathan
fef3e76b31
Changes for configuring both MIPS1 and MIPS3, from a merge of
...
similar design and code by Jason Thorpe and Jonathan Stone.
NOTE: the kernel-stack-switching code and cacheflush() calls in
locore.S still use #ifdef MIPS3 and need more work.
mips/include/cpu.h:
Add CPUISMIPS3 for run-time tests of what CPU architecture level
we're running on.
mips/include/locore.h:
Add declarations of locore cache-size variables for ref/def toolchain.
mips/include/mips1_pte.h:
mips1 TLB bit definitions.
mips/include/mips3_pte.h:
mips3 TLB bit definitions.
mips/include/pte.h:
define accesor macros for TLB bits (e.g., mips_pg_m_bit(),
that expand to CPU constants if only one CPU arch is configured,
or to inline functions if both MIPS1 and MIPS3 are configured.
mips/mips/locore_r2000.S:
Use MIPS1_PG_xxx constants inside mips1-specific code.
mips/mips/locore_r4000.S:
Use MIPS3_PG_xxx constants inside mips3-specific code.
mips/mips/locore.S:
Use MIPS1_PG_xxx constants inside mips3-specific code.
Use MIPS1_PG_xxx constants inside mips1-specific code.
(Needs more work!)
mips/mips/{pmap.c,vm_machdep.c,trap.c}, pmax/pmax/machdep.c:
Use MIPS3_PG_xxx constants inside mips3-specific functions,
and MIPS1_PG_XXX inside mips1-specific code.
Otherwise, use mips_pg_XXX_bit() macros where they apply,
and use "if (CPUISMIPS3) { ... } else {... }" where they don't.
mips/mips/mips_machdep.c:
Import Michael Hitch's fixes from the pmax locore-init code
into mips_vector_init().
pmax/pmax/machdep.c:
Use generic mips_vector_init() locore vector-init function.
1997-06-16 23:41:40 +00:00
is
483b07bee4
Add option BB060STUPIDROM, which makes the early kernel startup probe for
...
an 68060/68LC060, possibly switching on the 68060 FPU, instead of trusting
the value passed from the ROM OS to us by the bootblock.
Most 68060 boards, unlike the DraCo (which seems to have heavily patched OS
ROMs) don't set the AMIGA_68060 flag; instead, upon detecting an 68060, its
FPU is disabled to make the ROM scheduler work, and at a much later time (at
least, later than bootblock booting time), the "68060.library" installs the
Motorola 68060 software support, patches the scheduler for the 68060 FPU, and
re-enables the FPU.
Maybe this will be fixed one day, if Amiga International sells upgraded OS
ROMs which know about the 68060. Until then, and for legacy machines, this
kludge is needed if we want to boot a non-DraCo 68060.
Btw, thats why this is NOT in std.amiga, but in GENERIC; the DRACO
configuration doesn't need it (and I still plan to make std.draco go away).
1997-06-16 21:12:38 +00:00
mrg
5dad1a32a4
move installboot.8 into src/share so everyone builds it.
1997-06-16 13:58:24 +00:00
is
1445a45c28
Moved manpage to share/man/man8/man8.amiga
1997-06-16 13:39:48 +00:00
jonathan
2eec9b0bc3
Back out previous change:
...
Add placeholder for Ted Lemon's years-old-but-new cursor-movment range checks.
1997-06-16 09:53:14 +00:00
jonathan
eb1d8427cc
Garbage-collect redundant declarations:
...
mips/include/locore.h:
Add prototypes for HitFlushDCache() functions. Moe cpu_prid definition here.
mips/include/cpu.h:
remove cpu_prid definition.
pmax/pmax/machdep.c:
remove local protoypes of HitFlushDCache() functions.
mips/mips/vm_machdep.c, mips/mips/vm_machdep.c::
remove local protoypes of HitFlushDCache() functions.
1997-06-16 09:50:26 +00:00
jonathan
b0e19a6a74
Set model string for 5000/150 (kmin with r4000 daughterboard).
1997-06-16 09:19:25 +00:00
jonathan
1b10e8336c
Drop in pmspoll() from NetBSD-current/i386 pms.c.
1997-06-16 09:12:14 +00:00
jonathan
79d31e9983
Delint pica Sonic driver, pass 0:
...
* Finish new ARP (struct ethercom) changes.
Some references to sc_ac were left danglnig.
* Include if_dl.h and if_media.h.
* Delint printf() messages: int vs. long , int vs. pointer.
* Delete unused variables.
1997-06-16 08:44:30 +00:00
jonathan
1bd86a07d6
First delint pass of old NetBSD/pica device drivers:
...
* add prototypes to <dma.h> for the per-device dma-setup functions.
* MachEmptyWriteBuffer() -> wbflush(). Also #include <bus.h>,
so that wbflush() expants to the locore callback vector entrypoint.
1997-06-16 08:41:15 +00:00
jonathan
2d10220f8f
Yet more mips1/mips3 merging:
...
Move mips-specific pmap definitions (PMAP_PREFER for mips3, declaratin
of pmap_bootstrap() for the system-specific machdep.c) from
arch/pmax/include/pmap.h to arch/mips/include/pmap.h.
1997-06-16 07:47:42 +00:00
jonathan
df6533a42e
Fix idempotent inclusion test macro: _MACHCONST -> _MIPS_CPUREGS_H_
...
to avoid collision with obsolete Sprite-derived NetBSD/pica header file.
1997-06-16 07:41:08 +00:00
jonathan
de475d3704
Rescuscitate after bitrot:
...
* rewrite findroot() based on NetBSD 1.2F i386 findoot().
* Rewrite makebootdev() to use struct devnametodevmaj pica_nam2blk[].
Previous changes changed the `devname' char array and findroot()
bot not makebootdev().
* Add prototypes, delint for gcc -Wall.
1997-06-16 07:35:46 +00:00
scottr
9dfb9a7f87
Add support for Mouse Systems A3 mouse. From Colin Wood.
1997-06-16 06:35:26 +00:00
jonathan
5db35a8cce
Yet more merging:
...
* Move declaration of locore communcation variables (CPU family,
cache sizes, etc) to mips/include/locore.h. Delete from
pmax/include/cpu.h and older versions from pica/include/cpu.h.
* Move definitions of CLKF_BASEPRI, CLKF_USERMODE to mips/include/cpu.
* Delete duplicate definitions in pica/include/cpu.h, pmax/include/cpu.h.
1997-06-16 06:17:25 +00:00
jonathan
8ccf9122e4
Garbage-collect MIPS_3K_xxx, MIPS_4K_xxx outidde mips/include/cpuregs.h:
...
MIPS_3K_xxx -> MIPS1_xxx
MIPS_4K_xxx -> MIPS3_xxx
1997-06-16 05:37:32 +00:00
jonathan
3409ae8dcd
Garbage-collect <machine/locore.h>
1997-06-16 04:30:15 +00:00
jonathan
157d46c672
Commit addition of `#include <mips/locore.h>' to pmax/include.bus.h.
1997-06-16 04:22:15 +00:00
jonathan
c34f92cbd1
<machine/locore.h> -> <machine/bus.h>
1997-06-16 04:18:57 +00:00
jonathan
59c33b9f85
Garbage-collect #include <machine/machConst.h>.
1997-06-16 03:52:37 +00:00
jonathan
d3ecedb9fb
Garbage-collect non-jumptable prototype for wbflush().
1997-06-16 03:52:08 +00:00
jonathan
2557a6fa43
GC more old header files:
...
<machine/locore.h> -> <mips/locore.h>
<machine/mips_opcode.h> -> <mips/mips_opcode..h>
1997-06-16 03:29:07 +00:00
jonathan
2520d0a604
Remove genassym.c. (pmax has used genassym.cf for some time.)
1997-06-16 02:58:28 +00:00
jonathan
f4dc901780
Use #include <machine/bus.h> in pmax device drivers.
...
Garbage-collect `#include <pmax/locore.h>' lines.
1997-06-16 02:53:23 +00:00
jonathan
817af928bf
Add placeholder for Ted Lemon's years-old-but-new cursor-movment range checks.
1997-06-16 02:18:47 +00:00
jonathan
cd48c79960
Remove the machConst.h (wrapper for Sprite-derived source), and all
...
#includes <machine/machConst.h> uses.
Other header files now include <mips/cpuregs.h> where necessary.
1997-06-16 01:45:05 +00:00
jonathan
c6b9463cd1
Remove all references to <machine/machAsmDefs.h>.
...
Use #include <mips/asm.h> instead.
1997-06-16 01:23:56 +00:00
jonathan
f8b757f8f4
Remove. Already copied to arch/mips/mips/fp.S.
1997-06-16 01:14:50 +00:00
jonathan
15628b2d97
Move merged pmax psl.h with mips1/mips3 support to mips/include/psl.h.
...
Change pmax/include/psl.h to just do #include <mips/psl.h>.
pmax/include/psl.h would go away completely if it wasn't stil required
by compat/common/kern_exit_43.c.
1997-06-16 01:10:03 +00:00
jonathan
8e5f767c50
Use generic MIPS pmap vm_machdep.c
1997-06-16 00:35:10 +00:00
jonathan
5d94de1a79
Moved to arch/mips/mips/ with CVS revsion history.
1997-06-16 00:17:27 +00:00
jonathan
747e2b5e7e
Generic mips pmap/vm code: move the merged pmax mips1/mips3 vm_machdep
...
and pmap code to arch/mips/mips.
Use <mips/XXX.h> header files, not <machine/XXX.h>.
1997-06-16 00:16:08 +00:00
is
4a4420172f
Actually commit the sample rate to the hardware.
...
While we're here, add missing parts of (software encoded) ULINEAR encoding.
1997-06-15 23:05:43 +00:00
jonathan
8a00c90491
Remove old 4.4bsd/pmax rules and targets.
1997-06-15 22:53:49 +00:00
is
c577eb43ec
A bit more of KNF.
1997-06-15 21:11:33 +00:00
veego
2b9117da0a
Add a missing ; if CV64CONSOLE is undefined.
1997-06-15 21:09:10 +00:00
scottr
db9068c773
Don't call Debugger() if we don't have ddb. Fixes PR 3744.
1997-06-15 20:34:15 +00:00
scottr
36b75f2735
Update from Denny Gentry <denny1@home.com>, PR 3685:
...
Simplify the way transmit buffers are managed, remove assumptions about
NBPG, simplify sonic_get handling, update snioctl to be more like other
current drivers, and probably a few other changes I've now forgotten about.
1997-06-15 20:20:07 +00:00
mhitch
987abc8e3d
When trying to find the boot partition, look at all partitions marked as ffs
...
or swap partitions. Booting from a miniroot on the swap partition will
detect the miniroot as the boot partition (if the bootblock loader passes
the boot partition offset to the kernel).
1997-06-15 19:16:37 +00:00
mhitch
ab0eff4a87
From Toru Nishimura: _FORKBRAINDAMAGE is gone, user process entered through
...
proc_trampoline().
More merged MIPS1/MIPS3 support.
1997-06-15 18:21:17 +00:00
mhitch
f42f8eb4e6
More merged MIPS1/MIPS3 support - from pica pmap.c
1997-06-15 18:19:47 +00:00
mhitch
bbd8bca4a4
More merged MIPS1/MIPS3 support for DECstations.
...
From Toru Nishimura: separate out FP registers in user pcb.
1997-06-15 18:18:57 +00:00
mhitch
4eb69e0839
DECstation MIPS3 support: wbflush() is cpu-dependent, need declaration from
...
machine/locore.h.
1997-06-15 18:03:24 +00:00
mhitch
76f5c2a6c6
More merged MIPS1/MIPS3 support for DECstations.
1997-06-15 18:02:20 +00:00
mhitch
74245805bb
DECstation MIPS3 support: wbflush() is cpu-dependent, need declaration from
...
machine/locore.h.
1997-06-15 17:58:56 +00:00
mhitch
6b75aad4ca
From Toru Nishimura: exception trapframe changes, separate out syscall
...
processing from generic trap processing, _FORKBRAINDAMAGE is gone -
user process entered through proc_trampoline(), mini-debugger from pica
port.
More merged MIPS1/MIPS3 support for DECstations.
1997-06-15 17:49:53 +00:00
mhitch
a5c7f52094
More merged MIPS1/MIPS3 support. Added wbflush() and proc_trampoline() to
...
locore vector. Display level 2 (secondary) cache size.
1997-06-15 17:47:46 +00:00
mhitch
6748462623
From Toru Nishimura: _FORKBRAINDAMAGE is gone, user process entered through
...
proc_trampoline(); move away from UADDR access to user structure.
From Toru Nishimura: exception trapframe changes, mini-debugger from pica
port, separate out syscall exception.
DECstation MIPS3 support: wbflush() is cpu-dependent, MIPS3 level 2 cache
support.
1997-06-15 17:44:46 +00:00
mhitch
501b5e6892
From Toru Nishimura: adjust for struct user pcb changes.
1997-06-15 17:40:03 +00:00
mhitch
386cf35c8d
From Toru Nishimura: exception trapframe changes.
1997-06-15 17:37:45 +00:00
mhitch
27f717cdb8
From Toru Nishimura: user pcb/proc changes for exception handling and
...
removing access through UADDR.
1997-06-15 17:36:24 +00:00
mhitch
ffb95ac852
DECstation MIPS3 support: wbflush() is cpu-dependent, need declaration from
...
machine/locore.h.
From Toru Nishimura: _FORKBRAINDAMAGE is gone, user process entered through
proc_trampoline() [also cpu-dependent].
1997-06-15 17:33:53 +00:00
mhitch
75b0c4777c
From Toru Nishimura: _FORKBRAINDAMAGE is gone, user process entered through
...
proc_trampoline().
1997-06-15 17:28:46 +00:00
mhitch
c06eb27dc9
More merged MIPS1/MIPS3 support: still only allows single-architecture
...
support.
1997-06-15 17:27:03 +00:00
mhitch
fb6d59052e
More merged MIPS1/MIPS3 support. The pte definitions still need work before
...
they can be support both MIPS1 and MIPS3.
1997-06-15 17:24:22 +00:00
mhitch
4ccdbb1c9e
Don't return error status on recoverable errors
1997-06-15 17:17:07 +00:00
mhitch
0a9912635f
From Toru Nishimura: don't assemble pmax buffer copy routine if not
...
configured for DS2100/DS3100.
1997-06-15 16:57:57 +00:00
mhitch
8059cbb275
Use TC_SPEED* for turbochannel speed values (keeps me from being confused
...
more than I am).
1997-06-15 16:53:40 +00:00
mhitch
56b72a34f3
Since locore_r2000.S and locore_r4000.S are included by locore.S, they need
...
to be included in the dependency list for locore.o.
1997-06-15 16:27:47 +00:00
mhitch
d2ce63e3bc
DECstation MIPS3 support: a GENERIC config file for the R4000/R4400-based
...
DECstations.
1997-06-15 16:21:19 +00:00
mhitch
074ad77297
Correct an #endif comment to match the #if comment.
1997-06-15 16:18:29 +00:00
jonathan
62e846995f
findroot() fix for kernels configured "root on ? type ?" (i.e., disk)
...
that are booted via MOP or tftp:: if we don't find a block device name
that matches bootdev, give up and let setroot() force RB_ASKNAME.
1997-06-15 11:23:52 +00:00
jonathan
957e3b4622
Turn on -Wall -Weror and -Wstrict-prototypes -Wmissing-prototypes.
...
Turn off warnings for uninitialized variables to avoid spurious warnings.
1997-06-15 01:20:59 +00:00
jonathan
070deac2d1
Use standard symbolic register names in stacktrace() and logstacktrace().
1997-06-15 01:18:25 +00:00
jonathan
8e854e11d1
Rewrite stack traceback printing (stacktrace()) and logging(logstacktrace()
...
wrappers for stacktrace_subr() in assembly code to avoid prototype conflicts.
1997-06-15 01:08:16 +00:00
is
b14e608272
Amiga custom chip audio hardware driver, by Stefan Thesing
...
(thesing@cs.uni-sb.de ), heavily hacked upon by me to
- make it work with -current audio system
- make it shut off Amiga audio DMA only at appropriate places.
XXX A couple of bugs still remain, which well be handled later.
XXX Among them: only mono output; doesn't refuse to handle input, but chokes;
will not play last millichunk (is this 20 ms?) of data.
1997-06-14 22:24:02 +00:00
mycroft
78408dc12d
Make sure we can't open a device that doesn't exist.
1997-06-14 11:38:30 +00:00
mycroft
e7a3f1ab43
Pass only a subregion of the I/O space to the joy driver, which covers the
...
normal single port.
1997-06-14 11:35:37 +00:00
perry
28fd103fd9
Temporarily disable wds driver. The driver statically allocates a huge
...
bounce buffer, which breaks installs on 4Meg machines using the new
ramdisk install system. We'll bus_dma the driver and then it should be
fine to put back in to the normal INSTALL kernel.
1997-06-14 06:23:47 +00:00
perry
9c487327a3
Update for new RAMDISK based install system.
1997-06-14 02:07:08 +00:00
drochner
444a854ad2
Separate access to filesystem and access to raw device, mount
...
device only if needed. This allows to work on unmounted disks in
securelevel 1.
1997-06-13 22:14:58 +00:00
drochner
a0d9d3bc54
Allow to boot from DOS if a XMS manager is installed.
...
XMS is recognized and used as temporary buffer for the kernel image.
The processor must still be in real mode at program start, so EMM386
or QEMM are not allowed. W*95 is OK.
Written by Martin Husemann (pr port-i386/3336).
Completely separated from other bootloaders for sanity.
1997-06-13 17:49:22 +00:00
ragge
2ab0792e74
Bug fixes to page fault handling system. Many thanks to Johnny Billquist
...
for hunting down this bug(s).
1997-06-13 15:16:25 +00:00
ragge
5c3a8f6b46
Not-yet-finished console RX01 driver for 11/780.
1997-06-13 14:55:07 +00:00
drochner
5af5a7c097
Remove strerror() prototype, it goes into stand.h.
1997-06-13 13:48:47 +00:00
drochner
d0bb0480b7
Remove bzero() prototype, it goes into libkern.h.
1997-06-13 13:45:50 +00:00
drochner
715639165d
Use default media selection from EEPROM.
1997-06-13 13:44:37 +00:00
drochner
7713cd3fb6
Fix misleading comment.
1997-06-13 13:43:05 +00:00
drochner
e82115f7f4
Add missing datasize prefix.
1997-06-13 13:42:27 +00:00
drochner
e242b6fe17
Reformat comments. (messed up by "indent")
...
-Wall fixes
1997-06-13 13:41:20 +00:00
drochner
d55d9adc84
Reformat comments. (messed up by "indent")
1997-06-13 13:36:04 +00:00
drochner
ec191bc613
Fix operand size confusion in 16-bit code.
1997-06-13 13:32:09 +00:00
drochner
2d36b26ee0
The socket descriptor can only be used by one connection at a time.
...
Simplify the code accordingly.
1997-06-13 13:28:19 +00:00
drochner
44079e2f16
Remove strerror() prototype, it goes into stand.h.
...
Pass console selection to exec_netbsd().
1997-06-13 13:25:25 +00:00
drochner
906ad4efef
Remove strerror() prototype, it goes into stand.h.
1997-06-13 13:22:08 +00:00
drochner
771175f3d8
Remove some relicts from the time before libsa/Makefile got
...
"SAMISCCPPFLAGS".
Enable -Wall.
1997-06-13 13:17:46 +00:00
drochner
1b787da26a
Force inclusion of "diskbuf" into bootsectors.
...
This allows to build bootsectors containing netboot code
("make netboot.sym" in the netboot directory).
1997-06-13 13:12:29 +00:00
ragge
9412f1c4fc
Some new definitions for different boot devices.
1997-06-13 08:24:09 +00:00
ragge
68a4a97360
Add clock_subr.c.
1997-06-13 08:18:49 +00:00
thorpej
dacadc3aff
Add the ext2fs file system.
1997-06-13 00:44:13 +00:00
thorpej
9e69444bbd
Nuke __VM_PMAP_HACK.
1997-06-12 23:57:26 +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
1258c8d25b
remove now obsolete "swap on..." lines.
1997-06-12 18:41:58 +00:00
ragge
5cfff50811
cpu_switch() should be mi_switch(). Pointed out by Johnny Billquist.
...
(bqt@update.uu.se )
1997-06-12 16:23:22 +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
veego
a8536aa57a
Use <sys/param.h> and not <machine/param.h>
1997-06-12 09:57:04 +00:00
veego
dc2c2bf304
Use '#options<SPACE><TAB>' for EXT2FS_SYSTEM_FLAGS and add the empty line
...
before '#options GATEWAY'.
1997-06-12 07:05:49 +00:00
perry
08cd1e4c5d
clean up the formatting of the ext2fs lines a bit.
1997-06-11 21:05:41 +00:00
is
650ce78c8c
Make more clear what installbot can't do, and the user must do by hand from
...
AmigaOS, when installing bootblocks.
1997-06-11 16:01:59 +00:00
bouyer
f5aa30a996
Add file-system ext2fs and related options.
1997-06-11 10:54:53 +00:00
kleink
c41a940888
GC obsolete MDP_AST flag.
1997-06-11 08:58:09 +00:00
kleink
f29570aa3a
Do not #include the removed <machine/mtpr.h> any more. These definitions are
...
already living in <machine/cpu.h>.
1997-06-11 08:46:55 +00:00
kleink
a10178c21e
GC this file. It has been unused for quite a while.
1997-06-11 08:42:31 +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
61e0a78f37
s/mac68k_btop/m68k_btop/
1997-06-10 20:29:10 +00:00
veego
af1627ce0b
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 20:20:06 +00:00
veego
e32543e434
s/x68k_btop/m68k_btop/
1997-06-10 20:19:35 +00:00
veego
7cb125a0b0
s/x68k_round_page/m68k_round_page/ s/x68k_trunc_page/m68k_trunc_page/
...
s/x68k_btop/m68k_btop/ s/x68k_ptob/m68k_ptob/
1997-06-10 20:18:35 +00:00
veego
c8863019ed
s/x68k_trunc_page/m68k_trunc_page/ s/x68k_btop/m68k_btop/
...
s/x68k_ptob/m68k_ptob/
1997-06-10 19:51:47 +00:00
veego
ba2763943f
s/x68k_btop/m68k_btop/
1997-06-10 19:50:23 +00:00
veego
f66de196f8
s/x68k_trunc_page/m68k_trunc_page/
1997-06-10 19:49:32 +00:00
veego
3aed12bd06
Delete _btos and _stob.
...
The remaining 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 19:48:33 +00:00
veego
8a19759073
s/_round_page/m68k_round_page/
1997-06-10 19:47:34 +00:00
veego
6cf26b26ae
s/_round_page/m68k_round_page/ s/_trunc_page/m68k_trunc_page/
...
s/_btop/m68k_btop/ s/_ptob/m68k_ptob/
1997-06-10 19:42:25 +00:00
veego
6dbfc7764b
s/_round_page/m68k_round_page/
1997-06-10 19:37:58 +00:00
veego
b1dc6a8603
s/_trunc_page/m68k_trunc_page/
1997-06-10 19:36:53 +00:00
veego
489e0898d3
Delete _btos and _stob.
...
The remaining 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 19:35:56 +00:00
veego
05b8948c41
Define NBSG from (1 << SEGSHIFT) and move some variables before
...
<m68k/param.h>.
1997-06-10 19:32:15 +00:00
veego
6bdd438fca
s/_round_page/m68k_round_page/
1997-06-10 19:27:08 +00:00
veego
4ef51880a6
s/_round_seg/m68k_round_seg/ s/_trunc_seg/m68k_trunc_seg/
...
s/_round_page/m68k_round_page/ s/_trunc_page/m68k_trunc_page/
1997-06-10 19:25:28 +00:00
veego
faa86d39b1
s/_trunc_seg/m68k_trunc_seg/ s/_round_page/m68k_round_page/
1997-06-10 19:19:01 +00:00
veego
04374fdfc2
s/_round_seg/m68k_round_seg/ s/_round_page/m68k_round_page/
1997-06-10 19:17:15 +00:00
veego
217706ec40
s/_trunc_page/m68k_trunc_page/
1997-06-10 19:16:13 +00:00
veego
d9f8fea042
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 19:15:03 +00:00
veego
6d72d4542c
s/mac68k_btop/m68k_btop/
1997-06-10 19:13:36 +00:00
veego
e4b7dd88ce
s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
...
s/mac68k_btop/m68k_btop/ s/mac68k_ptob/m68k_ptob/
1997-06-10 19:11:26 +00:00
veego
ef9394e96d
s/mac68k_trunc_page/m68k_trunc_page/ s/mac68k_btop/m68k_btop/
...
s/mac68k_ptob/m68k_ptob/
1997-06-10 19:09:05 +00:00
veego
f4068b5345
s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
1997-06-10 19:03:38 +00:00
veego
0dc0a3ca5e
s/mac68k_btop/m68k_btop/
1997-06-10 19:02:33 +00:00
veego
dd62be796a
s/mac68k_trunc_page/m68k_trunc_page/
1997-06-10 19:01:35 +00:00
veego
0cd13fe0b5
s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
...
s/mac68k_btop/m68k_btop/
1997-06-10 19:01:00 +00:00
veego
be611a44d5
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 18:59:12 +00:00
veego
323d575e58
s/hp300_btop/m68k_btop/
1997-06-10 18:58:19 +00:00
veego
3360f97707
s/hp300_round_page/m68k_round_page/ s/hp300_trunc_page/m68k_trunc_page/
...
s/hp300_btop/m68k_btop/ s/hp300_ptob/m68k_ptob/
1997-06-10 18:56:50 +00:00
veego
a969a4b6f6
s/hp300_trunc_page/m68k_trunc_page/ s/hp300_ptob/m68k_ptob/
1997-06-10 18:52:23 +00:00
veego
6a57e397b7
s/hp300_btop/m68k_btop/
1997-06-10 18:51:31 +00:00
veego
fb53429628
s/hp300_round_page/m68k_round_page/ s/hp300_trunc_page/m68k_trunc_page/
1997-06-10 18:49:35 +00:00
veego
f1d4880cb5
s/hp300_trunc_page/m68k_trunc_page/
1997-06-10 18:48:47 +00:00
veego
6304388ee4
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 18:47:21 +00:00
veego
011ba826e7
s/atari_btop/m68k_btop/
1997-06-10 18:46:30 +00:00
veego
b04f321b06
s/atari_round_page/m68k_round_page/
1997-06-10 18:45:05 +00:00
veego
48ac6b6866
s/atari_round_page/m68k_round_page/ s/atari_trunc_page/m68k_trunc_page/
1997-06-10 18:43:46 +00:00
veego
a4c1cd0649
s/atari_round_seg/m68k_round_seg/ s/atari_trunc_seg/m68k_trunc_seg/
...
s/atari_round_page/m68k_round_page/ s/atari_btop/m68k_btop/
s/atari_ptob/m68k_ptob/
1997-06-10 18:41:13 +00:00
veego
0fb1053663
s/atari_trunc_page/m68k_trunc_page/
1997-06-10 18:39:11 +00:00
veego
337441ce5f
s/atari_round_page/m68k_round_page/
1997-06-10 18:37:50 +00:00
veego
42395ee36b
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 18:36:32 +00:00
veego
d3c01fde2c
s/amiga_btop/m68k_btop/
1997-06-10 18:34:52 +00:00
veego
2e45a6e310
s/amiga_round_page/m68k_round_page/
1997-06-10 18:30:28 +00:00
veego
7097d0f71e
s/amiga_round_page/m68k_round_page/ s/amiga_btop/m68k_btop/
...
s/amiga_trunc_seg/m68k_trunc_seg/ s/amiga_round_seg/m68k_round_seg/
s/amiga_ptob/m68k_ptob/
1997-06-10 18:26:41 +00:00
veego
d35d17a7c0
s/amiga_trunc_page/m68k_trunc_seg/
1997-06-10 18:24:34 +00:00
veego
b62ba16540
s/amiga_round_page/m68k_round_page/
1997-06-10 18:22:24 +00:00
veego
f7d1a9f167
Add the 'Mach derived conversion macros' from <arch>/include/param.h.
1997-06-10 18:21:23 +00:00
veego
931d90fcee
Use the MI <m68k/param.h> include.
1997-06-10 07:54:35 +00:00
veego
451bfcbc85
New MI include file. Based on the param.h from all m68k ports.
1997-06-10 07:51:43 +00:00
jonathan
f89e57aee7
Add sys_sysarch() calls for the standard mips userspace cache-control calls.
1997-06-09 11:46:16 +00:00
is
b3b47459fe
Fix typo.
1997-06-09 10:37:11 +00:00
jonathan
19e4111ef7
Move the mips sys_machdep.c from pmax/pmax to mips/mips, to enforce a
...
common sysarch on all mips ports.
1997-06-09 02:14:56 +00:00
veego
68bc1316cc
Initialize machine_arch from MACHINE_ARCH.
1997-06-09 00:04:03 +00:00
veego
6ab737a609
Initialize machine from MACHINE and machine_arch from MACHINE_ARCH.
1997-06-08 23:59:57 +00:00
veego
a204fb7981
Initialize machine from MACHINE.
1997-06-08 23:54:19 +00:00
ragge
4d45dc0466
Use correct console on KA65? machines. Bugfix when specifying adaptor
...
number. Show compile-time for boot. Prettier printout.
1997-06-08 17:49:15 +00:00
jonathan
d6a4dfdc41
Declarations for standard MIPS-ABI cacheflush() and cachectl() calls,
...
as used by g++ trampoline code.
1997-06-08 10:52:04 +00:00
jonathan
f15c808e44
Initialize machine_arch from MACHINE_ARCH.
1997-06-08 10:48:02 +00:00
jonathan
ccc08d5a61
Move MACHINE_ARCH and _MACHINE_ARCH from pmax/include/param.h to
...
mips/include/mips_param.h. (They should be common to all mips ports.)
1997-06-08 10:46:01 +00:00
veego
3b868f100b
Use 0x0001 for MDP_STACKADJ. Thanks Klaus.
1997-06-08 10:35:39 +00:00
thorpej
c8615e2f7c
Add code to decode the PCIA_RESENT register. Display information on
...
the PCIA revision, and whether or not the STD I/O EISA bridge is
present. Decode, but don't bother displaying, the power consumption
information for each PCI slot.
1997-06-08 07:59:20 +00:00
thorpej
183655c71b
Add bit definitions for the PCIA_PRESENT register.
1997-06-08 07:57:40 +00:00
thorpej
8e2e0fdc91
Don't print the hose number here; that's done in kftprint().
1997-06-08 07:03:18 +00:00
thorpej
42dde867d8
Print the hose number in kftprint().
1997-06-08 07:02:45 +00:00
thorpej
38b9b3385b
Update for changes in the core ISP driver.
1997-06-08 06:35:45 +00:00
jonathan
0a875d4298
A pre-busdma pmax <bus.h> skeleton.
1997-06-08 05:10:25 +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
cgd
712748bc64
remove extraneous, and now incorrect, cpu_decl()s.
1997-06-07 19:08:01 +00:00
ragge
2492a42479
System statistics fixes. From Johnny Billquist (bqt@update.uu.se).
1997-06-07 12:15:27 +00:00
ragge
f47d895f8c
Clean up disklabel checking.
1997-06-07 12:13:27 +00:00
ragge
2db3f948a0
Disk statistics fixes. From Johnny Billquist (bqt@update.uu.se).
1997-06-07 12:11:38 +00:00
ragge
0d970d6a78
Create a fake disklabel if there are no one on the disk.
1997-06-07 11:59:44 +00:00
veego
1d24d6350d
GC unused MDP_AST, noticed by Klaus Klein.
1997-06-07 08:27:47 +00:00
thorpej
78cd3ba57f
bus_dmamap_t's always have a pointer to an sgmap cookie. (oops, forgot
...
to commit this to the branch!)
1997-06-07 05:35:06 +00:00
thorpej
413f678ce0
Pull the thorpej-bus-dma branch into the mainline.
1997-06-07 05:29:33 +00:00
perry
a630650d7f
Switch to building new boot blocks by default.
1997-06-07 00:35:42 +00:00
thorpej
46b89d7739
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:54:24 +00:00
thorpej
11e78a6b0d
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:43:45 +00:00
veego
029d774d1a
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:31:23 +00:00
veego
ef7d5776d0
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:29:25 +00:00
thorpej
63bad43fa4
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:28:40 +00:00
veego
de7e49a954
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:26:01 +00:00
thorpej
7a15aef7ea
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:24:31 +00:00
veego
d04fe1f439
add src/sys/arch/m68k/m68k/m68k_machdep.c
1997-06-06 23:15:28 +00:00
thorpej
ea7351cb31
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:14:22 +00:00
thorpej
433c3cae0f
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:10:23 +00:00
cgd
2a9a4b6fde
fix slight bogons in splhigh() usage, that were introduced when the
...
behaviour of splhigh() was changed. The new behaviour raised the level to
IPL_HIGH if it was lower, but left it alone if the same or higher. Apparently
the firmware transfers to NetBSD with all interrupts blocked, or something
else blocks all interrupts (including machine checks) before the code
is really started. This meant that machine checks were blocked during
device probes, leading to false device probes _and_ an unexpected (and
therefore fatal) machine check at the spl0() after autoconfiguration.
1997-06-06 19:52:42 +00:00