Asami Doi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35022 )
Change subject: lib: hardwaremain: Call exception_init() as soon as possible ......................................................................
lib: hardwaremain: Call exception_init() as soon as possible
Call exception_init() before calling cbmem_initialize() because ARMv8 on QEMU uses an exception handler to detect a ram size.
Change-Id: If010234a6576414e7e174c075b599a4aa4c19eab --- M src/lib/hardwaremain.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/35022/1
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c index 2881162..d46cdc0 100644 --- a/src/lib/hardwaremain.c +++ b/src/lib/hardwaremain.c @@ -454,6 +454,8 @@ * it is the very first thing done in ramstage.*/ console_init();
+ exception_init(); + post_code(POST_CONSOLE_READY);
/* @@ -472,8 +474,6 @@ #if CONFIG(HAVE_ACPI_RESUME) acpi_is_wakeup(); #endif - - exception_init(); threads_initialize();
/* Schedule the static boot state entries. */