diff options
author | imp <imp@FreeBSD.org> | 2012-06-14 04:18:56 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2012-06-14 04:18:56 +0000 |
commit | b639382febadbf28291aa6d978f0dd8a9bd846ee (patch) | |
tree | 56e4ff5a7bbcf2b5d659cedb032e9b799f3e85f0 /sys/arm/xscale/ixp425 | |
parent | b11c0bf1e477503115a634fe3bce4f26913bace1 (diff) | |
download | FreeBSD-src-b639382febadbf28291aa6d978f0dd8a9bd846ee.zip FreeBSD-src-b639382febadbf28291aa6d978f0dd8a9bd846ee.tar.gz |
More Linux boot support. Create arm_dump_avail_init() to initialize
this array either from Linux boot data, when enabled, or in the
typical way that most ports do it. arm_pyhs_avail_init is coming
soon since it must be a separate function.
Diffstat (limited to 'sys/arm/xscale/ixp425')
-rw-r--r-- | sys/arm/xscale/ixp425/avila_machdep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c index 22b0e10..5c1819c 100644 --- a/sys/arm/xscale/ixp425/avila_machdep.c +++ b/sys/arm/xscale/ixp425/avila_machdep.c @@ -446,11 +446,7 @@ initarm(struct arm_boot_params *abp) arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); pmap_curmaxkvaddr = afterkern + PAGE_SIZE; - dump_avail[0] = PHYSADDR; - dump_avail[1] = PHYSADDR + memsize; - dump_avail[2] = 0; - dump_avail[3] = 0; - + arm_dump_avail_init(memsize, sizeof(dump_avail) / sizeof(dump_avail[0])); pmap_bootstrap(pmap_curmaxkvaddr, 0xd0000000, &kernel_l1pt); msgbufp = (void*)msgbufpv.pv_va; msgbufinit(msgbufp, msgbufsize); |