audk/ArmPkg/Include
Olivier Martin d5daaa836f ArmPkg/AsmMacroIoLib: Fixed the global variables initialization
The top of the stack always points to 'stack_base + stack_size'.
But the stack pointer is decremented before writing to the stack.
It means the top byte of the stack is actually 'stack_base + stack_size - 1'.

The initialization should also decrement the stack pointer before
zero'ing the memory (pre-indexed addressing).

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@16518 6f19259b-4bc3-4df7-8a09-765794883524
2014-12-12 19:32:50 +00:00
..
Chipset ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Guid ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
IndustryStandard ArmPkg: Add PSCI 0.2 constants for system poweroff and reset 2014-09-10 18:45:08 +00:00
Library ArmPkg/ArmLib: Removed duplicated invalidate TLB function 2014-10-27 15:38:55 +00:00
Ppi ArmPkg/ArmMpCoreInfo.h: Fixed macro definition 2013-12-10 16:37:10 +00:00
Protocol ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
AsmMacroIoLib.h ArmPkg/AsmMacroIoLib: Fixed the global variables initialization 2014-12-12 19:32:50 +00:00
AsmMacroIoLib.inc ArmPkg/AsmMacroIoLib: Fixed the global variables initialization 2014-12-12 19:32:50 +00:00
AsmMacroIoLibV8.h ArmPkg/AsmMacroIoLib: Add support for ARM Compiler 6.00 2014-06-03 16:43:26 +00:00