Home | History | Annotate | Download | only in Ipf
      1 //
      2 //
      3 // Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
      4 // 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 // Module Name:
     13 //
     14 //   asm.h
     15 //
     16 // Abstract:
     17 //
     18 //   This module contains generic macros for an assembly writer.
     19 //
     20 //
     21 // Revision History
     22 //
     23 #ifndef _ASM_H
     24 #define _ASM_H
     25 
     26 #define TRUE  1
     27 #define FALSE 0
     28 #define PROCEDURE_ENTRY(name)   .##text;            \
     29   .##type name, @function; \
     30   .##proc name; \
     31   name::
     32 
     33 #define PROCEDURE_EXIT(name)  .##endp name
     34 
     35 #endif // _ASM_H
     36