summaryrefslogtreecommitdiffstats
path: root/sys/amd64/vmm/io/vatpit.h
diff options
context:
space:
mode:
authortychon <tychon@FreeBSD.org>2014-04-18 15:22:56 +0000
committertychon <tychon@FreeBSD.org>2014-04-18 15:22:56 +0000
commit2c52df9a16291875deff8314a294582040ff68c3 (patch)
tree4fa8a427cba6f245ab149568c8864a1576f2460d /sys/amd64/vmm/io/vatpit.h
parent0cd6870500947ef766e04e48ebae89e91cf375c6 (diff)
downloadFreeBSD-src-2c52df9a16291875deff8314a294582040ff68c3.zip
FreeBSD-src-2c52df9a16291875deff8314a294582040ff68c3.tar.gz
Respect the destination operand size of the 'Input from Port' instruction.
Approved by: grehan (co-mentor)
Diffstat (limited to 'sys/amd64/vmm/io/vatpit.h')
-rw-r--r--sys/amd64/vmm/io/vatpit.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/amd64/vmm/io/vatpit.h b/sys/amd64/vmm/io/vatpit.h
index ef89912..3350455 100644
--- a/sys/amd64/vmm/io/vatpit.h
+++ b/sys/amd64/vmm/io/vatpit.h
@@ -37,7 +37,9 @@
struct vatpit *vatpit_init(struct vm *vm);
void vatpit_cleanup(struct vatpit *vatpit);
-int vatpit_handler(void *vm, int vcpuid, struct vm_exit *vmexit);
-int vatpit_nmisc_handler(void *vm, int vcpuid, struct vm_exit *vmexit);
+int vatpit_handler(void *vm, int vcpuid, bool in, int port, int bytes,
+ uint32_t *eax);
+int vatpit_nmisc_handler(void *vm, int vcpuid, bool in, int port, int bytes,
+ uint32_t *eax);
#endif /* _VATPIT_H_ */
OpenPOWER on IntegriCloud