Adjusted Stack to provide aarch64 required 16-byte alignment
ACS PE tests do not execute properly on aarch64 systems due to secondary stack misalignment. The arm handbook mentions that aarch64 requires a 16 byte alignment.
This PR includes modifications that allow for aarch64 compatible alignment as well as storing the original pointer given to us by AllocatePool so we can still free the memory if the need ever comes up.
Adjusted Stack to provide aarch64 required 16-byte alignment
ACS PE tests do not execute properly on aarch64 systems due to secondary stack misalignment. The arm handbook mentions that aarch64 requires a 16 byte alignment.
This PR includes modifications that allow for aarch64 compatible alignment as well as storing the original pointer given to us by AllocatePool so we can still free the memory if the need ever comes up.