[idd] implemented core shared memory functionallity and LGMP setup

This commit is contained in:
Geoffrey McRae
2023-04-10 14:02:47 +10:00
parent 77ddcfe489
commit 3c85957b99
15 changed files with 608 additions and 37 deletions

View File

@@ -15,8 +15,8 @@ private:
std::vector<struct IVSHMEMData> m_devices;
HANDLE m_handle = INVALID_HANDLE_VALUE;
size_t m_size;
void * m_mem = nullptr;
size_t m_size = 0;
void * m_mem = nullptr;
public:
CIVSHMEM();
@@ -25,5 +25,8 @@ public:
bool Init();
bool Open();
void Close();
size_t GetSize() { return m_size; }
void * GetMem () { return m_mem; }
};