Rev 2927 | Rev 4343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2927 | Rev 4342 | ||
|---|---|---|---|
| Line 44... | Line 44... | ||
| 44 | /** No such instruction on ARM to sleep CPU. */ |
44 | /** No such instruction on ARM to sleep CPU. */ |
| 45 | static inline void cpu_sleep(void) |
45 | static inline void cpu_sleep(void) |
| 46 | { |
46 | { |
| 47 | } |
47 | } |
| 48 | 48 | ||
| - | 49 | /** No I/O port address space on ARM. */ |
|
| - | 50 | static inline void outb(ioport_t port, uint8_t v) |
|
| - | 51 | { |
|
| - | 52 | } |
|
| - | 53 | ||
| - | 54 | /** No I/O port address space on ARM. */ |
|
| - | 55 | static inline uint8_t inb(ioport_t port) |
|
| - | 56 | { |
|
| - | 57 | return 0; |
|
| - | 58 | } |
|
| - | 59 | ||
| 49 | /** Return base address of current stack. |
60 | /** Return base address of current stack. |
| 50 | * |
61 | * |
| 51 | * Return the base address of the current stack. |
62 | * Return the base address of the current stack. |
| 52 | * The stack is assumed to be STACK_SIZE bytes long. |
63 | * The stack is assumed to be STACK_SIZE bytes long. |
| 53 | * The stack must start on page boundary. |
64 | * The stack must start on page boundary. |