audk/ArmPkg
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
..
Application/LinuxLoader ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Drivers ArmPkg/GenericWatchdogDxe: Set up the watchdog timeout relatively to the system counter 2014-12-12 19:10:58 +00:00
Filesystem/SemihostFs ArmPkg/SemihostFs: Implement SetInfo() and handle seeking past the end of a file 2014-10-27 10:42:51 +00:00
Include ArmPkg/AsmMacroIoLib: Fixed the global variables initialization 2014-12-12 19:32:50 +00:00
Library ArmPkg/BdsLib: Update the size of the Device Tree before booting Linux 2014-12-12 19:15:37 +00:00
ArmPkg.dec ArmPlatformPkg/ArmJunoPkg: Move the watchdog generic driver to ArmPkg/Drivers 2014-12-12 19:09:24 +00:00
ArmPkg.dsc ArmPkg/BdsLib: Rework TFTP boot 2014-12-12 19:14:22 +00:00
Contributions.txt EDK II Contributions.txt: Update patch format information 2014-10-31 22:05:50 +00:00
License.txt EDK II Packages: Added License.txt files 2012-04-12 16:40:32 +00:00