thorpej
ad2758f375
Use CFATTACH_DECL().
2002-10-01 19:18:57 +00:00
matt
be5fafec51
ANSI'fy the inline functions.
2002-10-01 19:08:51 +00:00
thorpej
c1077f220d
Use CFATTACH_DECL().
2002-10-01 18:57:48 +00:00
thorpej
34c3944c08
Use CFATTACH_DECL().
2002-10-01 18:40:06 +00:00
scw
2ce95435ad
One of the last pieces of the SH5 pmap jigsaw; detect and deal with
...
operand cache synonyms and paradoxes for shared mappings:
- Writable mappings are cache-inhibited if the underlying physical
page is mapped at two or more *different* VAs.
This means that read-only mappings at different VAs are still
cacheable. While this could lead to operand cache synonyms, it
won't cause data loss. At worst, we'd have the same read-only
data in several cache-lines.
- If a new cache-inhibited mapping is added for a page which has
existing cacheable mappings, all the existing mappings must be
made cache-inhibited.
- Conversely, if a new cacheable mapping is added for a page which
has existing cache-inhibited mappings, the new mapping must also
be made cache-ibhibited.
- When a mapping is removed, see if we can upgrade any of the
underlying physical page's remaining mappings to cacheable.
TODO: Deal with operand cache aliases (if necessary).
2002-10-01 15:01:48 +00:00
fvdl
1aca7be70a
Add cpu0 at mainbus0
2002-10-01 13:29:03 +00:00
fvdl
26ab868e68
Merge Bill Sommerfeld's i386 MP branch. This code has some known
...
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.
2002-10-01 12:56:36 +00:00
aymeric
f835a6ae04
. treat a stream of framing errors as a single break
...
. trigger ddb upon receiving a break if we are the console
2002-10-01 12:17:09 +00:00
reinoud
7ba11c51fd
Fix some small range checks and why weren't we writing the palette in when
...
we're asked to set the VIDC in a given state! :-D ahum... these are fixed
now. The top palette entry wasn't set.
2002-10-01 12:09:49 +00:00
bsh
10bb2aff03
add board type for Intel PXA2[15]0 and Samsung S3C2800 based boards.
2002-10-01 11:02:27 +00:00
abs
ef14d0e624
Enable PPP_* options for ppp
2002-10-01 09:52:10 +00:00
abs
cd05e3d894
Enable ppp
2002-10-01 09:37:11 +00:00
scw
9d94c9899c
Check if an interrupt is already claimed _after_ locating the
...
right interrupt handle.
2002-10-01 07:58:54 +00:00
scw
1e4acb4d20
Another temporary fix until I write a bootloader: run the kernel
...
through dbsym(8).
2002-10-01 07:56:45 +00:00
scw
5a512e6285
Flesh out bus_dmamap_sync().
2002-10-01 07:55:17 +00:00
scw
02301c13c5
Add a #define for the SH5's cacheline size.
2002-10-01 07:50:36 +00:00
scw
a5ea619bef
In pmap_extract() deal with KVAs in KSEG0 (which can be passed by the
...
bus_dma(9) code) instead of panicing.
2002-10-01 07:49:46 +00:00
thorpej
82af7d52d4
Use CFATTACH_DECL().
2002-10-01 05:32:42 +00:00
thorpej
fa165ee3fd
Use CFATTACH_DECL().
2002-10-01 05:18:59 +00:00
thorpej
b7e3052e30
Use CFATTACH_DECL().
2002-10-01 05:01:37 +00:00
thorpej
6bc733245c
Missed one use of CFATTACH_DECL().
2002-10-01 04:59:10 +00:00
thorpej
a84e1f7f8f
Use CFATTACH_DECL().
2002-10-01 04:43:01 +00:00
thorpej
f59e5352f2
Use CFATTACH_DECL().
2002-10-01 04:21:32 +00:00
thorpej
d1c37db940
Use CFATTACH_DECL().
2002-10-01 03:10:12 +00:00
thorpej
c4cbfcf060
Use CFATTACH_DECL().
2002-10-01 02:54:11 +00:00
thorpej
d652bdcafe
Use CFATTACH_DECL().
2002-10-01 02:49:56 +00:00
thorpej
4ed249cc6f
Remove unecessary extern decl of ade_ca.
2002-10-01 01:40:32 +00:00
bjh21
b59e2e1320
Beginnings of support for the Simtec Hydra multiprocessor board.
...
So far, the Hydra is detected and initialised, and each slave CPU is
spun up briefly to check that it works.
2002-09-30 23:22:05 +00:00
thorpej
1a6b241b1d
Add a config_init() function to initialize the config data structures.
...
Normally this is called by configure(), but some ports (amiga, atari,
x68k) need to do this early because of how they find the console.
2002-09-30 17:36:31 +00:00
abs
ae80876d99
#include "kbd.h" for NKBD and only override cn_isconsole to check cn_hw if set.
...
Fixes compilation without kbd.
2002-09-30 09:43:13 +00:00
wiz
b1c7ac0e6d
"definitions" has lots of 'i's, but that's not reason to leave one out.
2002-09-29 23:23:56 +00:00
martin
f0d8fa7f7d
Fix typo: set _asi depending on requested endianess, not _sasi (the streaming
...
accessors take care of this themselfs). Fixes 32-bit kernels on PCI machines.
Problem found by Takeshi Nakayama in PR port-sparc64/18459, fix from
Mathew Green.
2002-09-29 20:56:40 +00:00
thorpej
50d060cc52
Record stack growth, done inline to avoid another function call on
...
every user page fault.
XXX Should make uvm_grow() an inline.
2002-09-29 16:49:45 +00:00
wiz
683554e2fd
Fix strangeness introduced in v1.4:
...
- panic("panic(\"Mem error interrupt\");");
+ panic("Mem error interrupt");
2002-09-29 15:11:14 +00:00
bsh
5880df1648
avoid warning when NAPM==0
2002-09-29 13:16:22 +00:00
martin
7c1bc900ef
Indentation nit.
2002-09-29 09:07:45 +00:00
isaki
2a8a7954f2
const-ify ia_name. It makes intio.c compilable.
2002-09-29 05:17:04 +00:00
chs
50403f5ce2
remove some vestigial FPU and cache code that's not need on ultrasparcs.
...
misc tidiness.
2002-09-29 04:12:02 +00:00
chs
70d1ddac15
avoid reading %pil in splx() if !SPLDEBUG.
...
misc tidiness.
2002-09-29 04:06:20 +00:00
chs
bbbc558e52
enable DHCP netbooting support.
2002-09-29 04:03:37 +00:00
martin
f525cb862b
Fix broken timeval comparison.
...
Reported by Takeshi Nakayama in PR sparc64/18453, but fixed a bit
differently.
2002-09-28 20:56:05 +00:00
martin
7965adf3bb
Set the PCI latency timer for bus master devices.
...
Slightly different to the patch suggested by Takeshi Nakayama in PR 18451
(idea from FreeBSD).
Additional input from Jason Thorpe: do not hard code the bus frequency,
instead get it from OpenFirmware.
2002-09-28 20:23:53 +00:00
dbj
3aef72ec67
add options APPLE_UFS
...
This enables Apple UFS support added by PR #17345
2002-09-28 20:22:33 +00:00
dbj
82e9fcf2f3
add options APPLE_UFS, from PR #17345
...
add uninorth pci controller, from PR #18427
2002-09-28 20:22:32 +00:00
dbj
6bf135b907
add options APPLE_UFS
...
This enables Apple UFS support added by PR #17345
2002-09-28 20:22:32 +00:00
martin
cf4564afb0
Add entries for various USB character devices.
...
From Takeshi Nakayama in PR 18450.
2002-09-28 19:46:46 +00:00
scw
7a61cafd1e
After the kernel is built, run it through objcopy to change the LMA
...
of the loadable sections to correspond to the physical address of
RAM in the Cayman. This is so sh5gdb uploads the image to the correct
place. (Should've done this ages ago instead of manually running a
script...)
This can be removed when I get a native bootloader written.
2002-09-28 18:35:38 +00:00
chris
cae76053ba
Thought I'd checked this in a while back, cats does not need byte_swap.h.
...
That was me misunderstanding the build system. (the Makefile change slipped
in as version 1.15)
2002-09-28 15:56:33 +00:00
chris
d0879e89ef
cats and netwinder can share a common footbridge_intr.h file, so install and
...
share a common file.
2002-09-28 15:53:03 +00:00
thorpej
8f6cdec6af
Make _C_LABEL() pay attention to __NO_LEADING_UNDERSCORES__.
2002-09-28 15:50:37 +00:00