1#ifndef __NV_INCLUDE_H__
2#define __NV_INCLUDE_H__
3
4#ifdef HAVE_CONFIG_H
5#include "config.h"
6#endif
7
8#include <string.h>
9#include <math.h>
10#include <errno.h>
11#include <unistd.h>
12#include <stdlib.h>
13
14#include "nv_pointer.h"
15
16/* All drivers should typically include these */
17#include "xorg-config.h"
18#include "xf86.h"
19#include "xf86_OSproc.h"
20#define PPC_MMIO_IS_BE
21#include "compiler.h"
22
23/* Drivers that need to access the PCI config space directly need this */
24#include "xf86Pci.h"
25
26#ifdef XSERVER_PLATFORM_BUS
27#include "xf86platformBus.h"
28#endif
29
30/* All drivers initialising the SW cursor need this */
31#include "mipointer.h"
32
33#include "micmap.h"
34
35#include "xf86DDC.h"
36
37#include "xf86RandR12.h"
38
39#include "nv_const.h"
40
41#include "dixstruct.h"
42#include "scrnintstr.h"
43
44#include "fb.h"
45
46#include "xf86cmap.h"
47#include "shadowfb.h"
48
49#include "xf86xv.h"
50#include <X11/extensions/Xv.h>
51
52#include "xf86Cursor.h"
53#include "xf86DDC.h"
54
55#include "region.h"
56
57#include <X11/extensions/randr.h>
58
59#ifdef HAVE_XEXTPROTO_71
60#include <X11/extensions/dpmsconst.h>
61#else
62#define DPMS_SERVER
63#include <X11/extensions/dpms.h>
64#endif
65
66#define NV_DMA_DEBUG 0
67
68#include "compat-api.h"
69
70#include "nouveau_local.h"
71
72#include "nv_type.h"
73#include "nv_proto.h"
74#include "nv_dma.h"
75
76#endif /* __NV_INCLUDE_H__ */
77