1/* 2 * Copyright 2018, Data61 3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) 4 * ABN 41 687 119 230. 5 * 6 * This software may be distributed and modified according to the terms of 7 * the GNU General Public License version 2. Note that NO WARRANTY is provided. 8 * See "LICENSE_GPLv2.txt" for details. 9 * 10 * @TAG(DATA61_GPL) 11 */ 12 13/* 14 * 15 * Copyright 2016, 2017 Hesham Almatary, Data61/CSIRO <hesham.almatary@data61.csiro.au> 16 * Copyright 2015, 2016 Hesham Almatary <heshamelmatary@gmail.com> 17 */ 18 19#ifndef __LIBSEL4_SEL4_ARCH_MAPPING 20#define __LIBSEL4_SEL4_ARCH_MAPPING 21 22#include <autoconf.h> 23 24#include <sel4/sel4_arch/mapping.h> 25 26#define SEL4_MAPPING_LOOKUP_LEVEL 2 27 28static inline seL4_Word seL4_MappingFailedLookupLevel() 29{ 30 return seL4_GetMR(SEL4_MAPPING_LOOKUP_LEVEL); 31} 32 33#define SEL4_MAPPING_LOOKUP_NO_PT 21 34 35#endif 36