Searched refs:kqemu_fd (Results 1 – 1 of 1) sorted by relevance
/external/qemu/ |
D | kqemu.c | 72 HANDLE kqemu_fd = KQEMU_INVALID_FD; variable 76 int kqemu_fd = KQEMU_INVALID_FD; variable 175 kqemu_fd = CreateFile(KQEMU_DEVICE, GENERIC_WRITE | GENERIC_READ, in kqemu_init() 179 if (kqemu_fd == KQEMU_INVALID_FD) { in kqemu_init() 185 kqemu_fd = open(KQEMU_DEVICE, O_RDWR); in kqemu_init() 186 if (kqemu_fd == KQEMU_INVALID_FD) { in kqemu_init() 194 DeviceIoControl(kqemu_fd, KQEMU_GET_VERSION, NULL, 0, in kqemu_init() 197 ioctl(kqemu_fd, KQEMU_GET_VERSION, &version); in kqemu_init() 232 ret = DeviceIoControl(kqemu_fd, KQEMU_INIT, &kinit, sizeof(kinit), in kqemu_init() 235 ret = ioctl(kqemu_fd, KQEMU_INIT, &kinit); in kqemu_init() [all …]
|