diff options
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/hypervisor.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-sparc64/hypervisor.h b/include/asm-sparc64/hypervisor.h index 726e2ea03ce3..612bf319753f 100644 --- a/include/asm-sparc64/hypervisor.h +++ b/include/asm-sparc64/hypervisor.h | |||
@@ -342,6 +342,8 @@ extern unsigned long sun4v_cpu_qconf(unsigned long type, | |||
342 | * ENOCPU Invalid cpu in CPU list | 342 | * ENOCPU Invalid cpu in CPU list |
343 | * EWOULDBLOCK Some or all of the listed CPUs did not receive | 343 | * EWOULDBLOCK Some or all of the listed CPUs did not receive |
344 | * the mondo | 344 | * the mondo |
345 | * ECPUERROR One or more of the listed CPUs are in error | ||
346 | * state, use HV_FAST_CPU_STATE to see which ones | ||
345 | * EINVAL CPU list includes caller's CPU ID | 347 | * EINVAL CPU list includes caller's CPU ID |
346 | * | 348 | * |
347 | * Send a mondo interrupt to the CPUs in the given CPU list with the | 349 | * Send a mondo interrupt to the CPUs in the given CPU list with the |
@@ -355,6 +357,10 @@ extern unsigned long sun4v_cpu_qconf(unsigned long type, | |||
355 | */ | 357 | */ |
356 | #define HV_FAST_CPU_MONDO_SEND 0x42 | 358 | #define HV_FAST_CPU_MONDO_SEND 0x42 |
357 | 359 | ||
360 | #ifndef __ASSEMBLY__ | ||
361 | extern unsigned long sun4v_cpu_mondo_send(unsigned long cpu_count, unsigned long cpu_list_pa, unsigned long mondo_block_pa); | ||
362 | #endif | ||
363 | |||
358 | /* cpu_myid() | 364 | /* cpu_myid() |
359 | * TRAP: HV_FAST_TRAP | 365 | * TRAP: HV_FAST_TRAP |
360 | * FUNCTION: HV_FAST_CPU_MYID | 366 | * FUNCTION: HV_FAST_CPU_MYID |
@@ -382,6 +388,10 @@ extern unsigned long sun4v_cpu_qconf(unsigned long type, | |||
382 | #define HV_CPU_STATE_RUNNING 0x02 | 388 | #define HV_CPU_STATE_RUNNING 0x02 |
383 | #define HV_CPU_STATE_ERROR 0x03 | 389 | #define HV_CPU_STATE_ERROR 0x03 |
384 | 390 | ||
391 | #ifndef __ASSEMBLY__ | ||
392 | extern long sun4v_cpu_state(unsigned long cpuid); | ||
393 | #endif | ||
394 | |||
385 | /* cpu_set_rtba() | 395 | /* cpu_set_rtba() |
386 | * TRAP: HV_FAST_TRAP | 396 | * TRAP: HV_FAST_TRAP |
387 | * FUNCTION: HV_FAST_CPU_SET_RTBA | 397 | * FUNCTION: HV_FAST_CPU_SET_RTBA |