libucontext/arch/s390x/defs.h

16 lines
287 B
C
Raw Normal View History

2018-02-15 05:54:17 +00:00
#ifndef __ARCH_S390X_DEFS_H
#define __ARCH_S390X_DEFS_H
2020-03-30 06:12:07 +00:00
#define REG_SZ (8)
#define AREG_SZ (4)
#define MCONTEXT_GREGS (56)
#define MCONTEXT_AREGS (184)
#define MCONTEXT_FPREGS (248)
#define AREG_OFFSET(__reg) (MCONTEXT_AREGS + ((__reg) * AREG_SZ))
#include "common-defs.h"
2018-02-15 05:54:17 +00:00
#endif