libucontext/arch/s390x/defs.h

16 lines
287 B
C

#ifndef __ARCH_S390X_DEFS_H
#define __ARCH_S390X_DEFS_H
#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"
#endif