mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -04:00
sdmmc: various fixes + logging as bugs are debugged
This commit is contained in:
parent
b32c9bf17c
commit
512fc8f9b1
9 changed files with 61 additions and 8 deletions
|
@ -19,6 +19,8 @@ namespace ams::diag {
|
|||
|
||||
void AbortImpl() {
|
||||
AMS_SECMON_LOG("AbortImpl was called\n");
|
||||
AMS_LOG_FLUSH();
|
||||
reg::Write(0x4, 0xAAAAAAAA);
|
||||
|
||||
/* TODO: Reboot */
|
||||
AMS_INFINITE_LOOP();
|
||||
|
|
|
@ -76,6 +76,7 @@ namespace ams::secmon::fatal {
|
|||
}
|
||||
|
||||
/* TODO */
|
||||
AMS_LOG_FLUSH();
|
||||
AMS_INFINITE_LOOP();
|
||||
}
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ namespace ams::secmon::fatal {
|
|||
|
||||
sdmmc::SetSdCardWorkBuffer(Port, GetSdCardWorkBuffer(), sdmmc::SdCardWorkBufferSize);
|
||||
|
||||
//sdmmc::Deactivate(Port);
|
||||
R_TRY(sdmmc::Activate(Port));
|
||||
|
||||
return ResultSuccess();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue