diff options
author | neel <neel@FreeBSD.org> | 2014-10-26 19:03:06 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2014-10-26 19:03:06 +0000 |
commit | 4ee18dab174120853a3d2d38c7745f4b1489ae7b (patch) | |
tree | 20731063f1756c50fce563e39510d27e17e2228f /sys/amd64/vmm/io/vatpit.h | |
parent | 49292da84478e126422828e82a59e5204e98b6f1 (diff) | |
download | FreeBSD-src-4ee18dab174120853a3d2d38c7745f4b1489ae7b.zip FreeBSD-src-4ee18dab174120853a3d2d38c7745f4b1489ae7b.tar.gz |
Change the type of the first argument to the I/O emulation handlers to
'struct vm *'. Previously it used to be a 'void *' but there is no reason
to hide the actual type from the handler.
Discussed with: tychon
MFC after: 1 week
Diffstat (limited to 'sys/amd64/vmm/io/vatpit.h')
-rw-r--r-- | sys/amd64/vmm/io/vatpit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/vmm/io/vatpit.h b/sys/amd64/vmm/io/vatpit.h index 3350455..5719c9c 100644 --- a/sys/amd64/vmm/io/vatpit.h +++ b/sys/amd64/vmm/io/vatpit.h @@ -37,9 +37,9 @@ struct vatpit *vatpit_init(struct vm *vm); void vatpit_cleanup(struct vatpit *vatpit); -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, +int vatpit_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes, uint32_t *eax); +int vatpit_nmisc_handler(struct vm *vm, int vcpuid, bool in, int port, + int bytes, uint32_t *eax); #endif /* _VATPIT_H_ */ |