diff options
author | zliu3 <zliu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-31 03:10:22 +0000 |
---|---|---|
committer | zliu3 <zliu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-31 03:10:22 +0000 |
commit | 42a885c2f06091ba6c6691024cfabaac034f7533 (patch) | |
tree | db7207aa5f0afd3dc2778d7633678d46473e5cff /MdePkg/Include | |
parent | dfc48464891f001b397cd7f32f2c6b5a0f122625 (diff) | |
download | edk2-42a885c2f06091ba6c6691024cfabaac034f7533.zip edk2-42a885c2f06091ba6c6691024cfabaac034f7533.tar.gz edk2-42a885c2f06091ba6c6691024cfabaac034f7533.tar.bz2 |
Added macro GLOBAL_OBJECT and GLOBAL_CONSTANT, and changed '.global' to '.globl' based on HP feedback
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4243 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Ipf/IpfMacro.i | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/MdePkg/Include/Ipf/IpfMacro.i b/MdePkg/Include/Ipf/IpfMacro.i index 86fd3c1..7166ed7 100644 --- a/MdePkg/Include/Ipf/IpfMacro.i +++ b/MdePkg/Include/Ipf/IpfMacro.i @@ -1,13 +1,13 @@ //++
-// Copyright (c) 2006, Intel Corporation
-// 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
-// http://opensource.org/licenses/bsd-license.php
-//
-// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-//
+// Copyright (c) 2006, Intel Corporation
+// 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
+// http://opensource.org/licenses/bsd-license.php
+//
+// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+//
// Module Name:
// IpfMacro.i
//
@@ -43,7 +43,15 @@ name:: #define GLOBAL_FUNCTION(Function) \
.##type Function, @function; \
- .##global Function
+ .##globl Function
+
+#define GLOBAL_OBJECT(Object) \
+ .##type Object, @object; \
+ .##globl Object
+
+#define GLOBAL_CONSTANT(Constant) \
+ .##type Constant, @notype; \
+ .##globl Constant
#define INTERRUPT_HANDLER_BEGIN(name) \
PROCEDURE_ENTRY(name##HandlerBegin) \
@@ -53,7 +61,7 @@ PROCEDURE_EXIT(name##HandlerBegin) #define INTERRUPT_HANDLER_END(name) \
PROCEDURE_ENTRY(name##HandlerEnd) \
;; \
-PROCEDURE_EXIT(name##HandlerEnd)
+PROCEDURE_EXIT(name##HandlerEnd)
#define INTERRUPT_HANDLER_BLOCK_BEGIN \
|