Minor fixes for other ARM platforms

This commit is contained in:
Adrian Danis 2016-06-07 13:35:55 +10:00
parent 5f0ae410f4
commit 6d6b047b2d
3 changed files with 6 additions and 2 deletions

View file

@ -74,8 +74,8 @@ exception_t invokeVCPUSetTCB(vcpu_t *vcpu, tcb_t *tcb);
#else /* end of CONFIG_ARM_HYPERVISOR_SUPPORT */
/* used in boot.c with a guard, use a marco to avoid exposing vcpu_t */
#define vcpu_restore(x)
#define vcpu_switch(x)
#define vcpu_restore(x) do {} while(0)
#define vcpu_switch(x) do {} while(0)
static inline void VGICMaintenance(void) {}
#endif /* end of !CONFIG_ARM_HYPERVISOR_SUPPORT */

View file

@ -241,6 +241,9 @@ def init_arch_types(wordsize):
CapType("seL4_ARM_PageDirectory", wordsize),
CapType("seL4_ARM_ASIDControl", wordsize),
CapType("seL4_ARM_ASIDPool", wordsize),
CapType("seL4_ARM_VCPU", wordsize),
CapType("seL4_ARM_IOSpace", wordsize),
CapType("seL4_ARM_IOPageTable", wordsize),
StructType("seL4_UserContext", wordsize * 17, wordsize),
],

View file

@ -28,6 +28,7 @@
#include <plat/machine/hardware.h>
#include <armv/context_switch.h>
#include <arch/object/iospace.h>
#include <arch/object/vcpu.h>
#ifdef CONFIG_BENCHMARK_TRACK_KERNEL_ENTRIES
#include <benchmark_track.h>