- puts("Opening SMRAM failed; cannot load ELF.\n");
- }
- else
- {
- load_elf(mods[0].mod_start, mods[0].mod_end - mods[0].mod_start);
-
- struct info_section * info = (struct info_section *)0x10000;
- if (info->signature != INFO_SIGNATURE)
- {
- smram_restore_state(old_smramc);
- puts("Info section signature mismatch.\n");
- }
- else {
- info->firstrun();
- smram_restore_state(old_smramc);
- }
+ smram_restore_state(old_smramc); /* Restore so that video ram is touchable again. */
+ panic("Info section signature mismatch.");