audk/ArmPkg/Include/Library
Olivier Martin b4e53e389d ArmPkg/ArmSmcLib: Fixed SMC helper functions
The SMC helper functions were buggy as they were assuming that
the values in x1-x7 registers were preserved across an SMC call,
which is not the case.  This patch fixes this issue.

It also simplifies the code by providing only 1 version of the SMC
helper function.  We used to have 4 versions depending on the number
of arguments.  The problem with this approach was that the number of
arguments also dictated the number of return values, which is
completely unrelated.  E.g. you can have an SMC call that takes
1 argument but returns 4 values.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15748 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-04 14:18:13 +00:00
..
ArmArchTimerLib.h ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
ArmCpuLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
ArmDisassemblerLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
ArmGicLib.h ArmPkg/ArmGic: Returned the InterruptId in ArmGicAcknowledgeInterrupt() 2014-07-04 14:41:30 +00:00
ArmLib.h ArmPkg/ArmLib.h: Fixed name of the argument 2014-07-29 14:10:45 +00:00
ArmSmcLib.h ArmPkg/ArmSmcLib: Fixed SMC helper functions 2014-08-04 14:18:13 +00:00
BdsLib.h ArmPkg: Fixed GetEnvironmentVariable() when the UEFI Variable did not exist 2014-04-02 17:32:29 +00:00
DefaultExceptionHandlerLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
SemihostLib.h ArmPkg: Fixed unsigned type to be architecture independent 2013-03-12 00:50:46 +00:00
UncachedMemoryAllocationLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00