feat(console): add more work to understand ConsoleDeviceInitialize

This commit is contained in:
phaneron 2025-04-03 02:21:40 -04:00
parent 9df5775a17
commit 6cda64dfc4
16 changed files with 224 additions and 28 deletions

View file

@ -1,9 +1,13 @@
#ifndef STORM_THREAD_H
#define STORM_THREAD_H
DECLARE_STRUCT(SCritSect);
DECLARE_STRUCT(SSyncObject);
DECLARE_STRUCT(SEvent);
DECLARE_STRUCT(SThread);
#include "system/types.h"
DECLARE_STRUCT(SCritSect);
typedef struct CSRWLock CSRWLock;
struct SCritSect {
@ -14,4 +18,17 @@ struct CSRWLock {
uint8_t m_opaqueData[12];
};
struct SSyncObject {
// HANDLE
void* m_opaqueData;
};
struct SEvent {
SSyncObject b_base;
};
struct SThread {
SSyncObject b_base;
};
#endif