NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compiler.h File Reference

Compiler-specific annotations. More...

Macros

#define REGPARM(x)   __attribute__((regparm(x)))
#define NORETURN   __attribute__((noreturn))
#define PURE   __attribute__((pure))
#define COLD   __attribute__((cold))
#define ALIGNED(x)   __attribute__((aligned(x)))
#define PACKED   __attribute__((packed))
#define MEMORY_BARRIER   __asm__ __volatile__ ("" ::: "memory")
#define RESTRICT   __restrict__
#define UNUSED   __attribute__((unused))
#define DEPRECATED
#define WARN_UNUSED
#define BEGIN_EXTERN_C
#define END_EXTERN_C
#define EXTERN_C
#define MAX(a, b)
#define MIN(a, b)

Detailed Description

Compiler-specific annotations.

Copyright (C) 2010-2011, Julian Stecklina jstec.nosp@m.kli@.nosp@m.os.in.nosp@m.f.tu.nosp@m.-dres.nosp@m.den..nosp@m.de Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.

Macro Definition Documentation

#define ALIGNED (   x)    __attribute__((aligned(x)))
#define BEGIN_EXTERN_C
#define COLD   __attribute__((cold))
#define DEPRECATED
#define END_EXTERN_C
#define EXTERN_C
#define MAX (   a,
 
)
Value:
({ typeof (a) _a = (a); \
typeof (b) _b = (b); \
_a > _b ? _a : _b; })
#define MEMORY_BARRIER   __asm__ __volatile__ ("" ::: "memory")
#define MIN (   a,
 
)
Value:
({ typeof (a) _a = (a); \
typeof (b) _b = (b); \
_a > _b ? _b : _a; })
#define NORETURN   __attribute__((noreturn))
#define PACKED   __attribute__((packed))
#define PURE   __attribute__((pure))
#define REGPARM (   x)    __attribute__((regparm(x)))
#define RESTRICT   __restrict__
#define UNUSED   __attribute__((unused))
#define WARN_UNUSED