Rev 3477 | Rev 3593 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3477 | Rev 3479 | ||
|---|---|---|---|
| Line 362... | Line 362... | ||
| 362 | * |
362 | * |
| 363 | * @return |
363 | * @return |
| 364 | * Value of the UPA_CONFIG register in US, |
364 | * Value of the UPA_CONFIG register in US, |
| 365 | * value of the FIREPLANE_CONFIG on US3. |
365 | * value of the FIREPLANE_CONFIG on US3. |
| 366 | */ |
366 | */ |
| 367 | static inline uint64_t upa_config_read(void) |
367 | static inline uint64_t icbus_config_read(void) |
| 368 | { |
368 | { |
| 369 | return asi_u64_read(ASI_UPA_CONFIG, 0); |
369 | return asi_u64_read(ASI_ICBUS_CONFIG, 0); |
| 370 | } |
370 | } |
| 371 | 371 | ||
| 372 | extern void cpu_halt(void); |
372 | extern void cpu_halt(void); |
| 373 | extern void cpu_sleep(void); |
373 | extern void cpu_sleep(void); |
| 374 | extern void asm_delay_loop(const uint32_t usec); |
374 | extern void asm_delay_loop(const uint32_t usec); |