Bitdefender Hypervisor Memory Introspection
Translation flags

Options that control the way a memory translation is done. More...

Macros

#define TRFLG_NONE   0x00000000
 No special options. More...
 
#define TRFLG_CACHING_ATTR   0x00000001
 Obtain caching information from the guest's IA32_PAT MSR. More...
 
#define TRFLG_NORMAL_MODE   0x10000000
 Hint that the paging mode is PAGING_NORMAL_MODE. More...
 
#define TRFLG_PAE_MODE   0x20000000
 Hint that the paging mode is PAGING_PAE_MODE. More...
 
#define TRFLG_4_LEVEL_MODE   0x30000000
 Hint that the paging mode is PAGING_4_LEVEL_MODE. More...
 
#define TRFLG_5_LEVEL_MODE   0x40000000
 Hint that the paging mode is PAGING_5_LEVEL_MODE. More...
 
#define TRFLG_MODE_MASK   0xF0000000
 Mask used to isolate only the paging mode flags. More...
 
#define TRFLG_ALL   (TRFLG_CACHING_ATTR)
 All translation flags, excluding the paging mode. More...
 
#define TRFLG_PG_MODE
 Obtains the translation mode flag for the currently used paging mode. More...
 

Detailed Description

Options that control the way a memory translation is done.

Macro Definition Documentation

◆ TRFLG_4_LEVEL_MODE

#define TRFLG_4_LEVEL_MODE   0x30000000

Hint that the paging mode is PAGING_4_LEVEL_MODE.

Definition at line 86 of file introcore.h.

Referenced by IntTranslateVirtualAddressEx().

◆ TRFLG_5_LEVEL_MODE

#define TRFLG_5_LEVEL_MODE   0x40000000

Hint that the paging mode is PAGING_5_LEVEL_MODE.

Definition at line 87 of file introcore.h.

Referenced by IntTranslateVirtualAddressEx().

◆ TRFLG_ALL

#define TRFLG_ALL   (TRFLG_CACHING_ATTR)

All translation flags, excluding the paging mode.

Definition at line 89 of file introcore.h.

◆ TRFLG_CACHING_ATTR

#define TRFLG_CACHING_ATTR   0x00000001

Obtain caching information from the guest's IA32_PAT MSR.

Definition at line 83 of file introcore.h.

Referenced by IntTranslateVirtualAddressEx().

◆ TRFLG_MODE_MASK

#define TRFLG_MODE_MASK   0xF0000000

Mask used to isolate only the paging mode flags.

Definition at line 88 of file introcore.h.

Referenced by IntTranslateVirtualAddressEx().

◆ TRFLG_NONE

◆ TRFLG_NORMAL_MODE

#define TRFLG_NORMAL_MODE   0x10000000

Hint that the paging mode is PAGING_NORMAL_MODE.

Definition at line 84 of file introcore.h.

Referenced by IntTranslateVirtualAddressEx().

◆ TRFLG_PAE_MODE

#define TRFLG_PAE_MODE   0x20000000

Hint that the paging mode is PAGING_PAE_MODE.

Definition at line 85 of file introcore.h.

Referenced by IntTranslateVirtualAddressEx().

◆ TRFLG_PG_MODE

#define TRFLG_PG_MODE
Value:
gGuest.Guest64 ? TRFLG_4_LEVEL_MODE : \
gGuest.PaeEnabled ? TRFLG_PAE_MODE : \
TRFLG_NORMAL_MODE)
#define TRFLG_4_LEVEL_MODE
Hint that the paging mode is PAGING_4_LEVEL_MODE.
Definition: introcore.h:86
#define TRFLG_PAE_MODE
Hint that the paging mode is PAGING_PAE_MODE.
Definition: introcore.h:85
#define TRFLG_5_LEVEL_MODE
Hint that the paging mode is PAGING_5_LEVEL_MODE.
Definition: introcore.h:87
GUEST_STATE gGuest
The current guest state.
Definition: guests.c:50
BOOLEAN LA57
True if 5-level paging is being used.
Definition: guests.h:296

Obtains the translation mode flag for the currently used paging mode.

Definition at line 92 of file introcore.h.

Referenced by IntWinProcValidateSystemCr3(), IntWinSDFetchSecDescAddress(), IntWinSDReadSecDesc(), and IntWinTokenFetchTokenAddress().