From 43211ca7e5a473cc558ea071e595e4646d8c80a2 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Tue, 18 Aug 2009 20:50:59 +0000 Subject: Add ARM specific Jump Buffer git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9102 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/BaseLib.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'MdePkg') diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index 202d2c3..77efbfa 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
+Portions Copyright (c) 2008-2009 Apple Inc.
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 // -- cgit v1.1