mirror of
https://github.com/ziglang/zig.git
synced 2025-12-09 15:53:08 +00:00
osreldate.h and sys/param.h were manually adjusted to not __FreeBSD_version since it will be defined by the compiler.
26 lines
567 B
C
Vendored
26 lines
567 B
C
Vendored
/* $NetBSD: reg.h,v 1.2 2001/02/23 21:23:52 reinoud Exp $ */
|
|
#ifndef MACHINE_REG_H
|
|
#define MACHINE_REG_H
|
|
|
|
#include <sys/_types.h>
|
|
|
|
struct reg {
|
|
unsigned int r[13];
|
|
unsigned int r_sp;
|
|
unsigned int r_lr;
|
|
unsigned int r_pc;
|
|
unsigned int r_cpsr;
|
|
};
|
|
|
|
struct fpreg {
|
|
__uint64_t fpr_r[32];
|
|
__uint32_t fpr_fpscr;
|
|
};
|
|
|
|
struct dbreg {
|
|
#define ARM_WR_MAX 16 /* Maximum number of watchpoint registers */
|
|
unsigned int dbg_wcr[ARM_WR_MAX]; /* Watchpoint Control Registers */
|
|
unsigned int dbg_wvr[ARM_WR_MAX]; /* Watchpoint Value Registers */
|
|
};
|
|
|
|
#endif /* !MACHINE_REG_H */ |