1/* 2 * Copyright 2014, General Dynamics C4 Systems 3 * 4 * This software may be distributed and modified according to the terms of 5 * the GNU General Public License version 2. Note that NO WARRANTY is provided. 6 * See "LICENSE_GPLv2.txt" for details. 7 * 8 * @TAG(GD_GPL) 9 */ 10 11#ifndef __COMPOUND_TYPES_H 12#define __COMPOUND_TYPES_H 13 14#include <stdint.h> 15#include <api/types.h> 16#include <object/structures.h> 17#include <arch/types.h> 18 19struct pde_range { 20 pde_t *base; 21 word_t length; 22}; 23typedef struct pde_range pde_range_t; 24 25struct pte_range { 26 pte_t *base; 27 word_t length; 28}; 29typedef struct pte_range pte_range_t; 30 31typedef cte_t *cte_ptr_t; 32 33struct extra_caps { 34 cte_ptr_t excaprefs[seL4_MsgMaxExtraCaps]; 35}; 36typedef struct extra_caps extra_caps_t; 37 38#endif /* __COMPOUND_TYPES_H */ 39