diff options
author | ian <ian@FreeBSD.org> | 2014-02-08 23:54:16 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-02-08 23:54:16 +0000 |
commit | 30d95028f0a5b80653b6cba27633bbdca56f156b (patch) | |
tree | ad73d00c7878919bd17f9c0c2fec2a7ee3a6add2 /sys/arm/xscale/i80321/ep80219_machdep.c | |
parent | 5da54698fa93663e708069fcb779720291895435 (diff) | |
download | FreeBSD-src-30d95028f0a5b80653b6cba27633bbdca56f156b.zip FreeBSD-src-30d95028f0a5b80653b6cba27633bbdca56f156b.tar.gz |
Consolidate code related to setting up physical memory configuration into
a new physmem.c file. The new code provides helper routines that can be
used by legacy SoCs and newer FDT-based systems. There are routines to
add one or more regions of physically contiguous ram, and exclude one or
more physically contiguous regions of ram. Ram can be excluded from crash
dumps, from being given over to the vm system for allocation management,
or both. After all the included and excluded regions have been added,
arm_physmem_init_kernel_globals() processes the regions into the global
dump_avail and phys_avail arrays and realmem and physmem variables that
communicate memory configuration to the rest of the kernel.
Convert all existing SoCs to use the new helper code.
Diffstat (limited to 'sys/arm/xscale/i80321/ep80219_machdep.c')
-rw-r--r-- | sys/arm/xscale/i80321/ep80219_machdep.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/arm/xscale/i80321/ep80219_machdep.c b/sys/arm/xscale/i80321/ep80219_machdep.c index 44610ea..cf2e35e 100644 --- a/sys/arm/xscale/i80321/ep80219_machdep.c +++ b/sys/arm/xscale/i80321/ep80219_machdep.c @@ -110,9 +110,6 @@ struct pv_addr kernel_pt_table[NUM_KERNEL_PTS]; /* Physical and virtual addresses for some global pages */ -vm_paddr_t phys_avail[10]; -vm_paddr_t dump_avail[4]; - struct pv_addr systempage; struct pv_addr msgbufpv; struct pv_addr irqstack; |