sr64 subcommand
The sr64 subcommand displays segment registers for a 64-bit process.
Format
sr64 [-g] [-p pid] [esid] [size]
Parameters
Item | Description |
---|---|
-p pid | Specifies the process ID of a 64-bit process. This must be a decimal or hexadecimal value, depending on the setting of the hexadecimal_wanted switch. The hexadecimal_wanted switch is changed using the set subcommand. |
-g | Displays esids from the global system address space. |
esid | Specifies the first segment register to display. Register numbers lower than the specified register are ignored. This parameter must be a hexadecimal value. |
size | Specifies the value to be added to the first segment register to determine the last segment register to display. This parameter must be a hexadecimal value. |
If no parameters are specified, the current process is used. Another process can be specified by using the -p pid flag. Additionally, the esid and size parameters can be used to limit the segment registers displayed. The esid value determines the first segment register to display. The value of esid + size determines the last segment register to display.
The registers are displayed in groups of 16. If necessary,
the value of the esid parameter is rounded
down to a multiple of 16, and the size is
rounded up to a multiple of 16. For example: sr64 11 11
displays the segment registers 10
through 2f
.
Other
No aliases.
Examples
The following is an example of how to use the sr64 subcommand for a 64-bit kernel:
KDB(0)> sr64 -g
Segment registers for global address space
kernel..... 000000000 : 20002510
4K RANGE F10000000 ............. F1000AFFF
galloc..... F10000004 : 40004400 .. F10000FFF : 1F0FFF400
kheap...... F10001000 : 01000400 .. F10004FFF : 1F4FFF400
mbuf....... F10005000 : 05000400 .. F10005FFF : 1F5FFF400
mtrc....... F10006000 : 06000400 .. F10009007 : 79007400
vmm pta.... F10009008 : 89008400 .. F10009107 : 79107400
ldr lib32.. F10009110 : 109110400 .. F1000911F : 1F911F400
ldr lib64.. F10009120 : 09120400 .. F1000915F : 1F915F400
real heap.. F10009160 : 09160400 .. F10009163 : 39163400
drmgr...... F10009164 : 49164400
ermgr...... F10009165 : 59165400 .. F1000916C : C916C400
mstspace... F1000916D : D916D400 .. F1000916E : E916E400
vmm spaceok F1000916F : F916F400
prte alias. F1000A000 : 0A000400 .. F1000A0FF : 1FA0FF400
vmm 1tb end F1000AFFF : 1FAFFF400
64K RANGE F1000B000 ............. F10036FFF
galloc..... F1000B000 : 0B000510 .. F1000BFFF : 1FBFFF510
kheap...... F1000C000 : 0C000510 .. F1000FFFF : 1FFFFF510
mbuf....... F10010000 : 10000510 .. F10010FFF : 1E0FFF510
vmm data... F10011000 : 11000510
vmm diskmap F10011001 : 01001510 .. F10011004 : 51004510
vmm ame.... F10011005 : 41005510 .. F1001100F : E100F510
vmintervals F10011010 : 111010510 .. F10011047 : 61047510
ff bitmap.. F10011048 : 91048510 .. F1001104B : A104B510
ldr lib32.. F10011050 : 111050510 .. F1001105F : 1E105F510
ldr lib64.. F10011060 : 11060510 .. F1001109F : 1E109F510
proc-thread F100110A0 : 110A0510 .. F100110C3 : 210C3510
xmdbg rcrd. F100110C4 : 510C4510 .. F100111C3 : 211C3510
mpdata..... F100111C4 : 511C4510 .. F100111E3 : 211E3510
lock instr. F100111E4 : 511E4510
jfs lkword. F100111E5 : 411E5510 .. F100111F4 : 1511F4510
lfs esid... F100111F5 : 1411F5510 .. F100113F4 : 1513F4510
1tb scb.... F100113F5 : 1413F5510 .. F100113F8 : 1913F8510
256m scb... F100113F9 : 1813F9510 .. F10015BF4 : 155BF4510
vmm pvl.... F10015BF5 : 145BF5510
vmm spaceok F10015BF6 : 175BF6510
pal intrrpt F10015BF7 : 165BF7510
crmalloc 64 F10015BF8 : 195BF8510 .. F10015BFB : 1A5BFB510
vmm dmp lva F10015BFC : 1D5BFC510
vmm cmem... F10015BFD : 1C5BFD510 .. F100163FD : 1C63FD510
vmm cblks.. F100163FE : 1F63FE510 .. F100363FD : 1E63FD510
vmm 1tb end F10036FFF : 1C6FFF510
16M RANGE F10037000 ............. F1003CFFF
galloc..... F10037000 : 37000500 .. F10037FFF : 1C7FFF500
kheap...... F10038000 : 38000500 .. F1003BFFF : 1CBFFF500
mbuf....... F1003C000 : 3C000500 .. F1003CFFF : 1CCFFF500
RSRVED SIDX 00003D000 ............. 7FFFFFFFD
1tb sidx.. 00003D000 ............. 0007FFFFD
256m sidx.. 0007FFFFE ............. 7FFFFFFFD
tmp sslb... FFFFF0000 ............. FFFFF3FFF
KSP RANGE F20080001 ............. F20280000
vmm ksp.... F20080001 : 4000880000000400 .. F20280000
KDB(0)> sr64 F10001001 F
kheap...... F10001001 : 11001400 , F10001002 : 21002400
F10001003 : 31003400 , F10001004 : 41004400
F10001005 : 51005400 , F10001006 : 61006400
F10001007 : 71007400 , F10001008 : 81008400
F10001009 : 91009400 , F1000100A : A100A400
F1000100B : B100B400 , F1000100C : C100C400
F1000100D : D100D400 , F1000100E : E100E400
F1000100F : F100F400