i386-io-linux.h
来自「linux下的pci设备浏览工具」· C头文件 代码 · 共 27 行
H
27 行
/* * The PCI Library -- Access to i386 I/O ports on Linux * * Copyright (c) 1997--2006 Martin Mares <mj@ucw.cz> * * Can be freely distributed and used under the terms of the GNU GPL. */#ifdef __GLIBC__#include <sys/io.h>#else#include <asm/io.h>#endifstatic 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 + -
显示快捷键?