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