- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# /space/home/slher/rel/Beken/v6_4_5/macsw/plf/refip/src/compiler/riscv32/compiler.h

Go to the documentation of this file.

    00001
    00013 #ifndef _COMPILER_H_
    00014 #define _COMPILER_H_
    00015
    00017 #define __INLINE static __attribute__((__always_inline__)) inline
    00018
    00020 #define __IRQ __attribute__((interrupt))
    00021
    00023 #define __PURE __attribute__((const))
    00024
    00026 #define __ALIGN4 __attribute__((aligned(4)))
    00027
    00029 #define __PACKED16 __attribute__ ((__packed__))
    00031 #define __PACKED __attribute__ ((__packed__))
    00032
    00034 #define __MODULE__ __BASE_FILE__
    00035
    00037 #define __MAYBE_UNUSED __attribute__((unused))
    00038
    00039 // Mapping of these different elements is already handled in the map.txt file, so no need
    00040 // to define anything here
    00042 #define __SHAREDRAMIPC __attribute__ ((section("SHAREDRAMIPC")))
    00044 #define __SHAREDRAM __attribute__ ((section("SHAREDRAM")))
    00046 #define __LARAMMAC __attribute__ ((section("LARAM")))
    00048 #define __MIB __attribute__ ((section("MACHWMIB")))
    00049
    00050 #endif // _COMPILER_H_