ams: support building unit test programs on windows/linux/macos

This commit is contained in:
Michael Scire authored and SciresM committed 2022-03-21 17:21:44 -07:00
1 parent 9a38be201a
commit 64a97576d0
756 files changed
+33359 -9372

No files matched your search

@@ -25,7 +25,7 @@ namespace ams::sm {
Result Finalize();
/* Ordinary SM API. */
Result GetService(Service *out, ServiceName name);
Result GetServiceHandle(os::NativeHandle *out, ServiceName name);
Result RegisterService(os::NativeHandle *out, ServiceName name, size_t max_sessions, bool is_light);
Result UnregisterService(ServiceName name);
@@ -15,9 +15,10 @@
*/
#pragma once
#include <stratosphere/sm/sm_types.hpp>
#include <stratosphere/sf/sf_mitm_config.hpp>
#if AMS_SF_MITM_SUPPORTED
namespace ams::sm::mitm {
/* Mitm API. */
@@ -30,3 +31,4 @@ namespace ams::sm::mitm {
Result WaitMitm(ServiceName name);
}
#endif