Rev 2927 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2927 | Rev 4344 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | */ |
31 | */ |
32 | 32 | ||
33 | #ifndef LIBC_ia32_DDI_H_ |
33 | #ifndef LIBC_ia32_DDI_H_ |
34 | #define LIBC_ia32_DDI_H_ |
34 | #define LIBC_ia32_DDI_H_ |
35 | 35 | ||
- | 36 | #define IO_SPACE_BOUNDARY ((void *) (64 * 1024)) |
|
- | 37 | ||
36 | static inline void outb(int16_t port, uint8_t b) |
38 | static inline void outb(int16_t port, uint8_t b) |
37 | { |
39 | { |
38 | asm volatile ("outb %0, %1\n" :: "a" (b), "d" (port)); |
40 | asm volatile ("outb %0, %1\n" :: "a" (b), "d" (port)); |
39 | } |
41 | } |
40 | 42 |