mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-28 23:42:28 +00:00
[host] [c-host] added support to specify IVSHMEM device
[host] basic IVSHMEM device selecting implemented Minor fixes for IVSHMEM device scanning [c-host] added support to specify IVSHMEM device
This commit is contained in:
committed by
Geoffrey McRae
parent
53ade56b4e
commit
b5975e0f05
@@ -23,6 +23,10 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include <windows.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
struct PCI_DEVICE {
|
||||
BYTE bus, addr, func;
|
||||
};
|
||||
|
||||
class IVSHMEM
|
||||
{
|
||||
public:
|
||||
@@ -33,7 +37,9 @@ public:
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
bool Initialize();
|
||||
static void listDevices();
|
||||
|
||||
bool Initialize(PCI_DEVICE dev);
|
||||
void DeInitialize();
|
||||
bool IsInitialized();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user