diff options
Diffstat (limited to 'extras')
-rw-r--r-- | extras/mini-os/h/hypervisor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/mini-os/h/hypervisor.h b/extras/mini-os/h/hypervisor.h index c0f9275945..b1cfd60dc6 100644 --- a/extras/mini-os/h/hypervisor.h +++ b/extras/mini-os/h/hypervisor.h @@ -50,13 +50,15 @@ static __inline__ int HYPERVISOR_set_trap_table(trap_info_t *table) return ret; } -static __inline__ int HYPERVISOR_mmu_update(mmu_update_t *req, int count) +static __inline__ int HYPERVISOR_mmu_update(mmu_update_t *req, + int count, + int *success_count) { int ret; __asm__ __volatile__ ( TRAP_INSTR : "=a" (ret) : "0" (__HYPERVISOR_mmu_update), - "b" (req), "c" (count) : "memory" ); + "b" (req), "c" (count), "d" (success_count) : "memory" ); return ret; } |