Go to the documentation of this file.
   18 #ifndef __POK_IOPORTS_H__ 
   19 #define __POK_IOPORTS_H__ 
   23 #define outb(port, data)                                        \ 
   24   asm volatile ("outb %b0,%w1"                                  \ 
   26                 :"a" (data),"d" (port)) 
   31   asm volatile ("inb %w1,%0"                                    \ 
   37 #define outl(port, data)                                        \ 
   38   asm volatile ("outl %0,%w1"                                   \ 
   40                 :"a" (data),"d" (port)) 
   45   asm volatile ("inl %w1,%0"                                    \