mirror of
https://github.com/wiiu-env/USBSerialLoggingModule.git
synced 2024-11-24 10:59:16 +01:00
Avoid compiler optimizations for kernel code
This commit is contained in:
parent
4da17c9e37
commit
fd647fc2e8
@ -1,5 +1,8 @@
|
||||
#include <cstdint>
|
||||
|
||||
#pragma GCC push_options
|
||||
#pragma GCC optimize("O0")
|
||||
|
||||
#define k_memset ((void (*)(uint32_t, uint32_t, uint32_t)) 0xfff09d60)
|
||||
#define KiReport ((void (*)(const char *, ...)) 0xfff0ad0c)
|
||||
#define IopShell_AsyncCallback (0xfff1b7d8)
|
||||
@ -89,4 +92,5 @@ void IopShellInitInternal() {
|
||||
return;
|
||||
}
|
||||
KiReport("IopShellInit was successful\n");
|
||||
}
|
||||
}
|
||||
#pragma GCC pop_options
|
Loading…
Reference in New Issue
Block a user