]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Ipf/asm.h
Code Scrub for MdePkg.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ipf / asm.h
1 /** @file This module contains generic macros for an assembly writer.
2
3 Copyright (c) 2006, Intel Corporation<BR>
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 **/
12
13 #ifndef _ASM_H_
14 #define _ASM_H_
15
16 #define TRUE 1
17 #define FALSE 0
18 #define PROCEDURE_ENTRY(name) .##text; \
19 .##type name, @function; \
20 .##proc name; \
21 name::
22
23 #define PROCEDURE_EXIT(name) .##endp name
24
25 #endif // _ASM_H