Skip to content

Commit

Permalink
smc_cap: Update SMC Cap tracking in vm struct
Browse files Browse the repository at this point in the history
Signed-off-by: Robbie VanVossen <[email protected]>
  • Loading branch information
Alex Pavey authored and Furao committed Aug 14, 2023
1 parent 921806b commit 67dab94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/VM_Arm/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ seL4_CPtr camkes_get_smmu_sid_cap();
#endif

#ifdef CONFIG_ALLOW_SMC_CALLS
seL4_CPtr camkes_get_smc_cap();
seL4_CPtr camkes_get_smc_cap(seL4_Word smc_call);
#endif

int get_crossvm_irq_num(void)
Expand Down Expand Up @@ -1238,7 +1238,7 @@ static int main_continued(void)
assert(!err);

#ifdef CONFIG_ALLOW_SMC_CALLS
vm.vm_smc = camkes_get_smc_cap();
vm.vm_get_smc_cap = &camkes_get_smc_cap;
#endif

/* Create CPUs and DTB node */
Expand Down

0 comments on commit 67dab94

Please sign in to comment.