diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-um/ptrace-i386.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-um/ptrace-i386.h')
-rw-r--r-- | include/asm-um/ptrace-i386.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/include/asm-um/ptrace-i386.h b/include/asm-um/ptrace-i386.h new file mode 100644 index 000000000000..9e47590ec293 --- /dev/null +++ b/include/asm-um/ptrace-i386.h | |||
@@ -0,0 +1,46 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com) | ||
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | |||
6 | #ifndef __UM_PTRACE_I386_H | ||
7 | #define __UM_PTRACE_I386_H | ||
8 | |||
9 | #include "sysdep/ptrace.h" | ||
10 | #include "asm/ptrace-generic.h" | ||
11 | |||
12 | #define PT_REGS_EAX(r) UPT_EAX(&(r)->regs) | ||
13 | #define PT_REGS_EBX(r) UPT_EBX(&(r)->regs) | ||
14 | #define PT_REGS_ECX(r) UPT_ECX(&(r)->regs) | ||
15 | #define PT_REGS_EDX(r) UPT_EDX(&(r)->regs) | ||
16 | #define PT_REGS_ESI(r) UPT_ESI(&(r)->regs) | ||
17 | #define PT_REGS_EDI(r) UPT_EDI(&(r)->regs) | ||
18 | #define PT_REGS_EBP(r) UPT_EBP(&(r)->regs) | ||
19 | |||
20 | #define PT_REGS_CS(r) UPT_CS(&(r)->regs) | ||
21 | #define PT_REGS_SS(r) UPT_SS(&(r)->regs) | ||
22 | #define PT_REGS_DS(r) UPT_DS(&(r)->regs) | ||
23 | #define PT_REGS_ES(r) UPT_ES(&(r)->regs) | ||
24 | #define PT_REGS_FS(r) UPT_FS(&(r)->regs) | ||
25 | #define PT_REGS_GS(r) UPT_GS(&(r)->regs) | ||
26 | |||
27 | #define PT_REGS_EFLAGS(r) UPT_EFLAGS(&(r)->regs) | ||
28 | |||
29 | #define PT_REGS_ORIG_SYSCALL(r) PT_REGS_EAX(r) | ||
30 | #define PT_REGS_SYSCALL_RET(r) PT_REGS_EAX(r) | ||
31 | #define PT_FIX_EXEC_STACK(sp) do ; while(0) | ||
32 | |||
33 | #define user_mode(r) UPT_IS_USER(&(r)->regs) | ||
34 | |||
35 | #endif | ||
36 | |||
37 | /* | ||
38 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
39 | * Emacs will notice this stuff at the end of the file and automatically | ||
40 | * adjust the settings for this buffer only. This must remain at the end | ||
41 | * of the file. | ||
42 | * --------------------------------------------------------------------------- | ||
43 | * Local variables: | ||
44 | * c-file-style: "linux" | ||
45 | * End: | ||
46 | */ | ||