Skip to content
Snippets Groups Projects
Commit f5afc2d9 authored by Anna Lyons's avatar Anna Lyons
Browse files

change include/arch/ia32/arch/api/objecttype.h to match the libsel4 equivalent

parent b97c75ff
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,10 @@
#ifndef __ARCH_OBJECT_TYPE_H
#define __ARCH_OBJECT_TYPE_H
#ifdef HAVE_AUTOCONF
#include <autoconf.h>
#endif /* HAVE_AUTOCONF */
typedef enum _object {
seL4_IA32_4K = seL4_NonArchObjectTypeCount,
seL4_IA32_LargePage,
......@@ -24,4 +28,10 @@ typedef enum _object {
} seL4_ArchObjectType;
typedef uint32_t object_t;
/* Previously frame types were explcitly 4K and 4M. If not PAE
* we assume legacy environment and emulate old definitions */
#ifndef CONFIG_PAE_PAGING
#define seL4_IA32_4M seL4_IA32_LargePage
#endif
#endif
......@@ -11,7 +11,9 @@
#ifndef __ARCH_OBJECT_TYPE_H
#define __ARCH_OBJECT_TYPE_H
#ifdef HAVE_AUTOCONF
#include <autoconf.h>
#endif /* HAVE_AUTOCONF */
typedef enum _object {
seL4_IA32_4K = seL4_NonArchObjectTypeCount,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment