~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-ia64/asmmacro.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifndef _ASM_IA64_ASMMACRO_H
  2 #define _ASM_IA64_ASMMACRO_H
  3 
  4 /*
  5  * Copyright (C) 2000 Hewlett-Packard Co
  6  * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
  7  */
  8 
  9 #if 1
 10 
 11 /*
 12  * This is a hack that's necessary as long as we support old versions
 13  * of gas, that have no unwind support.
 14  */
 15 #include <linux/config.h>
 16 
 17 #ifdef CONFIG_IA64_NEW_UNWIND
 18 # define UNW(args...)   args
 19 #else
 20 # define UNW(args...)
 21 #endif
 22 
 23 #endif
 24 
 25 #define ENTRY(name)                             \
 26         .align 32;                              \
 27         .proc name;                             \
 28 name:
 29 
 30 #define GLOBAL_ENTRY(name)                      \
 31         .global name;                           \
 32         ENTRY(name)
 33 
 34 #define END(name)                               \
 35         .endp name
 36 
 37 /*
 38  * Helper macros to make unwind directives more readable:
 39  */
 40 
 41 /* prologue_gr: */
 42 #define ASM_UNW_PRLG_RP                 0x8
 43 #define ASM_UNW_PRLG_PFS                0x4
 44 #define ASM_UNW_PRLG_PSP                0x2
 45 #define ASM_UNW_PRLG_PR                 0x1
 46 #define ASM_UNW_PRLG_GRSAVE(ninputs)    (32+(ninputs))
 47 
 48 #endif /* _ASM_IA64_ASMMACRO_H */
 49 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.