mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue