memmapdump

Differences between revisions 2 and 3
Revision 2 as of 2011-08-17 11:25:26
Size: 1853
Editor: colin-king
Comment:
Revision 3 as of 2013-02-25 14:20:05
Size: 1868
Editor: colin-king
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
00013 memmapdump Dump system memory map.
00014 memmapdump ------------------------------------------------------------------
00015 memmapdump Test 1 of 1: Dump system memory map.
00016 memmapdump Memory Map Layout
00017 memmapdump -----------------
00018 memmapdump 0000000000000000 - 000000000009f7ff (System RAM)
00019 memmapdump 000000000009f800 - 000000000009ffff (reserved)
00020 memmapdump 00000000000d2000 - 00000000000d3fff (reserved)
00021 memmapdump 00000000000dc000 - 00000000000fffff (reserved)
00022 memmapdump 0000000000100000 - 00000000bf6cffff (System RAM)
00023 memmapdump 00000000bf6d0000 - 00000000bf6e2fff (ACPI Non-volatile Storage)
00024 memmapdump 00000000bf6e3000 - 00000000bfffffff (reserved)
00025 memmapdump 00000000e0000000 - 00000000efffffff (reserved)
00026 memmapdump 00000000fec00000 - 00000000fec0ffff (reserved)
00027 memmapdump 00000000fed00000 - 00000000fed003ff (reserved)
00028 memmapdump 00000000fed14000 - 00000000fed19fff (reserved)
00029 memmapdump 00000000fed1c000 - 00000000fed8ffff (reserved)
00030 memmapdump 00000000fee00000 - 00000000fee00fff (reserved)
00031 memmapdump 00000000ff000000 - 00000000ffffffff (reserved)
00032 memmapdump
Dump system memory map.
--------------------------------------------------------------------------------
Test 1 of 1: Dump system memory map.
Memory Map Layout
-----------------
0x0000000000000000 - 0x000000000009d7ff (System RAM)
0x000000000009d800 - 0x000000000009ffff (reserved)
0x00000000000e0000 - 0x00000000000fffff (reserved)
0x0000000000100000 - 0x000000001fffffff (System RAM)
0x0000000020000000 - 0x00000000201fffff (reserved)
0x0000000020200000 - 0x0000000040003fff (System RAM)
0x0000000040004000 - 0x0000000040004fff (reserved)
0x0000000040005000 - 0x00000000d067ffff (System RAM)
0x00000000d0680000 - 0x00000000dae9efff (reserved)
0x00000000dae9f000 - 0x00000000daf9efff (ACPI Non-volatile Storage)
0x00000000daf9f000 - 0x00000000daffefff (ACPI Non-volatile Storage)
0x00000000dafff000 - 0x00000000df9fffff (reserved)
0x00000000f8000000 - 0x00000000fbffffff (reserved)
0x00000000fec00000 - 0x00000000fec00fff (reserved)
0x00000000fed08000 - 0x00000000fed08fff (reserved)
0x00000000fed10000 - 0x00000000fed19fff (reserved)
0x00000000fed1c000 - 0x00000000fed1ffff (reserved)
0x00000000fee00000 - 0x00000000fee00fff (reserved)
0x00000000ffc00000 - 0x00000000ffffffff (reserved)
0x0000000100000000 - 0x000000019e5fffff (System RAM)
0x000000019e600000 - 0x000000019e7fffff (reserved)

Firmware Test Suite - memmapdump utility

This utility dumps the system memory map. This information is simply derived from /sys/firmware/memmap which in turn has gathered this data at boot time using the Int 0x15 AX=0xe820 on a traditional BIOS or via the memory map protocol boot service on a UEFI system.

Example output is as follows:

Dump system memory map.
--------------------------------------------------------------------------------
Test 1 of 1: Dump system memory map.
Memory Map Layout
-----------------
0x0000000000000000 - 0x000000000009d7ff (System RAM)
0x000000000009d800 - 0x000000000009ffff (reserved)
0x00000000000e0000 - 0x00000000000fffff (reserved)
0x0000000000100000 - 0x000000001fffffff (System RAM)
0x0000000020000000 - 0x00000000201fffff (reserved)
0x0000000020200000 - 0x0000000040003fff (System RAM)
0x0000000040004000 - 0x0000000040004fff (reserved)
0x0000000040005000 - 0x00000000d067ffff (System RAM)
0x00000000d0680000 - 0x00000000dae9efff (reserved)
0x00000000dae9f000 - 0x00000000daf9efff (ACPI Non-volatile Storage)
0x00000000daf9f000 - 0x00000000daffefff (ACPI Non-volatile Storage)
0x00000000dafff000 - 0x00000000df9fffff (reserved)
0x00000000f8000000 - 0x00000000fbffffff (reserved)
0x00000000fec00000 - 0x00000000fec00fff (reserved)
0x00000000fed08000 - 0x00000000fed08fff (reserved)
0x00000000fed10000 - 0x00000000fed19fff (reserved)
0x00000000fed1c000 - 0x00000000fed1ffff (reserved)
0x00000000fee00000 - 0x00000000fee00fff (reserved)
0x00000000ffc00000 - 0x00000000ffffffff (reserved)
0x0000000100000000 - 0x000000019e5fffff (System RAM)
0x000000019e600000 - 0x000000019e7fffff (reserved)

Example:

sudo fwts memmapdump - 

..runs the memmapdump on your machine and dumps the output to stdout.

FirmwareTestSuite/Reference/memmapdump (last edited 2016-01-11 07:25:55 by anthonywong)