audk/ArmPkg/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 ArmPkg: Added new ARM Processor Feature Register definitions 2014-06-03 16:39:23 +00:00
ArmCacheMaintenanceLib ArmPkg/ArmCacheMaintenanceLib: Fixed comment (and coding style) 2014-07-01 09:26:28 +00:00
ArmDisassemblerLib ArmPkg/ArmDisassemblerLib: Fixed logical/bitwise operator confusion 2013-12-10 16:38:17 +00:00
ArmDmaLib ArmPkg/ArmDmaLib: Fixed the calculation of the Base Address of the Buffer 2013-09-02 13:13:29 +00:00
ArmLib ArmPkg/ArmLib: Improved ArmConfigureMmu Performance 2014-07-09 11:14:36 +00:00
ArmSmcLib ArmPkg/ArmSmcLib: Fixed SMC helper functions 2014-08-04 14:18:13 +00:00
ArmSmcLibNull ArmPkg/ArmSmcLib: Fixed SMC helper functions 2014-08-04 14:18:13 +00:00
BaseMemoryLibStm ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
BaseMemoryLibVstm ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
BdsLib ArmPkg/BdsLib: Removed PSCI discoverability from the Linux loader 2014-07-15 09:21:41 +00:00
CompilerIntrinsicsLib ARM Packages: use GCC_ASM_EXPORT to export functions 2014-05-08 14:55:52 +00:00
DebugAgentSymbolsBaseLib ARM Packages: Force the SEC modules to be 2K aligned for AArch64 2014-07-15 09:24:25 +00:00
DebugPeCoffExtraActionLib ArmPkg/DebugPeCoffExtraActionLib: Fixed the printing of the location of the EFI modules 2013-11-28 21:39:46 +00:00
DebugUncachedMemoryAllocationLib ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
DefaultExceptionHandlerLib ArmPkg/DefaultExceptionHandlerLib/Aarch64: Added friendly debug message 2014-06-03 16:34:17 +00:00
PeiServicesTablePointerLib ArmPkg: Implement PeiServicesTablePointerLib using TPIDRURW register 2011-06-03 09:43:12 +00:00
RvdPeCoffExtraActionLib ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
SemiHostingDebugLib Update the copyright notice format 2010-04-29 12:15:47 +00:00
SemiHostingSerialPortLib ArmPkg/SemiHostingSerialPortLib: Return number of written bytes in SerialPortWrite() 2011-07-19 15:01:27 +00:00
SemihostLib ARM Packages: Remove GCC filter for AARCH64 assembly files 2014-05-08 14:54:11 +00:00
UncachedMemoryAllocationLib ArmPkg/UncachedMemoryAllocationLib: Removed unused header (Protocol/Cpu.h) 2013-07-16 00:07:24 +00:00