]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/BaseLib: Replaced inline assembly for ARMGCC by GCC assembly source file
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 8 Nov 2011 18:49:22 +0000 (18:49 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 8 Nov 2011 18:49:22 +0000 (18:49 +0000)
commit080681592188f45228616983f9e1610ab9e86615
tree221023c7fc5939e92be5e74fe7c629d5b82fe04e
parent0b6b57c4d7181ffe805ffd6a60ee8d59fd76348d
MdePkg/BaseLib: Replaced inline assembly for ARMGCC by GCC assembly source file

The registers used to passed arguments to the DxeCore entrypoint in the inline
assembly function InternalSwitchStackAsm() where switched at compilation time.
This change replaces the inline assembly by a pure assembly source file to
avoid this kind of optimization.

Note: Inline assembly is generally not recommanded in system programming.

Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12674 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseLib/Arm/GccInline.c [deleted file]
MdePkg/Library/BaseLib/Arm/SwitchStack.S [new file with mode: 0644]
MdePkg/Library/BaseLib/BaseLib.inf