#define IPL_TYPE_CBFS 0x20
#define IPL_TYPE_BEV 0x80
#define IPL_TYPE_BCV 0x81
+#define IPL_TYPE_HALT 0xf0
static void
bootentry_add(int type, int prio, u32 data, const char *desc)
interactive_bootmenu();
wait_threads();
+ int haltprio = find_prio("HALT");
+ if (haltprio >= 0)
+ bootentry_add(IPL_TYPE_HALT, haltprio, 0, "HALT");
+
// Map drives and populate BEV list
struct bootentry_s *pos = BootList;
while (pos) {
case IPL_TYPE_BEV:
boot_rom(ie->vector);
break;
+ case IPL_TYPE_HALT:
+ boot_fail();
+ break;
}
// Boot failed: invoke the boot recovery function