Xen Test Framework
Macros
compiler.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __alias(x)   __attribute__((__alias__(x)))
 
#define __aligned(x)   __attribute__((__aligned__(x)))
 
#define __noreturn   __attribute__((__noreturn__))
 
#define __packed   __attribute__((__packed__))
 
#define __printf(f, v)   __attribute__((__format__(__printf__, f, v)))
 
#define __maybe_unused   __attribute__((__unused__))
 
#define __used   __attribute__((__used__))
 
#define __weak   __attribute__((__weak__))
 
#define __section(s)   __attribute__((__section__(s)))
 
#define unreachable()   __builtin_unreachable()
 
#define barrier()   __asm__ __volatile__ ("" ::: "memory")
 
#define __user_text   __section(".text.user")
 
#define __user_data   __section(".data.user")
 
#define __page_aligned_data   __section(".data.page_aligned") __aligned(4096)
 
#define __page_aligned_bss   __section(".bss.page_aligned") __aligned(4096)
 
#define __user_page_aligned_bss    __section(".bss.user.page_aligned") __aligned(4096)
 

Macro Definition Documentation

◆ __alias

#define __alias (   x)    __attribute__((__alias__(x)))

Definition at line 8 of file compiler.h.

◆ __aligned

#define __aligned (   x)    __attribute__((__aligned__(x)))

Definition at line 9 of file compiler.h.

◆ __noreturn

#define __noreturn   __attribute__((__noreturn__))

Definition at line 10 of file compiler.h.

◆ __packed

#define __packed   __attribute__((__packed__))

Definition at line 11 of file compiler.h.

◆ __printf

#define __printf (   f,
 
)    __attribute__((__format__(__printf__, f, v)))

Definition at line 12 of file compiler.h.

◆ __maybe_unused

#define __maybe_unused   __attribute__((__unused__))

Definition at line 13 of file compiler.h.

◆ __used

#define __used   __attribute__((__used__))

Definition at line 14 of file compiler.h.

◆ __weak

#define __weak   __attribute__((__weak__))

Definition at line 15 of file compiler.h.

◆ __section

#define __section (   s)    __attribute__((__section__(s)))

Definition at line 26 of file compiler.h.

◆ unreachable

#define unreachable ( )    __builtin_unreachable()

Definition at line 29 of file compiler.h.

◆ barrier

#define barrier ( )    __asm__ __volatile__ ("" ::: "memory")

Definition at line 30 of file compiler.h.

◆ __user_text

#define __user_text   __section(".text.user")

Definition at line 33 of file compiler.h.

◆ __user_data

#define __user_data   __section(".data.user")

Definition at line 34 of file compiler.h.

◆ __page_aligned_data

#define __page_aligned_data   __section(".data.page_aligned") __aligned(4096)

Definition at line 36 of file compiler.h.

◆ __page_aligned_bss

#define __page_aligned_bss   __section(".bss.page_aligned") __aligned(4096)

Definition at line 37 of file compiler.h.

◆ __user_page_aligned_bss

#define __user_page_aligned_bss    __section(".bss.user.page_aligned") __aligned(4096)

Definition at line 39 of file compiler.h.