[U-Boot] [PATCH v3 21/28] efi: Add a command to display the memory map

Simon Glass sjg at chromium.org
Wed Aug 5 20:03:31 CEST 2015


On 4 August 2015 at 12:33, Simon Glass <sjg at chromium.org> wrote:
> The EFI memory map is passed from the stub to U-Boot in a table. Add a
> command to display it in a vaguely readable fashion.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Tested on QEMU
> Tested-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Drop a left-over debug printf()
> - Fix alignment of region index field in the output
> - Fix efi_mem_desc_VERSION typo
> - Output the region index in decimal
>
>  common/Makefile  |   1 +
>  common/cmd_efi.c | 257 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 258 insertions(+)
>  create mode 100644 common/cmd_efi.c

Applied to u-boot-x86.


More information about the U-Boot mailing list