diff options
Diffstat (limited to 'include/skiboot.h')
-rw-r--r-- | include/skiboot.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/skiboot.h b/include/skiboot.h index df11934..4f4a005 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -163,6 +163,11 @@ extern void start_kernel32(uint64_t entry, void* fdt, uint64_t mem_top) __noreturn; extern void start_kernel_secondary(uint64_t entry) __noreturn; +/* Re-set r16 register with CPU pointer, based on stack (r1) value */ +extern void restore_cpu_ptr_r16(void); +/* Set r16 register with value in 'r16' parameter */ +extern void set_cpu_ptr_r16(uint64_t r16); + /* Get description of machine from HDAT and create device-tree */ extern int parse_hdat(bool is_opal); |