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

This commit is contained in:
Michael Scire 2022-03-06 12:08:20 -08:00 committed by SciresM
parent 9a38be201a
commit 64a97576d0
756 changed files with 33359 additions and 9372 deletions

View file

@ -39,8 +39,8 @@ namespace ams::scs {
class SocketInfoManager {
private:
SocketInfo m_infos[MaxSocketInfo];
int m_count;
SocketInfo m_infos[MaxSocketInfo]{};
int m_count{};
public:
constexpr SocketInfoManager() = default;
@ -95,9 +95,9 @@ namespace ams::scs {
class ProgramInfoManager {
private:
s32 m_next_info_id;
ProgramInfo m_infos[MaxProgramInfo];
int m_count;
s32 m_next_info_id{};
ProgramInfo m_infos[MaxProgramInfo]{};
int m_count{};
public:
constexpr ProgramInfoManager() = default;
@ -179,7 +179,7 @@ namespace ams::scs {
};
alignas(os::ThreadStackAlignment) constinit u8 g_thread_stack[os::MemoryPageSize];
constinit os::ThreadType g_thread;
constinit os::ThreadType g_thread = {};
constinit ProcessEventHandler g_common_start_handler;
constinit ProcessEventHandler g_common_exit_handler;