The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/arm/include/reg.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: reg.h,v 1.2 2001/02/23 21:23:52 reinoud Exp $  */
    2 /* $FreeBSD: releng/11.2/sys/arm/include/reg.h 317005 2017-04-16 07:33:47Z mmel $ */
    3 #ifndef MACHINE_REG_H
    4 #define MACHINE_REG_H
    5 
    6 struct reg {
    7         unsigned int r[13];
    8         unsigned int r_sp;
    9         unsigned int r_lr;
   10         unsigned int r_pc;
   11         unsigned int r_cpsr;
   12 };
   13 
   14 struct fp_extended_precision {
   15         u_int32_t fp_exponent;
   16         u_int32_t fp_mantissa_hi;
   17         u_int32_t fp_mantissa_lo;
   18 };
   19 
   20 typedef struct fp_extended_precision fp_reg_t;
   21 
   22 struct fpreg {
   23         unsigned int fpr_fpsr;
   24         fp_reg_t fpr[8];
   25 };
   26 
   27 struct dbreg {
   28 #define ARM_WR_MAX      16 /* Maximum number of watchpoint registers */
   29         unsigned int dbg_wcr[ARM_WR_MAX]; /* Watchpoint Control Registers */
   30         unsigned int dbg_wvr[ARM_WR_MAX]; /* Watchpoint Value Registers */
   31 };
   32 
   33 #ifdef _KERNEL
   34 int     fill_regs(struct thread *, struct reg *);
   35 int     set_regs(struct thread *, struct reg *);
   36 int     fill_fpregs(struct thread *, struct fpreg *);
   37 int     set_fpregs(struct thread *, struct fpreg *);
   38 int     fill_dbregs(struct thread *, struct dbreg *);
   39 int     set_dbregs(struct thread *, struct dbreg *);
   40 #endif
   41 
   42 #endif /* !MACHINE_REG_H */

Cache object: 6cc2d1cc80d46ba28b3a52f46669f4c1


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.