reg.h (e6e746bfb086d563bf0ad454a33ecbcab8836dbf) | reg.h (dbee5c671aa8cf7673e92ca7ce6d227f52cb185c) |
---|---|
1/* $NetBSD: reg.h,v 1.4 2000/06/04 09:30:44 tsubai Exp $ */ 2/* $FreeBSD$ */ 3 4#ifndef _POWERPC_REG_H_ 5#define _POWERPC_REG_H_ 6 7#if defined(_KERNEL) && !defined(KLD_MODULE) && !defined(_STANDALONE) 8#include "opt_compat.h" --- 25 unchanged lines hidden (view full) --- 34 uint32_t vrsave; 35 uint32_t vscr; 36}; 37 38struct dbreg { 39 unsigned int junk; 40}; 41 | 1/* $NetBSD: reg.h,v 1.4 2000/06/04 09:30:44 tsubai Exp $ */ 2/* $FreeBSD$ */ 3 4#ifndef _POWERPC_REG_H_ 5#define _POWERPC_REG_H_ 6 7#if defined(_KERNEL) && !defined(KLD_MODULE) && !defined(_STANDALONE) 8#include "opt_compat.h" --- 25 unchanged lines hidden (view full) --- 34 uint32_t vrsave; 35 uint32_t vscr; 36}; 37 38struct dbreg { 39 unsigned int junk; 40}; 41 |
42#ifdef COMPAT_FREEBSD32 | 42#ifdef __LP64__ |
43/* Must match struct trapframe */ 44struct reg32 { 45 int32_t fixreg[32]; 46 int32_t lr; 47 int32_t cr; 48 int32_t xer; 49 int32_t ctr; 50 int32_t pc; --- 5 unchanged lines hidden (view full) --- 56 57struct vmxreg32 { 58 struct vmxreg data; 59}; 60 61struct dbreg32 { 62 struct dbreg data; 63}; | 43/* Must match struct trapframe */ 44struct reg32 { 45 int32_t fixreg[32]; 46 int32_t lr; 47 int32_t cr; 48 int32_t xer; 49 int32_t ctr; 50 int32_t pc; --- 5 unchanged lines hidden (view full) --- 56 57struct vmxreg32 { 58 struct vmxreg data; 59}; 60 61struct dbreg32 { 62 struct dbreg data; 63}; |
64 65#define __HAVE_REG32 |
|
64#endif 65 66#ifdef _KERNEL 67/* 68 * XXX these interfaces are MI, so they should be declared in a MI place. 69 */ 70int fill_regs(struct thread *, struct reg *); 71int set_regs(struct thread *, struct reg *); --- 21 unchanged lines hidden --- | 66#endif 67 68#ifdef _KERNEL 69/* 70 * XXX these interfaces are MI, so they should be declared in a MI place. 71 */ 72int fill_regs(struct thread *, struct reg *); 73int set_regs(struct thread *, struct reg *); --- 21 unchanged lines hidden --- |