libucontext/arch/m68k/defs.h

32 lines
565 B
C
Raw Normal View History

2020-12-06 05:22:40 +00:00
#ifndef __ARCH_M68K_DEFS_H
#define __ARCH_M68K_DEFS_H
#define REG_SZ (4)
2020-12-06 06:52:05 +00:00
#define MCONTEXT_GREGS (24)
2020-12-06 05:22:40 +00:00
#define REG_D0 (0)
#define REG_D1 (1)
#define REG_D2 (2)
#define REG_D3 (3)
#define REG_D4 (4)
#define REG_D5 (5)
#define REG_D6 (6)
#define REG_D7 (7)
#define REG_A0 (8)
#define REG_A1 (9)
#define REG_A2 (10)
#define REG_A3 (11)
#define REG_A4 (12)
#define REG_A5 (13)
#define REG_A6 (14)
#define REG_A7 (15)
#define REG_SP (15)
#define REG_PC (16)
#define REG_PS (17)
#define PC_OFFSET REG_OFFSET(REG_PC)
#include "common-defs.h"
#endif