io.h (401B)
1 /* io.h */ 2 3 #ifndef _IO_H_ 4 #define _IO_H_ 5 6 #define readb(a) (*((volatile unsigned char *) (a))) 7 #define writeb(v, a) (*((volatile unsigned char *) (a)) = (v)) 8 9 #define readw(a) (*((volatile unsigned short *) (a))) 10 #define writew(v, a) (*((volatile unsigned short *) (a)) = (v)) 11 12 #define readl(a) (*((volatile unsigned int *) (a))) 13 #define writel(v, a) (*((volatile unsigned int *) (a)) = (v)) 14 15 #endif