History

MIPS: Add functions for hypervisor call

Introduce kvm_hypercall[0-3]. Define three new hypercalls for MIPS: GET_CLOCK_FREQ, EXIT_VM, and CONSOLE_OUTPUT. [andreas.herrmann: * Properly define hypercalls and HC numbers for MIPS in kvm_para.h header files]

David Daney committed 12 years ago

Commit 90dfdc71 parent cd3f5383 files · +117 −1Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/kvm_para.h+3−0
@@ -20,6 +20,9 @@ · 19 unmodified lines
2020 #define KVM_HC_FEATURES 3
2121 #define KVM_HC_PPC_MAP_MAGIC_PAGE 4
2222 #define KVM_HC_KICK_CPU 5
23+#define KVM_HC_MIPS_GET_CLOCK_FREQ 6
24+#define KVM_HC_MIPS_EXIT_VM 7
25+#define KVM_HC_MIPS_CONSOLE_OUTPUT 8
2326
2427 /*
2528 * hypercalls use architecture specific