Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: pager can use memory between SRAM start and core load address #1826

Merged
merged 1 commit into from
Nov 15, 2017

Commits on Nov 15, 2017

  1. core: pager can use memory between SRAM start and core load address

    If core is loaded some 4kB pages above the start of the physical
    internal ram, some 4kB memory block will not be used by the pager.
    
    This situation can occur if the beginning of the internal ram is
    used by a bootloader. Bootloader must load op-tee above its own
    used memory. Such bootloader memory is freely available to op-tee
    core (pager).
    
    This change adds the physical memory between TEE RAM base address
    and the op-tee entry point address to the pager page pool. This
    change also default maps this area so that pager identifies physical
    pages as valid page addresses.
    
    This changes fixes the plat-vexpress against CFG_TEE_RAM_START being
    different from CFG_TEE_LOAD_ADDR.
    
    Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
    Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
    etienne-lms committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    6767ead View commit details
    Browse the repository at this point in the history