diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-05-19 12:10:16 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-05-19 12:10:16 +0000 |
commit | 74a3bae43b0d35ffbed59f01dbedb2079aab488a (patch) | |
tree | 5d41094798f59cb9de9f1621686def17a5c95aea /extras | |
parent | c9cfbb332258e79114d427a0049bfe6fbb0c19d4 (diff) | |
download | xen-74a3bae43b0d35ffbed59f01dbedb2079aab488a.tar.gz xen-74a3bae43b0d35ffbed59f01dbedb2079aab488a.tar.bz2 xen-74a3bae43b0d35ffbed59f01dbedb2079aab488a.zip |
bitkeeper revision 1.913 (40ab4ea8vu84ako0LR_rQN0fDuznVw)
Fix the mmu_update hypercall interface.
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; } |