diff options
-rw-r--r-- | sys/arm/xscale/i80321/ep80219_machdep.c | 4 | ||||
-rw-r--r-- | sys/arm/xscale/i80321/iq31244_machdep.c | 4 | ||||
-rw-r--r-- | sys/arm/xscale/i8134x/crb_machdep.c | 4 | ||||
-rw-r--r-- | sys/arm/xscale/ixp425/avila_machdep.c | 4 | ||||
-rw-r--r-- | sys/arm/xscale/pxa/pxa_machdep.c | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/sys/arm/xscale/i80321/ep80219_machdep.c b/sys/arm/xscale/i80321/ep80219_machdep.c index 54fdfbb..bf3e49a 100644 --- a/sys/arm/xscale/i80321/ep80219_machdep.c +++ b/sys/arm/xscale/i80321/ep80219_machdep.c @@ -341,6 +341,10 @@ initarm(struct arm_boot_params *abp) * Prepare the list of physical memory available to the vm subsystem. */ arm_physmem_hardware_region(IQ80321_SDRAM_START, memsize); + arm_physmem_exclude_region(freemem_pt, KERNPHYSADDR - + freemem_pt, EXFLAG_NOALLOC); + arm_physmem_exclude_region(freemempos, KERNPHYSADDR - 0x100000 - + freemempos, EXFLAG_NOALLOC); arm_physmem_exclude_region(abp->abp_physaddr, virtual_avail - KERNVIRTADDR, EXFLAG_NOALLOC); arm_physmem_init_kernel_globals(); diff --git a/sys/arm/xscale/i80321/iq31244_machdep.c b/sys/arm/xscale/i80321/iq31244_machdep.c index e1ca22b..9c119ed 100644 --- a/sys/arm/xscale/i80321/iq31244_machdep.c +++ b/sys/arm/xscale/i80321/iq31244_machdep.c @@ -343,6 +343,10 @@ initarm(struct arm_boot_params *abp) * Prepare the list of physical memory available to the vm subsystem. */ arm_physmem_hardware_region(SDRAM_START, memsize); + arm_physmem_exclude_region(freemem_pt, KERNPHYSADDR - + freemem_pt, EXFLAG_NOALLOC); + arm_physmem_exclude_region(freemempos, KERNPHYSADDR - 0x100000 - + freemempos, EXFLAG_NOALLOC); arm_physmem_exclude_region(abp->abp_physaddr, virtual_avail - KERNVIRTADDR, EXFLAG_NOALLOC); arm_physmem_init_kernel_globals(); diff --git a/sys/arm/xscale/i8134x/crb_machdep.c b/sys/arm/xscale/i8134x/crb_machdep.c index 13e62c4..1953044 100644 --- a/sys/arm/xscale/i8134x/crb_machdep.c +++ b/sys/arm/xscale/i8134x/crb_machdep.c @@ -323,6 +323,10 @@ initarm(struct arm_boot_params *abp) * Prepare the list of physical memory available to the vm subsystem. */ arm_physmem_hardware_region(SDRAM_START, memsize); + arm_physmem_exclude_region(freemem_pt, KERNPHYSADDR - + freemem_pt, EXFLAG_NOALLOC); + arm_physmem_exclude_region(freemempos, KERNPHYSADDR - 0x100000 - + freemempos, EXFLAG_NOALLOC); arm_physmem_exclude_region(abp->abp_physaddr, virtual_avail - KERNVIRTADDR, EXFLAG_NOALLOC); arm_physmem_init_kernel_globals(); diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c index 2b27a66..cd5bb06 100644 --- a/sys/arm/xscale/ixp425/avila_machdep.c +++ b/sys/arm/xscale/ixp425/avila_machdep.c @@ -413,6 +413,10 @@ initarm(struct arm_boot_params *abp) * Prepare the list of physical memory available to the vm subsystem. */ arm_physmem_hardware_region(PHYSADDR, memsize); + arm_physmem_exclude_region(freemem_pt, KERNPHYSADDR - + freemem_pt, EXFLAG_NOALLOC); + arm_physmem_exclude_region(freemempos, KERNPHYSADDR - 0x100000 - + freemempos, EXFLAG_NOALLOC); arm_physmem_exclude_region(abp->abp_physaddr, virtual_avail - KERNVIRTADDR, EXFLAG_NOALLOC); arm_physmem_init_kernel_globals(); diff --git a/sys/arm/xscale/pxa/pxa_machdep.c b/sys/arm/xscale/pxa/pxa_machdep.c index 6bf58d3..130e0f3 100644 --- a/sys/arm/xscale/pxa/pxa_machdep.c +++ b/sys/arm/xscale/pxa/pxa_machdep.c @@ -335,6 +335,10 @@ initarm(struct arm_boot_params *abp) if (memsize[j] > 0) arm_physmem_hardware_region(memstart[j], memsize[j]); } + arm_physmem_exclude_region(freemem_pt, KERNPHYSADDR - + freemem_pt, EXFLAG_NOALLOC); + arm_physmem_exclude_region(freemempos, KERNPHYSADDR - 0x100000 - + freemempos, EXFLAG_NOALLOC); arm_physmem_exclude_region(abp->abp_physaddr, virtual_avail - KERNVIRTADDR, EXFLAG_NOALLOC); arm_physmem_init_kernel_globals(); |