ams: allow bootloader to merely approximate correct target firmware
This commit is contained in:
1 parent
d41de21753
commit
5708bb1557
24 files changed
+281
-396
No files matched your search
+4
@@ -70,6 +70,10 @@ namespace ams::secmon {
|
||||
GetConfigurationContext().secmon_cfg.key_generation = generation;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void SetTargetFirmware(ams::TargetFirmware target_firmware) {
|
||||
GetConfigurationContext().secmon_cfg.target_firmware = target_firmware;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE pkg1::BootConfig *GetBootConfigStorage() {
|
||||
return std::addressof(GetConfigurationContext().boot_config);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user