Module Name: src Committed By: cherry Date: Thu Jan 24 04:11:38 UTC 2019
Modified Files: src/sys/arch/xen/include/amd64: hypercalls.h Log Message: hvm_op returns a signed value. The pattern is that a hypercall which returns a value < 0 may imply an error. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/xen/include/amd64/hypercalls.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/xen/include/amd64/hypercalls.h diff -u src/sys/arch/xen/include/amd64/hypercalls.h:1.8 src/sys/arch/xen/include/amd64/hypercalls.h:1.9 --- src/sys/arch/xen/include/amd64/hypercalls.h:1.8 Wed Dec 7 16:01:39 2011 +++ src/sys/arch/xen/include/amd64/hypercalls.h Thu Jan 24 04:11:38 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: hypercalls.h,v 1.8 2011/12/07 16:01:39 cegger Exp $ */ +/* $NetBSD: hypercalls.h,v 1.9 2019/01/24 04:11:38 cherry Exp $ */ /****************************************************************************** * hypercall.h * @@ -361,11 +361,11 @@ HYPERVISOR_nmi_op( return _hypercall2(int, nmi_op, op, arg); } -static inline unsigned long +static inline long HYPERVISOR_hvm_op( int op, void *arg) { - return _hypercall2(unsigned long, hvm_op, op, arg); + return _hypercall2(long, hvm_op, op, arg); } static inline int