meso: skeleton libmesosphere in prep for kernelldr dev

This commit is contained in:
Michael Scire authored and SciresM committed 2019-12-31 00:46:09 -08:00
1 parent 0b0fdc5c58
commit 36c47a0014
22 files changed
+732 -13

No files matched your search

@@ -19,13 +19,13 @@ namespace ams::pm::bm {
/* Boot Mode API. */
/* Both functions should be weakly linked, so that they can be overridden by ams::boot2 as needed. */
BootMode WEAK GetBootMode() {
BootMode WEAK_SYMBOL GetBootMode() {
PmBootMode boot_mode = PmBootMode_Normal;
R_ASSERT(pmbmGetBootMode(&boot_mode));
return static_cast<BootMode>(boot_mode);
}
void WEAK SetMaintenanceBoot() {
void WEAK_SYMBOL SetMaintenanceBoot() {
R_ASSERT(pmbmSetMaintenanceBoot());
}