Rev 3664 | Rev 4130 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3664 | Rev 3993 | ||
|---|---|---|---|
| Line 431... | Line 431... | ||
| 431 | 431 | ||
| 432 | extern void cpu_halt(void); |
432 | extern void cpu_halt(void); |
| 433 | extern void cpu_sleep(void); |
433 | extern void cpu_sleep(void); |
| 434 | extern void asm_delay_loop(const uint32_t usec); |
434 | extern void asm_delay_loop(const uint32_t usec); |
| 435 | 435 | ||
| 436 | extern uint64_t read_from_ag_g7(void); |
- | |
| 437 | extern void write_to_ag_g6(uint64_t val); |
- | |
| 438 | extern void write_to_ag_g7(uint64_t val); |
- | |
| 439 | extern void write_to_ig_g6(uint64_t val); |
- | |
| 440 | - | ||
| 441 | extern void switch_to_userspace(uint64_t pc, uint64_t sp, uint64_t uarg); |
436 | extern void switch_to_userspace(uint64_t pc, uint64_t sp, uint64_t uarg); |
| 442 | 437 | ||
| - | 438 | #if defined(SUN4U) |
|
| - | 439 | #include <arch/sun4u/asm.h> |
|
| - | 440 | #elif defined (SUN4V) |
|
| - | 441 | #include <arch/sun4v/asm.h> |
|
| - | 442 | #endif |
|
| - | 443 | ||
| 443 | #endif |
444 | #endif |
| 444 | 445 | ||
| 445 | /** @} |
446 | /** @} |
| 446 | */ |
447 | */ |