2023-02-14 22:26:40 +01:00
|
|
|
#include <libdragon.h>
|
|
|
|
|
|
|
|
#include "boot/boot.h"
|
2023-07-02 21:52:58 +02:00
|
|
|
#include "menu/menu.h"
|
2023-02-14 22:26:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
int main (void) {
|
2023-07-11 18:00:18 +02:00
|
|
|
boot_params_t boot_params;
|
2023-02-24 15:24:59 +01:00
|
|
|
|
2023-07-11 18:00:18 +02:00
|
|
|
menu_run(&boot_params);
|
2023-02-14 22:26:40 +01:00
|
|
|
|
2023-07-11 02:22:58 +02:00
|
|
|
disable_interrupts();
|
2023-02-14 22:26:40 +01:00
|
|
|
|
2023-07-11 18:00:18 +02:00
|
|
|
boot(&boot_params);
|
2023-02-14 22:26:40 +01:00
|
|
|
|
2023-07-11 02:22:58 +02:00
|
|
|
assertf(false, "Unexpected return from 'boot' function");
|
|
|
|
|
|
|
|
while (true) {
|
|
|
|
// Shouldn't get here
|
|
|
|
}
|
2023-02-14 22:26:40 +01:00
|
|
|
}
|