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 ENDPROC(name)
 
#define ENTRY_WITH_ALIGN(name, bits)
 
#define ENTRY(name)   ENTRY_WITH_ALIGN(name, 2)
 
#define END(name)    .size name, .-name
 
#define CPU_RESET_ENTRY(name)   ENTRY_WITH_ALIGN(name, 6)
 
#define ENTRY_WEAK(name)
 

Macro Definition Documentation

◆ CPU_RESET_ENTRY

#define CPU_RESET_ENTRY (   name)    ENTRY_WITH_ALIGN(name, 6)

Definition at line 25 of file asm.h.

◆ END

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

Definition at line 18 of file asm.h.

◆ ENDPROC

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

Definition at line 6 of file asm.h.

◆ ENTRY

#define ENTRY (   name)    ENTRY_WITH_ALIGN(name, 2)

Definition at line 16 of file asm.h.

◆ ENTRY_WEAK

#define ENTRY_WEAK (   name)
Value:
.weak name \
#define ENTRY(name)
Definition: asm.h:16

Definition at line 27 of file asm.h.

◆ ENTRY_WITH_ALIGN

#define ENTRY_WITH_ALIGN (   name,
  bits 
)
Value:
.section .text.name, "ax", %progbits; \
.global name; \
.align bits; \
name:

Definition at line 10 of file asm.h.