Astronet Поиск по астрономическим сайтам English Russian
       
        Точная форма слов   О проекте   Сайты   Справка
Поиск по:jet.sao.ru/   - Поискать по всем серверам
Найдено документов: 1034 (1 сайтов) ---- Время поиска: 0.22сек.   

Показаны документы, содержащие фрагменты текста из документа
http://jet.sao.ru/hq/sts/linux/doc/pwr2bash/From-PowerUp-To-Bash-Prompt-HOWTO-10.html.

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://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 Яндекс цитирования