Rev 3913 | Rev 3953 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3913 | Rev 3929 | ||
|---|---|---|---|
| Line 73... | Line 73... | ||
| 73 | extern ipl_t interrupts_enable(void); |
73 | extern ipl_t interrupts_enable(void); |
| 74 | extern void interrupts_restore(ipl_t ipl); |
74 | extern void interrupts_restore(ipl_t ipl); |
| 75 | extern ipl_t interrupts_read(void); |
75 | extern ipl_t interrupts_read(void); |
| 76 | extern void asm_delay_loop(uint32_t t); |
76 | extern void asm_delay_loop(uint32_t t); |
| 77 | 77 | ||
| 78 | static inline void pio_write_8(ioport_t port, uint8_t v) |
78 | static inline void pio_write_8(ioport8_t *port, uint8_t v) |
| 79 | { |
79 | { |
| 80 | /* XXX */ |
80 | /* XXX */ |
| 81 | } |
81 | } |
| 82 | 82 | ||
| 83 | static inline uint8_t pio_read_8(ioport_t port) |
83 | static inline uint8_t pio_read_8(ioport8_t *port) |
| 84 | { |
84 | { |
| 85 | return 0; /* XXX */ |
85 | return 0; /* XXX */ |
| 86 | } |
86 | } |
| 87 | 87 | ||
| 88 | #endif |
88 | #endif |