diff options
author | sephe <sephe@FreeBSD.org> | 2016-02-24 05:01:18 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-02-24 05:01:18 +0000 |
commit | 630fac3f5985f54bdac85fb89c0e01e9cf3e955d (patch) | |
tree | e9ccd614711d1e7939539696935e1a5397f8d6a4 /sys/dev/hyperv/include | |
parent | e115de5638e0f08ee561543041800c5e367c8c27 (diff) | |
download | FreeBSD-src-630fac3f5985f54bdac85fb89c0e01e9cf3e955d.zip FreeBSD-src-630fac3f5985f54bdac85fb89c0e01e9cf3e955d.tar.gz |
hyperv/utils: Code rearrange and cleanup
Split heartbeat, shutdown and timesync out of utils code
and name them properly.
Submitted by: Jun Su <junsu microsoft com>
Reviewed by: adrian, sephe, Hongjiang Zhang <honzhan microsoft com>
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5216
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r-- | sys/dev/hyperv/include/hyperv.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h index 8e2ca57..f45543b 100644 --- a/sys/dev/hyperv/include/hyperv.h +++ b/sys/dev/hyperv/include/hyperv.h @@ -919,40 +919,5 @@ hv_get_phys_addr(void *virt) return (ret); } - -/** - * KVP related structures - * - */ -typedef struct hv_vmbus_service { - hv_guid guid; /* Hyper-V GUID */ - char *name; /* name of service */ - boolean_t enabled; /* service enabled */ - void* context; - struct task task; - /* - * function to initialize service - */ - int (*init)(struct hv_vmbus_service *); - - /* - * function to process Hyper-V messages - */ - void (*callback)(void *); - - /* - * function to uninitilize service - */ - int (*uninit)(struct hv_vmbus_service *); -} hv_vmbus_service; - -extern uint8_t* receive_buffer[]; -extern hv_vmbus_service service_table[]; extern uint32_t hv_vmbus_protocal_version; - -void hv_kvp_callback(void *context); -int hv_kvp_init(hv_vmbus_service *serv); -void hv_kvp_deinit(void); - #endif /* __HYPERV_H__ */ - |