~ubuntu-branches/ubuntu/trusty/xserver-xorg-video-mach64-lts-xenial/trusty-proposed

« back to all changes in this revision

Viewing changes to src/atividmem.h

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2016-05-03 14:02:37 UTC
  • Revision ID: package-import@ubuntu.com-20160503140237-y946gbjc7p6fg9fn
Tags: upstream-6.9.5
ImportĀ upstreamĀ versionĀ 6.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 1997 through 2004 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
 
3
 *
 
4
 * Permission to use, copy, modify, distribute, and sell this software and its
 
5
 * documentation for any purpose is hereby granted without fee, provided that
 
6
 * the above copyright notice appear in all copies and that both that copyright
 
7
 * notice and this permission notice appear in supporting documentation, and
 
8
 * that the name of Marc Aurele La France not be used in advertising or
 
9
 * publicity pertaining to distribution of the software without specific,
 
10
 * written prior permission.  Marc Aurele La France makes no representations
 
11
 * about the suitability of this software for any purpose.  It is provided
 
12
 * "as-is" without express or implied warranty.
 
13
 *
 
14
 * MARC AURELE LA FRANCE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 
15
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO
 
16
 * EVENT SHALL MARC AURELE LA FRANCE BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 
17
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 
18
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 
19
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 
20
 * PERFORMANCE OF THIS SOFTWARE.
 
21
 */
 
22
 
 
23
#ifndef ___ATIVIDMEM_H___
 
24
#define ___ATIVIDMEM_H___ 1
 
25
 
 
26
#include "atipriv.h"
 
27
 
 
28
/* Memory types for 68800's and 88800GX's */
 
29
typedef enum
 
30
{
 
31
    MEM_MACH_DRAMx4,
 
32
    MEM_MACH_VRAM,
 
33
    MEM_MACH_VRAMssr,
 
34
    MEM_MACH_DRAMx16,
 
35
    MEM_MACH_GDRAM,
 
36
    MEM_MACH_EVRAM,
 
37
    MEM_MACH_EVRAMssr,
 
38
    MEM_MACH_TYPE_7
 
39
} ATIMachMemoryType;
 
40
extern const char *ATIMemoryTypeNames_Mach[];
 
41
 
 
42
/* Memory types for 88800CX's */
 
43
typedef enum
 
44
{
 
45
    MEM_CX_DRAM,
 
46
    MEM_CX_EDO,
 
47
    MEM_CX_TYPE_2,
 
48
    MEM_CX_DRAM_A,
 
49
    MEM_CX_TYPE_4,
 
50
    MEM_CX_TYPE_5,
 
51
    MEM_CX_TYPE_6,
 
52
    MEM_CX_TYPE_7
 
53
} ATICXMemoryType;
 
54
extern const char *ATIMemoryTypeNames_88800CX[];
 
55
 
 
56
/* Memory types for 264xT's */
 
57
typedef enum
 
58
{
 
59
    MEM_264_NONE,
 
60
    MEM_264_DRAM,
 
61
    MEM_264_EDO,
 
62
    MEM_264_PSEUDO_EDO,
 
63
    MEM_264_SDRAM,
 
64
    MEM_264_SGRAM,
 
65
    MEM_264_SGRAM32,
 
66
    MEM_264_TYPE_7
 
67
} ATI264MemoryType;
 
68
extern const char *ATIMemoryTypeNames_264xT[];
 
69
 
 
70
extern Bool ATIMapApertures(int, ATIPtr);
 
71
extern void ATIUnmapApertures(int, ATIPtr);
 
72
 
 
73
#endif /* ___ATIVIDMEM_H___ */