aboutsummaryrefslogtreecommitdiff
path: root/core/init.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-03-26 15:05:59 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-03-27 00:40:50 -0500
commit8cabd06243ac077a4ca6c09424fac92941b72321 (patch)
tree3c91635af86c4074a9bb9ba988a8d2e4a5305cbe /core/init.c
parent0ce7482fb650f3b2ffd52bbfb1546cdd8aa9117c (diff)
downloadskiboot-8cabd06243ac077a4ca6c09424fac92941b72321.zip
skiboot-8cabd06243ac077a4ca6c09424fac92941b72321.tar.gz
skiboot-8cabd06243ac077a4ca6c09424fac92941b72321.tar.bz2
core/fast-reboot: verify mem regions before fast reboot
Run the mem_region sanity checkers before proceeding with fast reboot. This is the beginning of proactive sanity checks on opal data for fast reboot (with complements the reactive disable_fast_reboot cases). This is encouraged to re-use and share any kind of debug code and unit test code. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/init.c')
-rw-r--r--core/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/init.c b/core/init.c
index a60b784..3de89a7 100644
--- a/core/init.c
+++ b/core/init.c
@@ -454,8 +454,6 @@ static void load_initramfs(void)
(uint64_t)INITRAMFS_LOAD_BASE + initramfs_size);
}
-int64_t mem_dump_free(void);
-
void *fdt;
void __noreturn load_and_boot_kernel(bool is_reboot)