ArmPlatformPkg/ArmShellCmdRunAxf: Added 'runaxf' cmd to shell
authorHarry Liebel <Harry.Liebel@arm.com>
Mon, 27 Oct 2014 10:52:11 +0000 (10:52 +0000)
committeroliviermartin <oliviermartin@Edk2>
Mon, 27 Oct 2014 10:52:11 +0000 (10:52 +0000)
commitced216f8b994bbc5a9a7a377668bf8f5a0d782e2
tree769cf4bd43347e451ae208864f5845b505cf3c24
parent53ae06f50dea91865edfacde1edc70c9e76b90d2
ArmPlatformPkg/ArmShellCmdRunAxf: Added 'runaxf' cmd to shell

Use the command to load and start a ARM Executable File from mass storage.
This is basically just an ELF file. The program is copied to memory and
the Entrypoint is called. Control is not expected to return back to the
Shell. This has only been tested on AArch64 with a limited set of AXF
binaries.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16247 6f19259b-4bc3-4df7-8a09-765794883524
17 files changed:
ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.c
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmHwDxe.c
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmHwDxe.inf
ArmPlatformPkg/Include/Library/ArmShellCmdLib.h [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.c [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.h [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/BootMonFsLoader.c [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/BootMonFsLoader.h [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/ElfLoader.c [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/ElfLoader.h [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/RunAxf.c [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf32.h [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf64.h [new file with mode: 0644]
ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf_common.h [new file with mode: 0644]