1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)reg.h 5.5 (Berkeley) 1/18/91 |
37 * $Id: reg.h,v 1.10 1995/01/14 10:41:41 bde Exp $ |
38 */ 39 40#ifndef _MACHINE_REG_H_ 41#define _MACHINE_REG_H_ 42 43/* 44 * Location of the users' stored 45 * registers within appropriate frame of 'trap' and 'syscall', relative to --- 20 unchanged lines hidden (view full) --- 66#define tCS (13) 67#define tEFLAGS (14) 68#define tESP (15) 69#define tSS (16) 70 71/* 72 * Registers accessible to ptrace(2) syscall for debugger 73 * The machine-dependent code for PT_{SET,GET}REGS needs to |
74 * use whichever order, defined above, is correct, so that it |
75 * is all invisible to the user. 76 */ 77struct reg { 78 unsigned int r_es; 79 unsigned int r_ds; 80 unsigned int r_edi; 81 unsigned int r_esi; 82 unsigned int r_ebp; --- 35 unchanged lines hidden --- |