]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add ARM specific Jump Buffer
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Aug 2009 20:50:59 +0000 (20:50 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Aug 2009 20:50:59 +0000 (20:50 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9102 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/BaseLib.h

index 202d2c3f55378d963cc4fd1839aedbb6e06ee54c..77efbfaef7145c665745e3f21ebc84fee5fcc086 100644 (file)
@@ -3,6 +3,7 @@
   functions, and CPU architecture-specific functions.\r
 \r
 Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
+Portions Copyright (c) 2008-2009 Apple Inc.<BR>
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -125,6 +126,26 @@ typedef struct {
 \r
 #endif // defined (MDE_CPU_EBC)\r
 \r
+#if defined (MDE_CPU_ARM)
+
+typedef struct {
+       UINT32          R3;  ///< Copy of R13
+       UINT32          R4;
+       UINT32          R5;
+       UINT32          R6;
+       UINT32          R7;
+       UINT32          R8;
+       UINT32          R9;
+       UINT32          R10;
+       UINT32          R11;
+       UINT32          R12;
+       UINT32          R14;
+} BASE_LIBRARY_JUMP_BUFFER;
+
+#define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 4
+
+#endif  // defined (MDE_CPU_ARM)
+
 //\r
 // String Services\r
 //\r