boot: implement ShowSplashScreen/Display

This commit is contained in:
Michael Scire
2019-05-03 05:00:03 -07:00
parent 93fb060fac
commit d9da531b41
14 changed files with 1979 additions and 1 deletions

View File

@@ -30,4 +30,18 @@ bool Boot::IsRecoveryBoot() {
std::abort();
}
return val != 0;
}
bool Boot::IsMariko() {
HardwareType hw_type = GetHardwareType();
switch (hw_type) {
case HardwareType_Icosa:
case HardwareType_Copper:
return false;
case HardwareType_Hoag:
case HardwareType_Iowa:
return true;
default:
std::abort();
}
}