grub_ieee1275_phandle_t root;
grub_ieee1275_phandle_t options;
grub_ieee1275_phandle_t openprom;
- grub_ieee1275_phandle_t bootrom;
int rc;
grub_uint32_t realmode = 0;
char tmp[256];
grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_HAS_CURSORONOFF);
}
-
- if (! grub_ieee1275_finddevice ("/rom/boot-rom", &bootrom)
- || ! grub_ieee1275_finddevice ("/boot-rom", &bootrom))
- {
- rc = grub_ieee1275_get_property (bootrom, "model", tmp, sizeof (tmp), 0);
- if (rc >= 0 && !grub_strncmp (tmp, "PPC Open Hack'Ware",
- sizeof ("PPC Open Hack'Ware") - 1))
- {
- grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_BROKEN_OUTPUT);
- grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_CANNOT_SET_COLORS);
- grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET);
- grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_FORCE_CLAIM);
- grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_NO_ANSI);
- }
- }
}
void