Unify arch_shared_types.bf from the libsel

This commit is contained in:
amrzar 2017-02-01 16:29:24 +11:00
parent ffcc69027a
commit efb28fec20
15 changed files with 9 additions and 34 deletions

View file

@ -1 +0,0 @@
../../../../../../../libsel4/sel4_arch_include/aarch32/sel4/sel4_arch/shared_types_32.bf

View file

@ -580,4 +580,4 @@ block dbg_wcr {
}
#endif /* CONFIG_HARDWARE_DEBUG_API */
#include <mode/api/arch_shared_types.bf>
#include <arch/api/shared_types.bf>

View file

@ -0,0 +1 @@
../../../../../libsel4/arch_include/arm/sel4/arch/shared_types.bf

View file

@ -1 +0,0 @@
../../../../../../../libsel4/sel4_arch_include/ia32/sel4/sel4_arch/shared_types_32.bf

View file

@ -572,4 +572,4 @@ block cr3 {
padding 12
}
#include <mode/api/arch_shared_types.bf>
#include <arch/api/shared_types.bf>

View file

@ -1 +0,0 @@
../../../../../../../libsel4/sel4_arch_include/x86_64/sel4/sel4_arch/shared_types_64.bf

View file

@ -632,4 +632,4 @@ block cr3 {
}
#include <mode/api/arch_shared_types.bf>
#include <arch/api/shared_types.bf>

View file

@ -0,0 +1 @@
../../../../../libsel4/arch_include/x86/sel4/arch/shared_types.bf

View file

@ -103,7 +103,7 @@ include/sel4/%.pbf: ${SOURCE_DIR}/include/sel4/%.bf $(srctree)/include/generated
include/sel4/sel4_arch/%.pbf: ${SOURCE_DIR}/sel4_arch_include/${SEL4_ARCH}/sel4/sel4_arch/types.bf $(srctree)/include/generated/autoconf.h
@echo " [PBF_GEN] $@"
@mkdir -p $(dir $@)
$(Q)${CPP} ${CPPFLAGS} -P $< > $@
$(Q)${CPP} ${CPPFLAGS} -I${SOURCE_DIR}/arch_include/${ARCH}/ -P $< > $@
# Bitfield generator
include/sel4/types_gen.h: \

View file

@ -101,4 +101,4 @@ block DebugException {
}
#endif
#include "shared_types_32.bf"
#include <sel4/arch/shared_types.bf>

View file

@ -1,24 +0,0 @@
--
-- Copyright 2016, Data61
-- Commonwealth Scientific and Industrial Research Organisation (CSIRO)
-- ABN 41 687 119 230
--
-- This software may be distributed and modified according to the terms of
-- the BSD 2-Clause license. Note that NO WARRANTY is provided.
-- See "LICENSE_BSD2.txt" for details.
--
-- @TAG(D61BSD)
--
tagged_union seL4_Fault seL4_FaultType {
-- generic faults
tag NullFault 0
tag CapFault 1
tag UnknownSyscall 2
tag UserException 3
#ifdef CONFIG_HARDWARE_DEBUG_API
tag DebugException 4
#endif
-- arch specific faults
tag VMFault 5
}

View file

@ -83,4 +83,4 @@ block DebugException {
}
#endif
#include "shared_types_32.bf"
#include <sel4/arch/shared_types.bf>

View file

@ -91,4 +91,4 @@ block DebugException {
}
#endif
#include "shared_types_64.bf"
#include <sel4/arch/shared_types.bf>