summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-01 19:09:01 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-01 19:09:01 +0000
commitaa4df547733d7e302d87226bf9914152b65529d7 (patch)
treee24bfbad8db6143d807f3720e481e8c576dd2ca1 /MdePkg
parentbf428cb3885ea74974a7e53ed5acbc90a620f801 (diff)
downloadedk2-platforms-aa4df547733d7e302d87226bf9914152b65529d7.tar.xz
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Library/BaseLib.h16
1 files 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