diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-05-13 15:09:41 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-05-13 15:09:41 +0000 |
commit | cde62b6cc81b19067a739d6f59faf0b1cf49cace (patch) | |
tree | 9249fbcb380fe5a6a553c8671995d9d0d3dce252 /xenolinux-2.4.26-sparse/include/asm-xen/hypervisor.h | |
parent | 462dfb2f90b56afcdebe67d1f0302c059e0bbb1b (diff) | |
download | xen-cde62b6cc81b19067a739d6f59faf0b1cf49cace.tar.gz xen-cde62b6cc81b19067a739d6f59faf0b1cf49cace.tar.bz2 xen-cde62b6cc81b19067a739d6f59faf0b1cf49cace.zip |
bitkeeper revision 1.891.1.16 (40a38fb5auV2wZtbB0nLg2hIQ75DjA)
Optimisations for new network IO model. Much better receive
performance.
Diffstat (limited to 'xenolinux-2.4.26-sparse/include/asm-xen/hypervisor.h')
-rw-r--r-- | xenolinux-2.4.26-sparse/include/asm-xen/hypervisor.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xenolinux-2.4.26-sparse/include/asm-xen/hypervisor.h b/xenolinux-2.4.26-sparse/include/asm-xen/hypervisor.h index c355ec5381..cb841f3fb7 100644 --- a/xenolinux-2.4.26-sparse/include/asm-xen/hypervisor.h +++ b/xenolinux-2.4.26-sparse/include/asm-xen/hypervisor.h @@ -459,4 +459,18 @@ static inline int HYPERVISOR_physdev_op(void *physdev_op) return ret; } +static inline int HYPERVISOR_update_va_mapping_otherdomain( + unsigned long page_nr, pte_t new_val, unsigned long flags, domid_t domid) +{ + int ret; + __asm__ __volatile__ ( + TRAP_INSTR + : "=a" (ret) : "0" (__HYPERVISOR_update_va_mapping_otherdomain), + "b" (page_nr), "c" ((new_val).pte_low), "d" (flags), + "S" ((unsigned long)domid), "D" ((unsigned long)(domid>>32)) : + "memory" ); + + return ret; +} + #endif /* __HYPERVISOR_H__ */ |