ReactOS  0.4.14-dev-583-g2a1ba2c
ntagp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _AGP_INFO_COMMON
 
struct  _AGP_INFO_DRIVER
 
struct  _AGP_INFO
 
struct  _AGP_BUS_INTERFACE_STANDARD
 

Macros

#define AGP_BUS_INTERFACE_V1   1
 
#define AGP_BUS_INTERFACE_V2   2
 
#define AGP_BUS_INTERFACE_V3   3
 
#define AGP_BUS_INTERFACE_V4   4
 
#define AGP_BUS_INTERFACE_V5   5
 
#define AGP_CAPABILITIES_MAP_PHYSICAL   0x00000001
 
#define AGP_CAPABILITIES_CACHE_COHERENT   0x00000002
 
#define AGP_CAPABILITIES_REQUIRES_GPU_FLUSH   0x00000004
 
#define AGP_SET_RATE_DISABLE_SBA   0x00010000
 
#define AGP_SET_RATE_DISABLE_FW   0x00020000
 
#define AGP_GUARD_PAGE_CHECK_FIRST_ULONG   0x00000001
 
#define AGP_GUARD_PAGE_CHECK_USE_SAME_OFFSET   0x00000002
 
#define AGP_GUARD_PAGE_CHECK_DO_NOT_BUGCHECK   0x00000004
 
#define AGP_BUS_INTERFACE_V1_SIZE   (FIELD_OFFSET(AGP_BUS_INTERFACE_STANDARD,SetRate))
 
#define AGP_BUS_INTERFACE_V2_SIZE   (FIELD_OFFSET(AGP_BUS_INTERFACE_STANDARD, AgpSize))
 
#define AGP_BUS_INTERFACE_V3_SIZE   (FIELD_OFFSET(AGP_BUS_INTERFACE_STANDARD, FlushChipsetCaches))
 
#define AGP_BUS_INTERFACE_V4_SIZE   (FIELD_OFFSET(AGP_BUS_INTERFACE_STANDARD, MapMemoryEx))
 

Typedefs

typedef NTSTATUS(NTAPIPAGP_BUS_SET_RATE) (IN PVOID AgpContext, IN ULONG AgpRate)
 
typedef NTSTATUS(NTAPIPAGP_BUS_RESERVE_MEMORY) (IN PVOID AgpContext, IN ULONG NumberOfPages, IN MEMORY_CACHING_TYPE MemoryType, OUT PVOID *MapHandle, OUT PHYSICAL_ADDRESS *PhysicalAddress OPTIONAL)
 
typedef NTSTATUS(NTAPIPAGP_BUS_RELEASE_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle)
 
typedef NTSTATUS(NTAPIPAGP_BUS_COMMIT_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN OUT PMDL Mdl OPTIONAL, OUT PHYSICAL_ADDRESS *MemoryBase)
 
typedef NTSTATUS(NTAPIPAGP_BUS_FREE_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages)
 
typedef NTSTATUS(NTAPIPAGP_GET_MAPPED_PAGES) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, OUT PMDL Mdl)
 
typedef NTSTATUS(NTAPIPAGP_MAP_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN PMDL Mdl, OUT PHYSICAL_ADDRESS *MemoryBase)
 
typedef NTSTATUS(NTAPIPAGP_UNMAP_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN PMDL Mdl)
 
typedef NTSTATUS(NTAPIPAGP_FLUSH_CHIPSET_CACHES) (IN PVOID AgpContext)
 
typedef NTSTATUS(NTAPIPAGP_CHECK_INTEGRITY) (IN PVOID AgpContext)
 
typedef NTSTATUS(NTAPIPAGP_MAP_MEMORY_EX) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN PMDL Mdl, IN MEMORY_CACHING_TYPE *CacheTypeOverride OPTIONAL, OUT PHYSICAL_ADDRESS *MemoryBase)
 
typedef NTSTATUS(NTAPIPAGP_UNMAP_MEMORY_EX) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN PMDL Mdl)
 
typedef NTSTATUS(NTAPIPAGP_FLUSH_GART_TLB) (IN PVOID AgpContext)
 
typedef NTSTATUS(NTAPIPAGP_CHECK_GUARD_PAGE) (IN PVOID AgpContext, IN ULONG Flags, IN ULONG ULongsToCheck)
 
typedef struct _AGP_INFO_COMMON AGP_INFO_COMMON
 
typedef struct _AGP_INFO_COMMONPAGP_INFO_COMMON
 
typedef struct _AGP_INFO_DRIVER AGP_INFO_DRIVER
 
typedef struct _AGP_INFO_DRIVERPAGP_INFO_DRIVER
 
typedef struct _AGP_INFO AGP_INFO
 
typedef struct _AGP_INFOPAGP_INFO
 
typedef VOID(NTAPIPAGP_GET_INFO) (IN PVOID AgpContext, OUT PAGP_INFO AgpInfo)
 
typedef struct _AGP_BUS_INTERFACE_STANDARD AGP_BUS_INTERFACE_STANDARD
 
typedef struct _AGP_BUS_INTERFACE_STANDARDPAGP_BUS_INTERFACE_STANDARD
 

Functions

 DEFINE_GUID (GUID_AGP_BUS_INTERFACE_STANDARD, 0x2ef74803, 0xd8d3, 0x11d1, 0x9c, 0xaa, 0x00, 0xc0, 0xf0, 0x16, 0x56, 0x36)
 

Macro Definition Documentation

◆ AGP_BUS_INTERFACE_V1

#define AGP_BUS_INTERFACE_V1   1

Definition at line 31 of file ntagp.h.

◆ AGP_BUS_INTERFACE_V1_SIZE

#define AGP_BUS_INTERFACE_V1_SIZE   (FIELD_OFFSET(AGP_BUS_INTERFACE_STANDARD,SetRate))

Definition at line 49 of file ntagp.h.

◆ AGP_BUS_INTERFACE_V2

#define AGP_BUS_INTERFACE_V2   2

Definition at line 32 of file ntagp.h.

◆ AGP_BUS_INTERFACE_V2_SIZE

#define AGP_BUS_INTERFACE_V2_SIZE   (FIELD_OFFSET(AGP_BUS_INTERFACE_STANDARD, AgpSize))

Definition at line 50 of file ntagp.h.

◆ AGP_BUS_INTERFACE_V3

#define AGP_BUS_INTERFACE_V3   3

Definition at line 33 of file ntagp.h.

◆ AGP_BUS_INTERFACE_V3_SIZE

#define AGP_BUS_INTERFACE_V3_SIZE   (FIELD_OFFSET(AGP_BUS_INTERFACE_STANDARD, FlushChipsetCaches))

Definition at line 51 of file ntagp.h.

◆ AGP_BUS_INTERFACE_V4

#define AGP_BUS_INTERFACE_V4   4

Definition at line 34 of file ntagp.h.

◆ AGP_BUS_INTERFACE_V4_SIZE

#define AGP_BUS_INTERFACE_V4_SIZE   (FIELD_OFFSET(AGP_BUS_INTERFACE_STANDARD, MapMemoryEx))

Definition at line 52 of file ntagp.h.

◆ AGP_BUS_INTERFACE_V5

#define AGP_BUS_INTERFACE_V5   5

Definition at line 35 of file ntagp.h.

◆ AGP_CAPABILITIES_CACHE_COHERENT

#define AGP_CAPABILITIES_CACHE_COHERENT   0x00000002

Definition at line 39 of file ntagp.h.

◆ AGP_CAPABILITIES_MAP_PHYSICAL

#define AGP_CAPABILITIES_MAP_PHYSICAL   0x00000001

Definition at line 38 of file ntagp.h.

◆ AGP_CAPABILITIES_REQUIRES_GPU_FLUSH

#define AGP_CAPABILITIES_REQUIRES_GPU_FLUSH   0x00000004

Definition at line 40 of file ntagp.h.

◆ AGP_GUARD_PAGE_CHECK_DO_NOT_BUGCHECK

#define AGP_GUARD_PAGE_CHECK_DO_NOT_BUGCHECK   0x00000004

Definition at line 47 of file ntagp.h.

◆ AGP_GUARD_PAGE_CHECK_FIRST_ULONG

#define AGP_GUARD_PAGE_CHECK_FIRST_ULONG   0x00000001

Definition at line 45 of file ntagp.h.

◆ AGP_GUARD_PAGE_CHECK_USE_SAME_OFFSET

#define AGP_GUARD_PAGE_CHECK_USE_SAME_OFFSET   0x00000002

Definition at line 46 of file ntagp.h.

◆ AGP_SET_RATE_DISABLE_FW

#define AGP_SET_RATE_DISABLE_FW   0x00020000

Definition at line 43 of file ntagp.h.

◆ AGP_SET_RATE_DISABLE_SBA

#define AGP_SET_RATE_DISABLE_SBA   0x00010000

Definition at line 42 of file ntagp.h.

Typedef Documentation

◆ AGP_BUS_INTERFACE_STANDARD

◆ AGP_INFO

◆ AGP_INFO_COMMON

◆ AGP_INFO_DRIVER

◆ PAGP_BUS_COMMIT_MEMORY

typedef NTSTATUS(NTAPI * PAGP_BUS_COMMIT_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN OUT PMDL Mdl OPTIONAL, OUT PHYSICAL_ADDRESS *MemoryBase)

Definition at line 73 of file ntagp.h.

◆ PAGP_BUS_FREE_MEMORY

typedef NTSTATUS(NTAPI * PAGP_BUS_FREE_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages)

Definition at line 82 of file ntagp.h.

◆ PAGP_BUS_INTERFACE_STANDARD

◆ PAGP_BUS_RELEASE_MEMORY

typedef NTSTATUS(NTAPI * PAGP_BUS_RELEASE_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle)

Definition at line 68 of file ntagp.h.

◆ PAGP_BUS_RESERVE_MEMORY

typedef NTSTATUS(NTAPI * PAGP_BUS_RESERVE_MEMORY) (IN PVOID AgpContext, IN ULONG NumberOfPages, IN MEMORY_CACHING_TYPE MemoryType, OUT PVOID *MapHandle, OUT PHYSICAL_ADDRESS *PhysicalAddress OPTIONAL)

Definition at line 60 of file ntagp.h.

◆ PAGP_BUS_SET_RATE

typedef NTSTATUS(NTAPI * PAGP_BUS_SET_RATE) (IN PVOID AgpContext, IN ULONG AgpRate)

Definition at line 55 of file ntagp.h.

◆ PAGP_CHECK_GUARD_PAGE

typedef NTSTATUS(NTAPI * PAGP_CHECK_GUARD_PAGE) (IN PVOID AgpContext, IN ULONG Flags, IN ULONG ULongsToCheck)

Definition at line 144 of file ntagp.h.

◆ PAGP_CHECK_INTEGRITY

typedef NTSTATUS(NTAPI * PAGP_CHECK_INTEGRITY) (IN PVOID AgpContext)

Definition at line 118 of file ntagp.h.

◆ PAGP_FLUSH_CHIPSET_CACHES

typedef NTSTATUS(NTAPI * PAGP_FLUSH_CHIPSET_CACHES) (IN PVOID AgpContext)

Definition at line 114 of file ntagp.h.

◆ PAGP_FLUSH_GART_TLB

typedef NTSTATUS(NTAPI * PAGP_FLUSH_GART_TLB) (IN PVOID AgpContext)

Definition at line 140 of file ntagp.h.

◆ PAGP_GET_INFO

typedef VOID(NTAPI * PAGP_GET_INFO) (IN PVOID AgpContext, OUT PAGP_INFO AgpInfo)

Definition at line 175 of file ntagp.h.

◆ PAGP_GET_MAPPED_PAGES

typedef NTSTATUS(NTAPI * PAGP_GET_MAPPED_PAGES) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, OUT PMDL Mdl)

Definition at line 89 of file ntagp.h.

◆ PAGP_INFO

◆ PAGP_INFO_COMMON

◆ PAGP_INFO_DRIVER

◆ PAGP_MAP_MEMORY

typedef NTSTATUS(NTAPI * PAGP_MAP_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN PMDL Mdl, OUT PHYSICAL_ADDRESS *MemoryBase)

Definition at line 97 of file ntagp.h.

◆ PAGP_MAP_MEMORY_EX

typedef NTSTATUS(NTAPI * PAGP_MAP_MEMORY_EX) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN PMDL Mdl, IN MEMORY_CACHING_TYPE *CacheTypeOverride OPTIONAL, OUT PHYSICAL_ADDRESS *MemoryBase)

Definition at line 122 of file ntagp.h.

◆ PAGP_UNMAP_MEMORY

typedef NTSTATUS(NTAPI * PAGP_UNMAP_MEMORY) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN PMDL Mdl)

Definition at line 106 of file ntagp.h.

◆ PAGP_UNMAP_MEMORY_EX

typedef NTSTATUS(NTAPI * PAGP_UNMAP_MEMORY_EX) (IN PVOID AgpContext, IN PVOID MapHandle, IN ULONG NumberOfPages, IN ULONG OffsetInPages, IN PMDL Mdl)

Definition at line 132 of file ntagp.h.

Function Documentation

◆ DEFINE_GUID()

DEFINE_GUID ( GUID_AGP_BUS_INTERFACE_STANDARD  ,
0x2ef74803  ,
0xd8d3  ,
0x11d1  ,
0x9c  ,
0xaa  ,
0x00  ,
0xc0  ,
0xf0  ,
0x16  ,
0x56  ,
0x36   
)