diff options
author | cognet <cognet@FreeBSD.org> | 2004-12-18 17:58:49 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-12-18 17:58:49 +0000 |
commit | b231943e0e593788032a55590d7960ae015bddd2 (patch) | |
tree | 1ff5832d7cd78eaadfb49733260ba3ae5a83ce8b /sys/arm/sa11x0/assabet_machdep.c | |
parent | 5b61dc111e6171dc28242aa537716d02b68408cc (diff) | |
download | FreeBSD-src-b231943e0e593788032a55590d7960ae015bddd2.zip FreeBSD-src-b231943e0e593788032a55590d7960ae015bddd2.tar.gz |
Update the StrongArm port to match the current code.
- Implement arm_mask_irqs and arm_unmask_irqs
- Provide the available physical address range after pmap_bootstrap allocated
things, instead or before, or bad things happen.
Diffstat (limited to 'sys/arm/sa11x0/assabet_machdep.c')
-rw-r--r-- | sys/arm/sa11x0/assabet_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/sa11x0/assabet_machdep.c b/sys/arm/sa11x0/assabet_machdep.c index 04f637c..9ab80fc 100644 --- a/sys/arm/sa11x0/assabet_machdep.c +++ b/sys/arm/sa11x0/assabet_machdep.c @@ -134,7 +134,7 @@ struct pcpu __pcpu; struct pcpu *pcpup = &__pcpu; #ifndef MD_ROOT_SIZE -#error SIMICS needs MD_ROOT and MD_ROOT_SIZE +#define MD_ROOT_SIZE 65535 #endif /* Physical and virtual addresses for some global pages */ @@ -400,14 +400,14 @@ initarm(void *arg, void *arg2) pmap_curmaxkvaddr = freemempos + KERNEL_PT_VMDATA_NUM * 0x400000; - pmap_bootstrap(KERNEL_VM_BASE, + pmap_bootstrap(freemempos, 0xd0000000, &kernel_l1pt); mutex_init(); - phys_avail[0] = round_page(freemempos); + phys_avail[0] = round_page(virtual_avail); phys_avail[1] = 0xc0000000 + 0x02000000 - 1; phys_avail[2] = 0; phys_avail[3] = 0; |