aboutsummaryrefslogtreecommitdiff
path: root/include/skiboot.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-24 09:27:11 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-08-22 15:26:51 +1000
commitad0eb2ca2ca7cab621f990a694746198cbc94ed1 (patch)
tree6e54f3b96625ebdd95fe8e6188c6fbbd51082490 /include/skiboot.h
parent3476b2ad3a5a53c92ec5e358dd9c28f5ef09c96d (diff)
downloadskiboot-ad0eb2ca2ca7cab621f990a694746198cbc94ed1.zip
skiboot-ad0eb2ca2ca7cab621f990a694746198cbc94ed1.tar.gz
skiboot-ad0eb2ca2ca7cab621f990a694746198cbc94ed1.tar.bz2
Rename rvwinkle patch to reset patch and install at boot
The patch code itself is unchanged (for now...). Install it during boot so we will be able to use power management instructions. We can't just have a proper exception code built at 0x100 as this is otherwise one of our entry points. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/skiboot.h')
-rw-r--r--include/skiboot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/skiboot.h b/include/skiboot.h
index f475dd6..1dbe38f 100644
--- a/include/skiboot.h
+++ b/include/skiboot.h
@@ -196,6 +196,7 @@ extern void __noreturn load_and_boot_kernel(bool is_reboot);
extern void cleanup_tlb(void);
extern void init_shared_sprs(void);
extern void init_replicated_sprs(void);
+extern void setup_reset_vector(void);
/* Various probe routines, to replace with an initcall system */
extern void probe_p7ioc(void);
@@ -271,4 +272,7 @@ extern void fake_rtc_init(void);
/* Assembly in head.S */
extern void enter_pm_state(bool winkle);
+extern uint32_t reset_patch_start;
+extern uint32_t reset_patch_end;
+
#endif /* __SKIBOOT_H */