Commit Graph

11721 Commits

Author SHA1 Message Date
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
leo
3b2576ad3c Guard agains multiple inclusion and pull in cpu.h to define clockframe. 1997-06-06 13:15:57 +00:00
mikel
d687e871c9 nuke bad MLINKS line; fixes PR port-atari/3605. 1997-06-06 05:26:38 +00:00
thorpej
63ac628f77 Oops, last commit was meant for the thorpej-bus-dma branch, not the
trunk.
1997-06-06 02:42:38 +00:00
thorpej
4f5d0d3849 Split DEC 3000/300 and 3000/500 DMA functions into separate files,
suggested by Chris Demetriou <cgd@netbsd.org>.
1997-06-06 02:41:09 +00:00
is
7b1633fee3 Make fpfault() faster if 68020/30 only, and the code smaller if 68040/60-only. 1997-06-05 20:57:13 +00:00
is
7ff8fa13b1 Microoptimization in addrerr4060. Reduces code size. 1997-06-05 20:13:37 +00:00
leo
f796b57669 * finalize 060 stuff.
For locore.s also nuke cacheop-functions now provided in m68k.
1997-06-05 19:45:29 +00:00
leo
327cf04b4b Implement and use splraise(). 1997-06-05 19:38:16 +00:00
cgd
891e8db771 two more slight bogons 1997-06-05 17:36:26 +00:00
cgd
1c33c6bff8 actually, declare _splraise() as an inline function, because:
(1) it was using 'max', and some functions use a variable
	    of that name (*sigh*), and
	(2) that makes it easier to be a bit trickier, and only call
	    swpipl if changing the IPL.
1997-06-05 17:31:16 +00:00
cgd
100dbb8a3c parens around macro arg (this is an old one) 1997-06-05 17:20:17 +00:00
cgd
57c012e265 make sure that splnet(), splbio(), splimp(), spltty(), splclock(),
splstatclock(), and splhigh() all _raise_ the IPL.  (splhigh() is _not_
the highest possible IPL; mcheck is...)
1997-06-05 17:08:06 +00:00
thorpej
d19ef97a43 Add fxp* at pci? declarations, marked untested on the Alpha, but they
compile.
1997-06-05 02:29:56 +00:00
thorpej
ab8dcc3eda Add fxp* at pci? declarations. 1997-06-05 02:27:44 +00:00
is
6d6e724440 Reorganize buserr/addrerr stuff, to allow omitting unused code in single-cpu
kernels, at the same time getting rid of up to 3 conditional branches and a
bit over one cacheline fetch (for the 68060; the saving is a bit smaller for
040 and yet smaller for the 020/30).
While we're here, also get rid of an redundant lea (using SP-relative
addressing) and of two redundant pushes.
While we're here, also fix a panic which would tear us down on 68060 machines
if a branch prediction error ever occured.
1997-06-04 22:12:43 +00:00
leo
f42858310e Use m68k cacheops 1997-06-04 14:33:49 +00:00
leo
60d8682a5b Add the 68060 Software Support Package. 1997-06-04 13:51:48 +00:00
leo
75fe0ae7a5 Export vectab label (68060 changes). 1997-06-04 13:50:25 +00:00
jtk
d935ace5a0 1) When we cannot complete our attachment, don't just return 0 but also
disconnect from the BIOS

2) when text segment as claimed by BIOS is out of sensible range, punt
completely rather than trying to shrink it to fit the ISA hole.  Some
BIOSes would crash with the previous behavior.  Some won't have a
working APM with the new behavior, but their BIOSes are broken.

Suggested by Chris Demetriou, with very minor tweaks by me.
1997-06-04 03:34:43 +00:00
cgd
86b5c1e498 make REGVAL macros use volatile pointers 1997-06-04 01:47:15 +00:00
mark
323b20590a Remove some nasty casts in macros. This fixes problems accessing raw
partitions > 4GB in size.
1997-06-03 23:48:36 +00:00
cgd
079e0c6bff make REGVAL macros use volatile pointers 1997-06-03 21:54:02 +00:00
cgd
ba43d7fec5 do not spew about processes which have had fatal traps, unless DEBUG
is defined.  Actually, it never should do it, but DEBUG should be 'never'
for most users.
1997-06-03 17:38:50 +00:00
cgd
e2bc183e52 remove DEBUG from GENERIC kernel 1997-06-03 17:37:58 +00:00
thorpej
4ae176cb0a Ooops! Not meant for the trunk; these need to be added to the branch! 1997-06-03 07:01:58 +00:00
thorpej
36e7d039c0 Add "typedep" code to deal with both the 32-bit and 64-bit PTE formats
found on Alpha workstation and server PCI bridge chipsets.
1997-06-03 07:00:20 +00:00
phil
71fb702409 Update Sys V shared memory options. Still commeted out, but now correct. 1997-06-03 01:38:00 +00:00
leo
154afe5d70 Add ipfilter stuff. 1997-06-02 20:40:40 +00:00
leo
6793c446f0 An attempt to make a generic m68k implementation for cache control operations.
Not yet completely finished.
1997-06-02 20:26:37 +00:00
leo
37325cfb41 More stuff for handling an 68060. 1997-06-02 12:03:40 +00:00
leo
45ae0c3916 Be a bit more robust when dealing with genassym failures (From mycroft). 1997-06-02 11:49:02 +00:00
jonathan
6aa07ba92c Add #ifdef _KERNEL/#endif around prototype of mips single-step emulator.
Add "struct proc;" inside the ifdef: <sys/proc.h> includes <machine/proc.h>
before declaring struct proc.
1997-06-02 01:58:38 +00:00
perry
d27bc903b5 trivial reformat -- one space to a tab 1997-06-02 00:26:49 +00:00
pk
d7b698b984 Set `rr_iospace' to PMAP_OBIO when translating relative sbus addresses. 1997-06-01 22:10:39 +00:00
phil
079405ea2a Update SHMMAXPGS to a constant of 1024. 1997-06-01 19:23:08 +00:00
phil
2f418f67bd Update to what I'm using. 1997-06-01 18:15:12 +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
thorpej
6dd15693d9 Add the ipfilter device at cdev major 7. 1997-06-01 09:18:45 +00:00
jonathan
3844d313b1 Add CD9660 and PROCFS filesystems. Sort filesystem options.
Add tun, and reorder pseudo-devices to match other systems' GENERIC config.
1997-06-01 08:44:57 +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
oki
ca83937d49 Use cdev_ipf_unit() instead of cdev_ch_unit() 1997-06-01 01:27:51 +00:00