Kevin Lo
400e3077d8
Remove a bogus i = 0.
...
Approved by: cognet
2006-08-08 01:18:18 +00:00
Olivier Houchard
410a42a1b6
Remove a bogus, useless, "i++".
2006-06-06 20:47:59 +00:00
Olivier Houchard
c212f0efe9
Remove any reference to enable_mmu(), it's been gone for a long time.
...
Submitted by: kevlo
2006-05-26 01:41:47 +00:00
Olivier Houchard
e279681cb5
Remove #undef DDB I shouldn't have committed.
2005-12-21 15:01:49 +00:00
Olivier Houchard
e89ab9292f
Fix a harmless bug in the way we allocate the early PTEs.
2005-12-09 23:54:50 +00:00
Olivier Houchard
ce4210d673
Use a magic number to know we were started from the elf wrapper.
...
Add a dummy _start function to make the non-elf version of the wrapper work.
2005-11-24 02:27:55 +00:00
Olivier Houchard
7c616799dc
Fix build when DDB isn't defined.
2005-10-04 14:37:03 +00:00
Olivier Houchard
b834efd591
Provide a dump_avail[] variable, which contains the page ranges to be
...
dumped.
For iq31244_machdep.c, attempt to recognize hints provided by the elf
trampoline.
2005-10-03 14:15:50 +00:00
Olivier Houchard
3ed670fe01
Remove the va == pa mapping.
...
Approved by: re (blanket)
2005-06-23 11:40:45 +00:00
Olivier Houchard
56e472e2b5
Add a new arm-specific option, ARM_USE_SMALL_ALLOC. If defined, it provides
...
an implementation of uma_small_alloc() which tries to preallocate memory
1MB per 1MB, and maps it into a section mapping.
2005-06-07 23:04:24 +00:00
Olivier Houchard
a74efe926c
Allocating the memory for the kernel stack one time is enough.
2005-04-27 13:29:54 +00:00
Olivier Houchard
ebc58b7dbc
Don't announce the range SDRAM_START-freemempos until I figure out what's
...
going on, it produces random memory corruption.
2005-04-07 22:04:18 +00:00
Olivier Houchard
3ea9d07445
Bring back some of the cleanups and fixes jmg did in the TS7200 port.
2005-03-17 23:01:15 +00:00
Olivier Houchard
6d4b3b4cb5
MFp4: get the code that set the pc correctly to work, remove a few IQ31244
...
specific mappings from locore.S, re-organize iq31244_machdep.c to work with
the new locore.S
Spotted out by: jmg
2005-02-20 21:34:59 +00:00
Warner Losh
d8315c79d9
Start all license statements with /*-
2005-01-05 21:58:49 +00:00
Olivier Houchard
79f40e185d
Make sure to map the whole kernel into 1MB pages. Try to use the remaining
...
memory for things such as the kernel stack.
2004-12-05 22:48:04 +00:00
Olivier Houchard
579d53f4cf
Get the kernel stack right now that the u-area is gone.
2004-11-20 16:51:32 +00:00
David Schultz
11111b709f
U areas are going away, so don't allocate one for process 0.
...
Reviewed by: arch@
2004-11-20 02:29:25 +00:00
Olivier Houchard
9aeab9eabe
Convert the IQ31244 code to use ARM32_NEW_VM_LAYOUT.
2004-11-10 22:09:39 +00:00
Olivier Houchard
90f794aaaf
If we're still running at the physical address, jump to the virtual address
...
instead before calling initarm().
This removes the need to map virtual == physical in initarm().
2004-11-05 19:52:55 +00:00
Olivier Houchard
6052fa47a9
Import partial support for the IQ31244 eval board (i80321 CPU). IQ80321 might
...
work out of the box too, but I have no hardware to test.
It works well enough to go multiuser. Network works, SATA does not, as I have
no drive to test.
Thanks to Intel for sending such a board.
Obtained from: NetBSD
2004-09-23 22:45:36 +00:00