microkernel: hot paths are pretty fucking hot

This commit is contained in:
Michael Scire
2020-12-02 02:14:24 -08:00
parent f058d04933
commit 2f12dd039f
6 changed files with 199 additions and 179 deletions

View File

@@ -17,6 +17,9 @@
namespace ams::kern {
#pragma GCC push_options
#pragma GCC optimize ("-O2")
namespace ipc {
using MessageBuffer = ams::svc::ipc::MessageBuffer;
@@ -1362,4 +1365,6 @@ namespace ams::kern {
this->NotifyAvailable(svc::ResultSessionClosed());
}
#pragma GCC pop_options
}