diff options
author | andrew <andrew@FreeBSD.org> | 2014-01-28 09:12:04 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2014-01-28 09:12:04 +0000 |
commit | ea49382feb2283285e824ed624107ace193a984a (patch) | |
tree | 710352cef019fdc2f3b56439be3258511cfdb30c /sys/conf | |
parent | f1267848bf1bff85d055c6f5d67ccddd5c3783ae (diff) | |
download | FreeBSD-src-ea49382feb2283285e824ed624107ace193a984a.zip FreeBSD-src-ea49382feb2283285e824ed624107ace193a984a.tar.gz |
Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with
memory at the end of the kernel.
This helps reduce the SoC and board specific configuration required.
Reviewed by: bsdimp
Tested by: jmg (armeb), br
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/ldscript.arm | 6 | ||||
-rw-r--r-- | sys/conf/options.arm | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm index 0d1c7ee..353e365 100644 --- a/sys/conf/ldscript.arm +++ b/sys/conf/ldscript.arm @@ -107,6 +107,12 @@ SECTIONS *(.dynbss) *(.bss) *(COMMON) + . = ALIGN(32 / 8); + _ebss = .; + /* A section for the initial page table, it doesn't need to be in the + kernel file, however unlike normal .bss entries should not be zeroed + out as we use it before the .bss section is cleared. */ + *(.init_pagetable) } . = ALIGN(32 / 8); _end = . ; diff --git a/sys/conf/options.arm b/sys/conf/options.arm index 0296a1a..c7f0bcf 100644 --- a/sys/conf/options.arm +++ b/sys/conf/options.arm @@ -50,7 +50,6 @@ SOC_OMAP3 opt_global.h SOC_OMAP4 opt_global.h SOC_TI_AM335X opt_global.h SOC_TEGRA2 opt_global.h -STARTUP_PAGETABLE_ADDR opt_global.h XSCALE_CACHE_READ_WRITE_ALLOCATE opt_global.h XSACLE_DISABLE_CCNT opt_timer.h VERBOSE_INIT_ARM opt_global.h |