From 74a3bae43b0d35ffbed59f01dbedb2079aab488a Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Wed, 19 May 2004 12:10:16 +0000 Subject: bitkeeper revision 1.913 (40ab4ea8vu84ako0LR_rQN0fDuznVw) Fix the mmu_update hypercall interface. --- extras/mini-os/h/hypervisor.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extras') 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; } -- cgit v1.2.3