libucontext/arch/arm/defs.h

16 lines
285 B
C

#ifndef __ARCH_ARM_DEFS_H
#define REG_SZ (4)
#define MCONTEXT_GREGS (32)
#define VFP_MAGIC_OFFSET (232)
#define VFP_D8_OFFSET (304)
#define TYPE(__proc) .type __proc, %function;
#define FETCH_LINKPTR(dest) \
asm("movs %0, r4" : "=r" ((dest)))
#include "common-defs.h"
#endif