From aa4df547733d7e302d87226bf9914152b65529d7 Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 1 Dec 2008 19:09:01 +0000 Subject: [PATCH] Split architecture judgement then doxygen can merge them into one document. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6799 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/BaseLib.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index cf4e189608..4ffddfd5f6 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -39,7 +39,9 @@ typedef struct { #define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 4 -#elif defined (MDE_CPU_IPF) +#endif // defined (MDE_CPU_IA32) + +#if defined (MDE_CPU_IPF) /// /// IPF context buffer used by SetJump() and LongJump() @@ -87,7 +89,9 @@ typedef struct { #define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 0x10 -#elif defined (MDE_CPU_X64) +#endif // defined (MDE_CPU_IPF) + +#if defined (MDE_CPU_X64) /// /// X64 context buffer used by SetJump() and LongJump() /// @@ -106,7 +110,9 @@ typedef struct { #define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 8 -#elif defined (MDE_CPU_EBC) +#endif // defined (MDE_CPU_X64) + +#if defined (MDE_CPU_EBC) /// /// EBC context buffer used by SetJump() and LongJump() /// @@ -120,9 +126,7 @@ typedef struct { #define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 8 -#else -#error Unknown Processor Type -#endif +#endif // defined (MDE_CPU_EBC) // // String Services