diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-17 16:36:42 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-09-02 07:59:22 +0100 |
commit | 4a2aaff2fca69d9f41c5b8906699ba242278cbaa (patch) | |
tree | 7674e537d54acf39bc389a20871a3f06ba88b1c5 /MdeModulePkg/Library | |
parent | 3226e315d20c6f572de818d6d1229a88b5b6e7b3 (diff) | |
download | edk2-platforms-4a2aaff2fca69d9f41c5b8906699ba242278cbaa.tar.xz |
MdeModulePkg/EbcDxe AARCH64: simplify interpreter entry point thunks
The prototypes of EbcInterpret() and ExecuteEbcImageEntryPoint() are
private to the AARCH64 implementation of EbcDxe, so we can shuffle
the arguments around a bit and make the assembler thunking glue a lot
simpler.
For ExecuteEbcImageEntryPoint(), this involves passing the EntryPoint
argument as the third parameter, rather than the first, which allows
us to do a tail call. For EbcInterpret(), instead of copying each
argument beyond #8 from one native stack frame to the next (before
another copy is made into the VM stack), pass a pointer to the
argument stack.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'MdeModulePkg/Library')
0 files changed, 0 insertions, 0 deletions