搜尋此網誌

2011年10月22日 星期六

EFI Shell commands -- DMEM(顯示系統內容或裝置記憶體)

Displays the contents of system or device memory.

DMEM [-b] [Address] [Size] [-MMIO]


    -b       - Display one screen at a time
    address  - Starting address in hexadecimal format
    size     - Number of bytes to display in hexadecimal format
    -MMIO    - Forces address cycles to the PCI bus

Note:
    1. All units are in hexadecimal format.
    2. Address must be aligned on an even processor address boundary.
    3. If the 'address' parameter is not specified, DMEM will display the
       all system table pointer entries by default.

Examples:
* To display the EFI system table pointer entries:
  fs0:\> dmem

  Memory Address 000000003FF7D808 200 Bytes
  3FF7D808: 49 42 49 20 53 59 53 54-02 00 01 00 78 00 00 00  *IBI SYST....x...*
  3FF7D818: 5C 3E 6A FE 00 00 00 00-88 2E 1B 3F 00 00 00 00  *\>j........?....*
  3FF7D828: 26 00 0C 00 00 00 00 00-88 D3 1A 3F 00 00 00 00  *&..........?....*
  3FF7D838: A8 CE 1A 3F 00 00 00 00-88 F2 1A 3F 00 00 00 00  *...?.......?....*
  3FF7D848: 28 EE 1A 3F 00 00 00 00-08 DD 1A 3F 00 00 00 00  *(..?.......?....*
  3FF7D858: A8 EB 1A 3F 00 00 00 00-18 C3 3F 3F 00 00 00 00  *...?..........*
  3FF7D868: 00 4B 3F 3F 00 00 00 00-06 00 00 00 00 00 00 00  *.K............*
  3FF7D878: 08 DA F7 3F 00 00 00 00-70 74 61 6C 88 00 00 00  *...?....ptal....*
  3FF7D888: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D898: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D8A8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D8B8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D8C8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D8D8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D8E8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D8F8: 00 00 00 00 00 00 00 00-70 68 06 30 88 00 00 00  *........ph.0....*
  3FF7D908: 65 76 6E 74 00 00 00 00-02 02 00 60 00 00 00 00  *evnt.......`....*
  3FF7D918: 18 6F 1A 3F 00 00 00 00-10 E0 3F 3F 00 00 00 00  *.o.?..........*
  3FF7D928: 10 00 00 00 00 00 00 00-40 C0 12 3F 00 00 00 00  *........@..?....*
  3FF7D938: 10 80 13 3F 00 00 00 00-00 00 00 00 00 00 00 00  *...?............*
  3FF7D948: 00 00 00 00 00 00 00 00-40 7D 3F 3F 00 00 00 00  *........@.....*
  3FF7D958: 50 6F 1A 3F 00 00 00 00-00 00 00 00 00 00 00 00  *Po.?............*
  3FF7D968: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D978: 00 00 00 00 00 00 00 00-70 74 61 6C 88 00 00 00  *........ptal....*
  3FF7D988: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D998: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D9A8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D9B8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D9C8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D9D8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D9E8: 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00  *................*
  3FF7D9F8: 00 00 00 00 00 00 00 00-70 68 06 30 A0 00 00 00  *........ph.0....*

  Valid EFI Header at Address 000000003FF7D808
  --------------------------------------------
  System: Table Structure size 00000078 revision 00010002
  ConIn (3F1AD388) ConOut (3F1AF288) StdErr (3F1ADD08)
  Runtime Services 000000003F3FC318
  Boot Services    000000003F3F4B00
  SAL System Table 000000003FF22760
  ACPI Table       000000003FFD9FC0
  ACPI 2.0 Table   00000000000E2000
  MPS Table        000000003FFD0000
  SMBIOS Table     00000000000F0020

* To display memory contents from 1af3088 with size of 16 bytes:
  Shell> dmem 1af3088 16
  Memory Address 0000000001AF3088 16 Bytes
  01AF3088: 49 42 49 20 53 59 53 54-00 00 02 00 18 00 00 00 *IBI SYST........*
  01AF3098: FF 9E D7 9B 00 00                               *......*

* To display memory mapped IO contents from 1af3088 with size of 16 bytes:
  Shell> dmem 1af3088 16 -MMIO

沒有留言:

張貼留言