Skip to content

Commit

Permalink
minit: insert printm as work-around for a race condition
Browse files Browse the repository at this point in the history
Reboot does not work reliably without this.
  • Loading branch information
terpstra committed Mar 20, 2018
1 parent 5e60055 commit 5a0e3e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions machine/minit.c
Expand Up @@ -143,6 +143,7 @@ void init_first_hart(uintptr_t hartid, uintptr_t dtb)
query_uart(dtb);
query_uart16550(dtb);
query_htif(dtb);
printm("bbl loader\r\n");

hart_init();
hls_init(0); // this might get called again from parse_config_string
Expand Down

0 comments on commit 5a0e3e5

Please sign in to comment.