Skip to content

Commit

Permalink
capdl-loader-app: fix location for CDL_VCPU on x86
Browse files Browse the repository at this point in the history
Resolves issue seL4#54

Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h committed Mar 22, 2024
1 parent f4f518f commit 5455768
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions capdl-loader-app/include/capdl.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ typedef enum {
#ifdef CONFIG_ARM_HYPERVISOR_SUPPORT
CDL_VCPU = seL4_ARM_VCPUObject,
#endif
#ifdef CONFIG_VTX
CDL_VCPU = seL4_X86_VCPUObject,
#endif
#elif defined(CONFIG_ARCH_X86)
CDL_PT = seL4_X86_PageTableObject,
CDL_PD = seL4_X86_PageDirectoryObject,
Expand All @@ -190,6 +187,9 @@ typedef enum {
CDL_PML4 = seL4_X64_PML4Object,
CDL_PDPT = seL4_X86_PDPTObject,
#endif /* CONFIG_ARCH_X86_64 */
#ifdef CONFIG_VTX
CDL_VCPU = seL4_X86_VCPUObject,
#endif
#endif /* CONFIG_ARCH_X86 */
CDL_ASIDPool = seL4_ObjectTypeCount + 1,
CDL_Interrupt = seL4_ObjectTypeCount + 2,
Expand Down

0 comments on commit 5455768

Please sign in to comment.