Back to index

plt-scheme  4.2.1
ia64_flags.h
Go to the documentation of this file.
00001 /* -----------------------------------------------------------------------
00002    ia64_flags.h - Copyright (c) 2000 Hewlett Packard Company
00003    
00004    IA64/unix Foreign Function Interface 
00005 
00006    Original author: Hans Boehm, HP Labs
00007 
00008    Permission is hereby granted, free of charge, to any person obtaining
00009    a copy of this software and associated documentation files (the
00010    ``Software''), to deal in the Software without restriction, including
00011    without limitation the rights to use, copy, modify, merge, publish,
00012    distribute, sublicense, and/or sell copies of the Software, and to
00013    permit persons to whom the Software is furnished to do so, subject to
00014    the following conditions:
00015 
00016    The above copyright notice and this permission notice shall be included
00017    in all copies or substantial portions of the Software.
00018 
00019    THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
00020    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00021    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00022    IN NO EVENT SHALL CYGNUS SOLUTIONS BE LIABLE FOR ANY CLAIM, DAMAGES OR
00023    OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
00024    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
00025    OTHER DEALINGS IN THE SOFTWARE.
00026    ----------------------------------------------------------------------- */
00027 
00028 /* "Type" codes used between assembly and C.  When used as a part of
00029    a cfi->flags value, the low byte will be these extra type codes,
00030    and bits 8-31 will be the actual size of the type.  */
00031 
00032 /* Small structures containing N words in integer registers.  */
00033 #define FFI_IA64_TYPE_SMALL_STRUCT (FFI_TYPE_LAST + 1)
00034 
00035 /* Homogeneous Floating Point Aggregates (HFAs) which are returned
00036    in FP registers.  */
00037 #define FFI_IA64_TYPE_HFA_FLOAT           (FFI_TYPE_LAST + 2)
00038 #define FFI_IA64_TYPE_HFA_DOUBLE   (FFI_TYPE_LAST + 3)
00039 #define FFI_IA64_TYPE_HFA_LDOUBLE  (FFI_TYPE_LAST + 4)