mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 01:45:07 -04:00
kern: SvcFlushDataCache, SvcFlushEntireDataCache
This commit is contained in:
parent
e4b30f4022
commit
0993ae0685
4 changed files with 37 additions and 7 deletions
|
@ -86,7 +86,7 @@ namespace ams::kern {
|
|||
void KDebugLogImpl::PutChar(char c) {
|
||||
while (ReadUartRegister(UartRegister_LSR) & 0x100) {
|
||||
/* While the FIFO is full, yield. */
|
||||
__asm__ __volatile__("yield" ::: "memory");
|
||||
cpu::Yield();
|
||||
}
|
||||
WriteUartRegister(UartRegister_THR, c);
|
||||
cpu::DataSynchronizationBarrier();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue