chris
9f04d8d670
A couple of tidy ups to pmap:
...
pmap_t -> struct pmap * in pmap.c and pmap.h
kernel_pmap -> pmap_kernel() everywhere.
Compiled and booted on riscpc and cats.
2001-07-28 18:12:43 +00:00
chs
e2de9310c3
fix pmap_extract() to handle unmapped kernel addresses.
2001-07-28 17:18:59 +00:00
chris
17ecd4e41a
Update Makefile.arm32 for the newly moved locore.S and genassym.cf
2001-07-28 15:50:40 +00:00
chris
4a126d9937
finish moving common arm32 bits out into arm/arm32.
2001-07-28 15:08:10 +00:00
bjh21
0847de74d2
Add copyright notices. Use MEMC_PHYS_BASE rather than 0x02000000.
2001-07-28 13:49:25 +00:00
bjh21
ddf906b00d
Use ld -N (OMAGIC), since this saves the 32k of RAM (by not putting a gap
...
between text and data) and means that loadfile only needs one backward seek
to load the file rather than two (which is important for gzipped kernels).
2001-07-28 13:48:32 +00:00
chris
27f96e8440
Move the generic arm32 files into arm/arm32 from arm32/arm32, tested kernel builds on cats and riscpc.
2001-07-28 13:28:03 +00:00
chris
9c823196e0
Change -x into -X for linking, it makes traces more meaningful.
2001-07-28 13:24:24 +00:00
tsutsui
6be7c15373
bcopy -> memcpy
2001-07-28 13:21:26 +00:00
tsutsui
88fbdda31f
bcopy -> memcpy
2001-07-28 13:08:34 +00:00
bjh21
f3b9fa04ed
Only declare kernel objects ifdef _KERNEL.
2001-07-28 12:53:06 +00:00
bjh21
ec79dd3942
Add installation glue.
2001-07-28 12:44:54 +00:00
chris
37dc65af43
bzero->memset
2001-07-28 12:29:58 +00:00
chris
338f184d45
Fixup stray interrupt handler's return address.
2001-07-28 12:28:56 +00:00
chris
0481f078a0
bzero -> memset
2001-07-28 11:17:15 +00:00
scw
d750508a87
Hook the error interrupt only once, otherwise we'd fail when hooking
...
the interrupt for the 2nd DRAM board where two boards are present.
2001-07-28 08:30:23 +00:00
matt
218b61dcd1
Change clock_t and time_t to more LP64 friendly types.
2001-07-28 07:43:07 +00:00
matt
36dc943f75
Change ARM-ELF to LP64 friendly types.
2001-07-28 07:42:28 +00:00
matt
f47c5bbd3d
Under ELF, change clock_t and time_t to int's (more LP64 friendly).
2001-07-28 05:04:45 +00:00
bjh21
9139a37393
New arm26 bootloader. Mostly a translation of BBBB into C, using libsa so
...
we get goodies like gzipped kernels for free.
2001-07-27 23:13:49 +00:00
bjh21
0ad24007df
Add assorted stuff that we need in order to shut RISC OS down cleanly.
2001-07-27 23:09:15 +00:00
scw
27ae3aab7c
Blah, yet another nit: s/irq/ipl/
2001-07-27 21:56:10 +00:00
scw
ea00e7cda2
Don't bother trying to initiate a DRAM scrub on startup as it requires
...
frobbing with registers which are marked as "For Test Purposes [only]".
2001-07-27 21:54:07 +00:00
bjh21
d8372315a2
Rudimentary OS_Byte support, and an extra VDU variable.
2001-07-27 21:10:04 +00:00
bjh21
d939fd1e55
Add support for OS_ReadVduVariables, with #defines for the variables that BBBB
...
uses.
2001-07-27 20:49:09 +00:00
scw
c184f03348
Remove Mistakenly Left In comments around some `#ifdef DIAGNOSTIC' tests.
2001-07-27 20:48:58 +00:00
bjh21
a24c2adedf
Limit the heap so as to allow 4 KB of stack, which should be enough for most
...
purposes.
2001-07-27 20:48:20 +00:00
scw
8343a1492f
Forgot to shift the DRAM Bank identifiers by four.
2001-07-27 20:33:35 +00:00
scw
f169034d7f
Fix a braino in the check for a jumper across pins 1-2 of J1 (mvme1[67]7).
...
Spotted by Chuck Silvers.
2001-07-27 18:58:23 +00:00
scw
9ac6178585
memc attaches at mainbus now.
2001-07-27 18:40:27 +00:00
scw
7e2f2acb8e
Flesh out the memory controller driver (at least for the MCECC chip)
...
and attach it at mainbus since it depends both PCCChip2 and VMEChip2
(or the VMEChip2 interrupter) starting first.
We can finally enable, detect and log DRAM ECC errors.
(The PROM disabled ECC checks by default)
2001-07-27 18:38:54 +00:00
ragge
f5abeb5b4b
Set MAXPHYS to 64k instead of 63k.
2001-07-27 12:58:21 +00:00
ragge
39a7595b28
Calculation of unibus map register size was wrong.
2001-07-27 12:57:20 +00:00
bjh21
ea2ae3689c
Twiddle.
2001-07-27 01:03:34 +00:00
bjh21
f68048b4eb
Fix bug in xosgbpb_read: Check the correct register when deciding whether to
...
store result.
2001-07-27 01:02:44 +00:00
bjh21
5080e94490
OS_Args only really has two cases (reading and setting values). Use a generic
...
assembler veneer for each of these, and implement the calls to read and set
specific values as macros.
2001-07-27 00:37:38 +00:00
thorpej
0fb6b9a8f8
Rework the interrupt code, shaving some cycles off in the process.
...
Rather than an "iointr" routine that decomposes a vector into an
IRQ, we maintain a vector table directly, hooking up each "iointr"
routine at the correct vector. This also allows us to hook device
interrupts up to specific vectors (c.f. Jensen).
We can shave even more cycles off, here, and I will, but it requires
some changes to the alpha_shared_intr stuff.
2001-07-27 00:25:18 +00:00
bjh21
2256fe3c2a
Clear the BSS at startup, since objdump --outputformat=binary seems not to
...
output the BSS.
2001-07-27 00:21:18 +00:00
bjh21
218ce892b1
Fix up a left-over SWINE in os_writec.
2001-07-27 00:00:25 +00:00
wiz
79b57114c9
auxilary -> auxiliary
2001-07-26 23:07:57 +00:00
wiz
e11d04474c
issueing -> issuing
2001-07-26 22:55:12 +00:00
wiz
035b63a542
auxilliary -> auxiliary
2001-07-26 22:53:13 +00:00
wiz
41df6b74a9
partiton -> partition
2001-07-26 22:47:34 +00:00
bjh21
7a181053ec
Makefile for building standalone programs to run under RISC OS.
...
Not used yet, but it will be.
2001-07-26 22:16:26 +00:00
bjh21
9315195522
Simple library to interface stand-alone programs to RISC OS.
...
This comes in two parts: riscoscalls.[Sh] provide definitions, and thin
wrappers around RISC OS SWIs (in the style of OsLib) for the use of both the
rest of the library and client code. The rest of the library provides a
compatibility layer for libsa.
2001-07-26 22:11:08 +00:00
mjl
ab94842af6
Add rnd entropy gathering.
2001-07-26 21:31:45 +00:00
drochner
d2ef97080c
make sure clockframe is __packed
2001-07-26 15:46:58 +00:00
drochner
b841a8e7cc
pmap_changebit() requires pv tracking, so replace it by manual PTE construction
2001-07-26 15:45:51 +00:00
drochner
688026c828
use pmap_kenter/remove in pagemove() to make it work with memory mapped
...
by pmap_kenter_pa() (ie buffer pages)
2001-07-26 15:43:39 +00:00
drochner
2286fed799
incorporate patch from Chuck Silvers which basically reduces
...
pmap_kenter_pa() / pmap_kremove() to the basics - ie, removes pv tracking
2001-07-26 15:41:14 +00:00