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

Definitions of compiler specific directives. More...

Go to the source code of this file.

## Defines
#define | __INLINE static __attribute__((__always_inline__)) inline
| define the force inlining attribute for this compiler
#define | __IRQ __attribute__((interrupt))
| define the IRQ handler attribute for this compiler
#define | __PURE __attribute__((const))
| function has no side effect and return depends only on arguments
#define | __ALIGN4 __attribute__((aligned(4)))
| Align instantiated lvalue or struct member on 4 bytes.
#define | __PACKED16 __attribute__ ((__packed__))
| Pack a structure field.
#define | __PACKED __attribute__ ((__packed__))
| Pack a structure field.
#define | __MODULE__ __BASE_FILE__
| __MODULE__ comes from the RVDS compiler that supports it
#define | __MAYBE_UNUSED __attribute__((unused))
| define a variable as maybe unused, to avoid compiler warnings on it
#define | __SHAREDRAMIPC __attribute__ ((section("SHAREDRAMIPC")))
| SHARED RAM for IPC structure.
#define | __SHAREDRAM __attribute__ ((section("SHAREDRAM")))
| SHARED RAM.
#define | __LARAMMAC __attribute__ ((section("LARAM")))
| LA RAM.
#define | __MIB __attribute__ ((section("MACHWMIB")))
| MIB memory.

## Detailed Description

Definitions of compiler specific directives.

Copyright (C) RivieraWaves 2011-2019

Definition in file compiler.h.