/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #include #include /* Current active page directory. This is really just a shadow of CR3 */ UP_STATE_DEFINE(paddr_t, ia32KSCurrentPD VISIBLE); /* The privileged kernel mapping PD & PT */ pde_t ia32KSGlobalPD[BIT(PD_INDEX_BITS)] ALIGN(BIT(seL4_PageDirBits)); pte_t ia32KSGlobalPT[BIT(PT_INDEX_BITS)] ALIGN(BIT(seL4_PageTableBits)); #ifdef CONFIG_BENCHMARK_USE_KERNEL_LOG_BUFFER pte_t ia32KSGlobalLogPT[BIT(PT_INDEX_BITS)] ALIGN(BIT(seL4_PageTableBits)); #endif /* CONFIG_BENCHMARK_USE_KERNEL_LOG_BUFFER */