Commit Graph

28029 Commits

Author SHA1 Message Date
mhitch
1dcdcbf286 The memmap structure contains the memory bitmap returned by the PROM
getbitmap() call.
2001-07-30 17:05:51 +00:00
rjs
6b65fea380 Remove unused hpc includes. 2001-07-30 16:23:09 +00:00
rjs
9013c85405 Update from hpcarm to remove iPAQ egpio code. 2001-07-30 16:20:06 +00:00
rjs
51bc7258f8 Update from hpcarm with MCP base definition. 2001-07-30 16:08:42 +00:00
rjs
c79059dd3f Update from hpcarm to remove iPAQ and Jornada specific #defines. 2001-07-30 15:58:56 +00:00
rjs
b85ae98e65 Update from hpcarm with MCP register definition. 2001-07-30 12:19:04 +00:00
rjs
495d108bd3 Update from hpcarm with cookie change. 2001-07-30 10:55:49 +00:00
rjs
9b65c24aa5 Remove unused LCD definitions. 2001-07-30 10:50:59 +00:00
rjs
1304d2220e Mirror removal from hpcarm. 2001-07-30 10:48:31 +00:00
rjs
499d1068e8 Update from hpcarm. 2001-07-30 10:46:08 +00:00
rjs
e35b542831 Mirror removal from hpcarm. 2001-07-30 10:33:59 +00:00
rjs
730b1a57ac Copy from hpcarm. 2001-07-30 10:17:21 +00:00
chs
75b9f41751 adjust the hack to build the SRT*.o files. 2001-07-30 00:10:20 +00:00
chs
690a630673 increase the memory disk size, it needs to be bigger with ELF. 2001-07-30 00:09:08 +00:00
chs
29f6bd03da use pmap_k* for buffer cache pages. 2001-07-29 23:56:33 +00:00
chs
5ad381c2a0 use pmap_k* in pagemove(). 2001-07-29 23:51:40 +00:00
christos
b92cbe7184 now that we know what the traps mean, print their name in debug mode. 2001-07-29 19:31:41 +00:00
toshii
9221ef3b13 Make hpcarm kernel build after arm/arm32 file move. 2001-07-29 15:21:33 +00:00
chris
fa4e4d9668 Rework the pmap_release code to not have to walk the ptpt, it now uses a uvm_object to track the allocated vm_pages, this means it can free off the entries in the uvm_object.
Testing shows that it's about 5% faster on the make configure step for gmake.
2001-07-29 12:45:27 +00:00
chris
89415a32e2 PR 13581
Add empty pmap.h and vmparam.h to make userland happier.
2001-07-29 09:50:07 +00:00
chris
af16732a3a Fix for PR 13580.
Make sysarch include sys/stdint.h so it picks up the a definition of uintptr_t.
2001-07-29 08:37:56 +00:00
matt
691dacb39a This is needed anymore and should have been removed a while ago. 2001-07-29 00:35:41 +00:00
matt
ed87139e40 Remove opt_footbridge from conf.c
Use dev/ic/i8253reg.h instead of private timerreg.h
2001-07-29 00:34:44 +00:00
bjh21
1ede42fe57 Add <machine/sysarch.h> to go with sysarch(). 2001-07-28 19:14:00 +00:00
bjh21
c5ae075e50 Add a very simple sysarch() implementation so that libarm32 will work.
This should go when arm26 uses cpufunc like everyone else.
2001-07-28 19:12:50 +00:00
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