mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(console): add more work to understand ConsoleDeviceInitialize
This commit is contained in:
parent
9df5775a17
commit
6cda64dfc4
16 changed files with 224 additions and 28 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue