diff options
author | Tycho Nightingale <tychon@FreeBSD.org> | 2014-04-18 15:22:56 +0000 |
---|---|---|
committer | Tycho Nightingale <tychon@FreeBSD.org> | 2014-04-18 15:22:56 +0000 |
commit | d6aa08c3efc57b75361dbffb9a7bcf1dabfaefcb (patch) | |
tree | 4fa8a427cba6f245ab149568c8864a1576f2460d /sys/amd64/vmm/vmm_ioport.h | |
parent | cb18b57c6d5e879df9acd7c13d9c09fc9c2110d2 (diff) | |
download | src-d6aa08c3efc57b75361dbffb9a7bcf1dabfaefcb.tar.gz src-d6aa08c3efc57b75361dbffb9a7bcf1dabfaefcb.zip |
Respect the destination operand size of the 'Input from Port' instruction.
Approved by: grehan (co-mentor)
Notes
Notes:
svn path=/head/; revision=264648
Diffstat (limited to 'sys/amd64/vmm/vmm_ioport.h')
-rw-r--r-- | sys/amd64/vmm/vmm_ioport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/vmm/vmm_ioport.h b/sys/amd64/vmm/vmm_ioport.h index 55731468df57..02e543a913d9 100644 --- a/sys/amd64/vmm/vmm_ioport.h +++ b/sys/amd64/vmm/vmm_ioport.h @@ -30,7 +30,7 @@ #define _VMM_IOPORT_H_ typedef int (*ioport_handler_func_t)(void *vm, int vcpuid, - struct vm_exit *vmexit); + bool in, int port, int bytes, uint32_t *val); int emulate_ioport(struct vm *vm, int vcpuid, struct vm_exit *vmexit); |