1 #ifndef __NVIF_IF000C_H__
2 #define __NVIF_IF000C_H__
13 #define NVIF_VMM_V0_PAGE 0x00
14 #define NVIF_VMM_V0_GET 0x01
15 #define NVIF_VMM_V0_PUT 0x02
16 #define NVIF_VMM_V0_MAP 0x03
17 #define NVIF_VMM_V0_UNMAP 0x04
18 #define NVIF_VMM_V0_PFNMAP 0x05
19 #define NVIF_VMM_V0_PFNCLR 0x06
21 struct nvif_vmm_page_v0 {
32 struct nvif_vmm_get_v0 {
34 #define NVIF_VMM_GET_V0_ADDR 0x00
35 #define NVIF_VMM_GET_V0_PTES 0x01
36 #define NVIF_VMM_GET_V0_LAZY 0x02
46 struct nvif_vmm_put_v0 {
52 struct nvif_vmm_map_v0 {
62 struct nvif_vmm_unmap_v0 {
68 struct nvif_vmm_pfnmap_v0 {
74 #define NVIF_VMM_PFNMAP_V0_ADDR 0xfffffffffffff000ULL
75 #define NVIF_VMM_PFNMAP_V0_ADDR_SHIFT 12
76 #define NVIF_VMM_PFNMAP_V0_APER 0x00000000000000f0ULL
77 #define NVIF_VMM_PFNMAP_V0_HOST 0x0000000000000000ULL
78 #define NVIF_VMM_PFNMAP_V0_VRAM 0x0000000000000010ULL
79 #define NVIF_VMM_PFNMAP_V0_W 0x0000000000000002ULL
80 #define NVIF_VMM_PFNMAP_V0_V 0x0000000000000001ULL
81 #define NVIF_VMM_PFNMAP_V0_NONE 0x0000000000000000ULL
85 struct nvif_vmm_pfnclr_v0 {