summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-18 20:50:59 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-18 20:50:59 +0000
commit43211ca7e5a473cc558ea071e595e4646d8c80a2 (patch)
treea4eb0aa82f62dc1e97bb7c45c0d3092e8e9227b2 /MdePkg
parent05e3c7cce7c79e8cb981135d9a6488233eff679a (diff)
downloadedk2-platforms-43211ca7e5a473cc558ea071e595e4646d8c80a2.tar.xz
Add ARM specific Jump Buffer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9102 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Library/BaseLib.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h
index 202d2c3f55..77efbfaef7 100644
--- a/MdePkg/Include/Library/BaseLib.h
+++ b/MdePkg/Include/Library/BaseLib.h
@@ -3,6 +3,7 @@
functions, and CPU architecture-specific functions.
Copyright (c) 2006 - 2008, Intel Corporation<BR>
+Portions Copyright (c) 2008-2009 Apple Inc.<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -125,6 +126,26 @@ typedef struct {
#endif // defined (MDE_CPU_EBC)
+#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)
+
//
// String Services
//