Xen Test Framework
Macros
asm_macros.h File Reference

Macros for use in assembly files. More...

#include <xtf/numbers.h>
#include <arch/asm_macros.h>
+ Include dependency graph for asm_macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ELFNOTE(name, type, desc)
 

Detailed Description

Macros for use in assembly files.

Definition in file asm_macros.h.

Macro Definition Documentation

◆ ELFNOTE

#define ELFNOTE (   name,
  type,
  desc 
)
Value:
asm (".pushsection .note, \"a\", @note;" \
".align 4;" \
".long 2f - 1f;" /* namesz */ \
".long 4f - 3f;" /* descsz */ \
".long " STR(type) ";" /* type */ \
"1: .asciz \"" #name "\";" /* name */ \
"2:.align 4;" \
"3: " desc ";" /* desc */ \
"4:.align 4;" \
".popsection;")
name
Definition: mkcfg.py:14
#define STR(x)
Stringise an expression, expanding preprocessor tokens.
Definition: macro_magic.h:17

Definition at line 78 of file asm_macros.h.