Astronet Поиск по астрономическим сайтам English Russian
       
        Точная форма слов   О проекте   Сайты   Справка
Поиск по:   - Поискать по всем серверам
На этой странице приведены все страницы, которые ссылаются на http://jet.sao.ru/hq/sts/linux/doc/io-portprog/IO-Port-Programming-3.html. Показаны документы 1 - 1 из 1.

1. Linux I/O port programming mini-HOWTO: Using I/O ports in C programs
... Routines for accessing I/O ports are in /usr/include/asm/io.h (or linux/include/asm-i386/io.h in the kernel source distribution). ... Before you access any ports, you must give your program permission to do so. This is done by calling the ioperm() function (declared in unistd.h , and defined in the kernel) somewhere near the start of your program (before any I/O port accesses). ... For example, ioperm(0x300, 5, 1) would give access to ports 0x300 through 0x304 (a total of 5 ports). ...
[ Сохраненная копия ]  Ссылки http://mavr.sao.ru/hq/sts/linux/doc/io-portprog/IO-Port-Programming-2.html -- 7.6 Кб -- 28.12.2007
[ Сохраненная копия ]  Ссылки http://www.sao.ru/hq/sts/linux/doc/io-portprog/IO-Port-Programming-2.html -- 7.6 Кб -- 11.09.2010
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/doc/io-portprog/IO-Port-Programming-2.html -- 7.6 Кб -- 02.10.2012
Похожие документы


Астронет | Научная сеть | ГАИШ МГУ | Поиск по МГУ | О проекте | Авторам

Комментарии, вопросы? Пишите: info@astronet.ru или сюда

Rambler's Top100 RFBR Яндекс цитирования