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

#include <core/os.h>
#include <core/client.h>

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

struct os_device {
	struct nouveau_device base;
	struct list_head head;
	char *name;
	char *cfg;
	char *dbg;
};

struct os_client {
	struct nouveau_client base;
	struct list_head head;
};

extern pthread_t os_intr_thread;
void *os_intr(void *arg);

#endif