~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/hw/xfree86/drivers/imstt/imstt.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/imstt/imstt.h,v 1.5 2001/05/16 06:48:09 keithp Exp $ */
 
2
 
 
3
#ifndef _IMSTT_H
 
4
#define _IMSTT_H
 
5
 
 
6
#include "xf86.h"
 
7
#include "xf86Pci.h"
 
8
#include "xf86PciInfo.h"
 
9
#include "xaa.h"
 
10
#include "xf86_ansic.h"
 
11
 
 
12
 
 
13
typedef struct _IMSTTRec {
 
14
        pciVideoPtr             PciInfo;
 
15
        PCITAG                  PciTag;
 
16
        EntityInfoPtr           pEnt;
 
17
        CARD32                  IOAddress;
 
18
        CARD32                  FBAddress;
 
19
        unsigned char *         FBBase;
 
20
        unsigned long *         MMIOBase;
 
21
        unsigned char *         CMAPBase;
 
22
        long                    FBMapSize;
 
23
        unsigned long           videoRam;
 
24
        unsigned long           ramdac;
 
25
        int                     rev;
 
26
        OptionInfoPtr           Options;
 
27
        unsigned int            Flags;
 
28
        CARD32                  Bus;
 
29
        XAAInfoRecPtr           AccelInfoRec;
 
30
/*      xf86CursorInfoPtr       CursorInfoRec; */
 
31
        Bool                    NoAccel;
 
32
        Bool                    HWCursor;
 
33
        Bool                    InitDAC;
 
34
        Bool                    FBDev;
 
35
        int                     Chipset, ChipRev;
 
36
        int                     ydir;
 
37
        int                     color;
 
38
        unsigned long           pitch;
 
39
        unsigned long           ll;
 
40
        unsigned long           screen_width;
 
41
        unsigned long           sp;
 
42
        unsigned long           dp;
 
43
        unsigned long           cnt;
 
44
        unsigned long           bltctl;
 
45
        unsigned short          hes;
 
46
        unsigned short          heb;
 
47
        unsigned short          hsb;
 
48
        unsigned short          ht;
 
49
        unsigned short          ves;
 
50
        unsigned short          veb;
 
51
        unsigned short          vsb;
 
52
        unsigned short          vt;
 
53
        unsigned short          vil;
 
54
        unsigned char           pclk_m;
 
55
        unsigned char           pclk_n;
 
56
        unsigned char           pclk_p;
 
57
        unsigned char           mlc[3];
 
58
        unsigned char           lckl_p[3];
 
59
} IMSTTRec, *IMSTTPtr;
 
60
 
 
61
#if 0
 
62
#define IMSTTTRACE(s)   ErrorF(s)
 
63
#define IMSTTTRACE1(s,a)        ErrorF(s,a)
 
64
#else
 
65
#define IMSTTTRACE(s)
 
66
#define IMSTTTRACE1(s,a)
 
67
#endif
 
68
 
 
69
#define IMSTTPTR(p)     ((IMSTTPtr)((p)->driverPrivate))
 
70
 
 
71
#define PCI_IMSTT128    0x9128  /* IMS,tt128mbA */
 
72
#define PCI_IMSTT3D     0x9135  /* IMS,tt3d */
 
73
 
 
74
#define RAMDAC_IBM      1
 
75
#define RAMDAC_TVP      2
 
76
 
 
77
Bool IMSTTAccelInit(ScreenPtr pScreen);
 
78
    
 
79
#endif /* _IMSTT_H */