mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
microkernel: hot paths are pretty fucking hot
This commit is contained in:
parent
331fa1d00d
commit
ab8de72db0
6 changed files with 199 additions and 179 deletions
|
@ -17,6 +17,9 @@
|
|||
|
||||
namespace ams::kern::svc {
|
||||
|
||||
#pragma GCC push_options
|
||||
#pragma GCC optimize ("-O2")
|
||||
|
||||
/* ============================= Common ============================= */
|
||||
|
||||
namespace {
|
||||
|
@ -304,4 +307,6 @@ namespace ams::kern::svc {
|
|||
return ReplyAndReceiveWithUserBuffer(out_index, message_buffer, message_buffer_size, handles, num_handles, reply_target, timeout_ns);
|
||||
}
|
||||
|
||||
#pragma GCC pop_options
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue