pm: add api for ams.mitm to steal application memory
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stratosphere.hpp>
|
||||
#include "pm_ams.os.horizon.h"
|
||||
|
||||
namespace ams::pm::shell {
|
||||
|
||||
@@ -57,6 +58,10 @@ namespace ams::pm::shell {
|
||||
Result BoostSystemThreadResourceLimit() {
|
||||
R_RETURN(::pmshellBoostSystemThreadResourceLimit());
|
||||
}
|
||||
|
||||
Result AtmosphereBoostSystemMemoryResourceLimitForMitm(u64 size) {
|
||||
R_RETURN(pmshellAtmosphereBoostSystemMemoryResourceLimitForMitm(size));
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user