added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / i386-pc / include / asm / ptrace.h
blob5f130f8a4996bb51aa7ca7c3504eef8150bd2afc
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef ASM_PTRACE_H
7 #define ASM_PTRACE_H
9 /* this struct defines the way the registers are stored on the
10 stack during a system call. */
12 struct pt_regs {
13 int xes;
14 int xds;
15 long edx;
16 long ecx;
17 long eax;
18 long orig_eax;
19 long eip;
20 int xcs;
21 long eflags;
22 long esp;
23 int xss;
26 #define user_mode(regs) ((3 & (regs)->xcs))
27 #define instruction_pointer(regs) ((regs)->eip)
29 #endif