microkernel: hot paths are pretty fucking hot
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
|
||||
namespace ams::svc::ipc {
|
||||
|
||||
#pragma GCC push_options
|
||||
#pragma GCC optimize ("-O2")
|
||||
|
||||
ALWAYS_INLINE u32 *GetMessageBuffer() {
|
||||
return GetThreadLocalRegion()->message_buffer;
|
||||
}
|
||||
@@ -545,4 +548,6 @@ namespace ams::svc::ipc {
|
||||
}
|
||||
};
|
||||
|
||||
#pragma GCC pop_options
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user