diff options
author | tychon <tychon@FreeBSD.org> | 2014-04-18 15:22:56 +0000 |
---|---|---|
committer | tychon <tychon@FreeBSD.org> | 2014-04-18 15:22:56 +0000 |
commit | 2c52df9a16291875deff8314a294582040ff68c3 (patch) | |
tree | 4fa8a427cba6f245ab149568c8864a1576f2460d /sys/amd64/vmm/io/vatpit.h | |
parent | 0cd6870500947ef766e04e48ebae89e91cf375c6 (diff) | |
download | FreeBSD-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.h | 6 |
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_ */ |