端口映射的I / O(并行端口)
我正在阅读linux设备驱动程序,并从并行端口进行读写。我读了一些有关 ioperm(from, num, turn_on) , where: from is the first port number to give access to num the number of consecutive ports to give access to turn_on is a boolean value. Example: ioperm(0x300, 5, 1) would give access to ports 0x300 through 0x304 (a total of 5 ports). The last …