i386-io-cygwin.h

来自「linux下的pci设备浏览工具」· C头文件 代码 · 共 23 行

H
23
字号
/* *	The PCI Library -- Access to i386 I/O ports under Windows with CYGWIN * *	Copyright (c) 1997--2006 Martin Mares <mj@ucw.cz> * *	Can be freely distributed and used under the terms of the GNU GPL. */#include <sys/io.h>static intintel_setup_io(struct pci_access *a UNUSED){  return (iopl(3) < 0) ? 0 : 1;}static inline intintel_cleanup_io(struct pci_access *a UNUSED){  iopl(3);  return -1;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?