summaryrefslogtreecommitdiff
path: root/lib/priv.h
blob: 45ad431db176a867bed8a950b54e813040e370cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __OS_PRIV_H__
#define __OS_PRIV_H__

#include <core/device.h>

#include <pthread.h>
#include <unistd.h>

struct os_device {
	struct nvkm_device *device;
	struct list_head head;
	char *cfg;
	char *dbg;
	struct pci_dev pdev;
};

extern bool os_device_detect;
extern bool os_device_mmio;
extern u64  os_device_subdev;
#endif