X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_sym_iface.c;h=9b3a09028a193140b0639d3f316a8bc6d69e97d9;hb=f1e6da297651aadbc037f1635a82f41285a0a424;hp=474ea0b06a76a1d06e0744368fda3cbcf7977950;hpb=b8e77690b473b3ac50c5fef0a32d1710a2e8a1d9;p=palacios.git diff --git a/palacios/src/palacios/vmm_sym_iface.c b/palacios/src/palacios/vmm_sym_iface.c index 474ea0b..9b3a090 100644 --- a/palacios/src/palacios/vmm_sym_iface.c +++ b/palacios/src/palacios/vmm_sym_iface.c @@ -33,8 +33,6 @@ // A succesfull symcall returns via the RET_HCALL, with the return values in registers // A symcall error returns via the ERR_HCALL with the error code in rbx -#define SYM_CALL_RET_HCALL 0x535 -#define SYM_CALL_ERR_HCALL 0x536 /* Notes: We use a combination of SYSCALL and SYSENTER Semantics @@ -237,8 +235,8 @@ int v3_init_sym_iface(struct v3_vm_info * vm) { v3_hook_msr(vm, SYMCALL_GS_MSR, symcall_msr_read, symcall_msr_write, NULL); v3_hook_msr(vm, SYMCALL_FS_MSR, symcall_msr_read, symcall_msr_write, NULL); - v3_register_hypercall(vm, SYM_CALL_RET_HCALL, sym_call_ret, NULL); - v3_register_hypercall(vm, SYM_CALL_ERR_HCALL, sym_call_err, NULL); + v3_register_hypercall(vm, SYMCALL_RET_HCALL, sym_call_ret, NULL); + v3_register_hypercall(vm, SYMCALL_ERR_HCALL, sym_call_err, NULL); return 0; }