21 lines
413 B
C
21 lines
413 B
C
/*! \file */
|
|
#ifndef ARCH_H
|
|
#define ARCH_H
|
|
|
|
#define ARCH_X86_64 0
|
|
#define ARCH_X86_32 1
|
|
#define ARCH_ARM_32 2
|
|
#define ARCH_ARM_64 3
|
|
#define ARCH_MIPS 4
|
|
|
|
/*!
|
|
* This struct defines a generic
|
|
* register view
|
|
*/
|
|
typedef struct registers_t {
|
|
char name[32]; /*! The Name of the current register */
|
|
uint64_t offset; /*! Offset in the data block */
|
|
uint64_t size; /*! Size of the register */
|
|
} registers_t;
|
|
|
|
#endif
|