dg (Display Selector)

The dg command shows the segment descriptor for the specified selector.

dg FirstSelector [LastSelector]

Parameters

FirstSelector
Specifies the hexadecimal selector value of the first selector to be displayed.

LastSelector
Specifies the hexadecimal selector value of the last selector to be displayed. If this is omitted, only one selector will be displayed.

Environment

Modes

user mode, kernel mode

Targets

live, crash dump

Platforms

x86

Remarks

No more than 256 selectors can be displayed by this command.

Common selector values are:

Id decimal hex

KGDT_NULL

0

0x00

KGDT_R0_CODE

8

0x08

KGDT_R0_DATA

16

0x10

KGDT_R3_CODE

24

0x18

KGDT_R3_DATA

32

0x20

KGDT_TSS

40

0x28

KGDT_R0_PCR

48

0x30

KGDT_R3_TEB

56

0x38

KGDT_VDM_TILE

64

0x40

KGDT_LDT

72

0x48

KGDT_DF_TSS

80

0x50

KGDT_NMI_TSS

88

0x58