libucontext/arch/arm/defs.h

16 lines
285 B
C
Raw Normal View History

2020-03-30 05:02:49 +00:00
#ifndef __ARCH_ARM_DEFS_H
#define REG_SZ (4)
#define MCONTEXT_GREGS (32)
2022-03-04 18:35:25 +00:00
#define VFP_MAGIC_OFFSET (232)
#define VFP_D8_OFFSET (304)
2020-03-30 05:02:49 +00:00
#define TYPE(__proc) .type __proc, %function;
2020-03-30 05:02:49 +00:00
2020-12-12 06:40:27 +00:00
#define FETCH_LINKPTR(dest) \
2021-01-03 02:31:04 +00:00
asm("movs %0, r4" : "=r" ((dest)))
2020-12-12 06:40:27 +00:00
2020-03-30 05:02:49 +00:00
#include "common-defs.h"
#endif