coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
asm.h File Reference

Go to the source code of this file.

Macros

#define ARM(x...)   x
 
#define THUMB(x...)
 
#define W(instr)   instr
 
#define ALIGN   .align 0
 
#define ENDPROC(name)
 
#define ENTRY(name)
 
#define END(name)    .size name, .-name
 

Macro Definition Documentation

◆ ALIGN

#define ALIGN   .align 0

Definition at line 22 of file asm.h.

◆ ARM

#define ARM (   x...)    x

Definition at line 17 of file asm.h.

◆ END

#define END (   name)     .size name, .-name

Definition at line 34 of file asm.h.

◆ ENDPROC

#define ENDPROC (   name)
Value:
.type name, %function; \
END(name)
const char * name
Definition: mmu.c:92

Definition at line 24 of file asm.h.

◆ ENTRY

#define ENTRY (   name)
Value:
.section .text.name, "ax", %progbits; \
.global name; \
ALIGN; \
name:

Definition at line 28 of file asm.h.

◆ THUMB

#define THUMB (   x...)

Definition at line 18 of file asm.h.

◆ W

#define W (   instr)    instr

Definition at line 19 of file asm.h.