Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
#include <contrib/dev/acpica/include/acpi.h> | #include <contrib/dev/acpica/include/acpi.h> | ||||
#include "acpi_if.h" | #include "acpi_if.h" | ||||
static device_t vmbus_devp; | static device_t vmbus_devp; | ||||
static int vmbus_inited; | static int vmbus_inited; | ||||
static hv_setup_args setup_args; /* only CPU 0 supported at this time */ | static hv_setup_args setup_args; /* only CPU 0 supported at this time */ | ||||
static char *vmbus_ids[] = { "VMBUS", NULL }; | static char *vmbus_ids[] = { "VMBUS", NULL }; | ||||
/** | |||||
* sysctl root tree node for statistic information : hw.hyperv | |||||
*/ | |||||
SYSCTL_NODE(_hw, OID_AUTO, hyperv, CTLFLAG_RD, NULL, "Hyper-V"); | |||||
howard0su_gmail.com: Please complete the comments like "The stats for Hyper-V drivers." | |||||
honzhan_microsoft.comAuthorUnsubmitted Not Done Inline ActionsSure, I'll update it. honzhan_microsoft.com: Sure, I'll update it. | |||||
/** | /** | ||||
* @brief Software interrupt thread routine to handle channel messages from | * @brief Software interrupt thread routine to handle channel messages from | ||||
* the hypervisor. | * the hypervisor. | ||||
*/ | */ | ||||
static void | static void | ||||
vmbus_msg_swintr(void *arg) | vmbus_msg_swintr(void *arg) | ||||
{ | { | ||||
int cpu; | int cpu; | ||||
▲ Show 20 Lines • Show All 652 Lines • Show Last 20 Lines |
Please complete the comments like "The stats for Hyper-V drivers."