Re: [edk2] [PATCH v3 2/4] MdeModulePkg/EbcDxe AARCH64: use a fixed size thunk structure

2016-08-26 Thread Leif Lindholm
On Wed, Aug 17, 2016 at 04:59:03PM +0200, Ard Biesheuvel wrote: > The thunk generation is needlessly complex, given that it attempts to > deal with variable length instructions, which don't exist on AArch64. > > So replace it with a simple template coded in assembler, with a matching > struct defi

[edk2] [PATCH v3 2/4] MdeModulePkg/EbcDxe AARCH64: use a fixed size thunk structure

2016-08-17 Thread Ard Biesheuvel
The thunk generation is needlessly complex, given that it attempts to deal with variable length instructions, which don't exist on AArch64. So replace it with a simple template coded in assembler, with a matching struct definition in C. That way, we can create and manipulate the thunks easily with