TacOS
0.2
|
Définition des macros pour faire des IO avec le matériel. Intel-specific I/O space access routines. Plus de détails...
Aller au code source de ce fichier.
Macros | |
#define | outb(value, port) |
#define | inb(port) |
#define | outw(value, port) |
#define | inw(port) |
#define | outl(value, port) |
#define | inl(port) |
Copyright (C) 2010, 2011, 2012 - TacOS developers.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.
#define inb | ( | port | ) |
Read one byte from port
#define inl | ( | port | ) |
read one long from port
#define inw | ( | port | ) |
Read one word from port
#define outb | ( | value, | |
port | |||
) |
Write value (byte) on port
#define outl | ( | value, | |
port | |||
) |
write value (long) on port
#define outw | ( | value, | |
port | |||
) |
Write value (word) on port