coreboot-kgpe-d16/payloads/libpayload/include/arm64/arch/asm.h

29 lines
391 B
C

/*
*
* Copyright 2013 Google Inc.
*
*/
#ifndef __ARM64_ASM_H
#define __ARM64_ASM_H
# define ARM64(x...) x
# define W(instr) instr
#define ALIGN .align 2
#define ENDPROC(name) \
.type name, %function; \
END(name)
#define ENTRY(name) \
.section .text.name, "ax", %progbits; \
.global name; \
ALIGN; \
name:
#define END(name) \
.size name, .-name
#endif /* __ARM64_ASM_H */