mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
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
This commit is contained in:
parent
dfc4846489
commit
42a885c2f0
@ -1,13 +1,13 @@
|
|||||||
//++
|
//++
|
||||||
// Copyright (c) 2006, Intel Corporation
|
// Copyright (c) 2006, Intel Corporation
|
||||||
// All rights reserved. This program and the accompanying materials
|
// All rights reserved. This program and the accompanying materials
|
||||||
// are licensed and made available under the terms and conditions of the BSD License
|
// 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
|
// which accompanies this distribution. The full text of the license may be found at
|
||||||
// http://opensource.org/licenses/bsd-license.php
|
// http://opensource.org/licenses/bsd-license.php
|
||||||
//
|
//
|
||||||
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
//
|
//
|
||||||
// Module Name:
|
// Module Name:
|
||||||
// IpfMacro.i
|
// IpfMacro.i
|
||||||
//
|
//
|
||||||
@ -43,7 +43,15 @@ name::
|
|||||||
|
|
||||||
#define GLOBAL_FUNCTION(Function) \
|
#define GLOBAL_FUNCTION(Function) \
|
||||||
.##type 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) \
|
#define INTERRUPT_HANDLER_BEGIN(name) \
|
||||||
PROCEDURE_ENTRY(name##HandlerBegin) \
|
PROCEDURE_ENTRY(name##HandlerBegin) \
|
||||||
@ -53,7 +61,7 @@ PROCEDURE_EXIT(name##HandlerBegin)
|
|||||||
#define INTERRUPT_HANDLER_END(name) \
|
#define INTERRUPT_HANDLER_END(name) \
|
||||||
PROCEDURE_ENTRY(name##HandlerEnd) \
|
PROCEDURE_ENTRY(name##HandlerEnd) \
|
||||||
;; \
|
;; \
|
||||||
PROCEDURE_EXIT(name##HandlerEnd)
|
PROCEDURE_EXIT(name##HandlerEnd)
|
||||||
|
|
||||||
|
|
||||||
#define INTERRUPT_HANDLER_BLOCK_BEGIN \
|
#define INTERRUPT_HANDLER_BLOCK_BEGIN \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user