return (poke_driver_fd < 0) ? 0 : 1;
}
-static inline int
+static inline void
intel_cleanup_io(struct pci_access *a UNUSED)
{
close(poke_driver_fd);
- return 1;
}
static inline u8
port_io_args args = { POKE_SIGNATURE, port, sizeof(u32), value };
ioctl(poke_driver_fd, POKE_PORT_WRITE, &args, sizeof(args));
}
+
+static inline void intel_io_lock(void)
+{
+}
+
+static inline void intel_io_unlock(void)
+{
+}