mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
ams: support building unit test programs on windows/linux/macos
This commit is contained in:
parent
9a38be201a
commit
64a97576d0
756 changed files with 33359 additions and 9372 deletions
|
@ -15,11 +15,12 @@
|
|||
*/
|
||||
#include <stratosphere.hpp>
|
||||
|
||||
#include "pm_ams.h"
|
||||
#include "pm_ams.os.horizon.h"
|
||||
|
||||
namespace ams::pm::dmnt {
|
||||
|
||||
/* Debug Monitor API. */
|
||||
#if defined(ATMOSPHERE_OS_HORIZON)
|
||||
Result StartProcess(os::ProcessId process_id) {
|
||||
return pmdmntStartProcess(static_cast<u64>(process_id));
|
||||
}
|
||||
|
@ -52,5 +53,6 @@ namespace ams::pm::dmnt {
|
|||
*out_limit_value = 0;
|
||||
return pmdmntAtmosphereGetCurrentLimitInfo(out_current_value, out_limit_value, group, resource);
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue