Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _ASM_PTRACE_H |
| 20 | #define _ASM_PTRACE_H |
| 21 | #define FPR_BASE 32 |
| 22 | #define PC 64 |
| 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 24 | #define CAUSE 65 |
| 25 | #define BADVADDR 66 |
| 26 | #define MMHI 67 |
| 27 | #define MMLO 68 |
| 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 29 | #define FPC_CSR 69 |
| 30 | #define FPC_EIR 70 |
Elliott Hughes | c95eb57 | 2013-01-29 18:15:55 -0800 | [diff] [blame] | 31 | #define DSP_BASE 71 |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 32 | #define DSP_CONTROL 77 |
| 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 34 | #define ACX 78 |
| 35 | struct pt_regs { |
Raghu Gandham | 988ff8f | 2012-09-21 17:13:25 -0700 | [diff] [blame] | 36 | unsigned long pad0[6]; |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 37 | unsigned long regs[32]; |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Raghu Gandham | 988ff8f | 2012-09-21 17:13:25 -0700 | [diff] [blame] | 39 | unsigned long cp0_status; |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 40 | unsigned long hi; |
| 41 | unsigned long lo; |
| 42 | unsigned long cp0_badvaddr; |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Raghu Gandham | 988ff8f | 2012-09-21 17:13:25 -0700 | [diff] [blame] | 44 | unsigned long cp0_cause; |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 45 | unsigned long cp0_epc; |
| 46 | } __attribute__ ((aligned (8))); |
| 47 | #define PTRACE_GETREGS 12 |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Raghu Gandham | 988ff8f | 2012-09-21 17:13:25 -0700 | [diff] [blame] | 49 | #define PTRACE_SETREGS 13 |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 50 | #define PTRACE_GETFPREGS 14 |
| 51 | #define PTRACE_SETFPREGS 15 |
| 52 | #define PTRACE_OLDSETOPTIONS 21 |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Raghu Gandham | 988ff8f | 2012-09-21 17:13:25 -0700 | [diff] [blame] | 54 | #define PTRACE_GET_THREAD_AREA 25 |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 55 | #define PTRACE_SET_THREAD_AREA 26 |
| 56 | #define PTRACE_PEEKTEXT_3264 0xc0 |
| 57 | #define PTRACE_PEEKDATA_3264 0xc1 |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Raghu Gandham | 988ff8f | 2012-09-21 17:13:25 -0700 | [diff] [blame] | 59 | #define PTRACE_POKETEXT_3264 0xc2 |
Raghu Gandham | 82fa43f | 2012-03-27 11:37:17 -0700 | [diff] [blame] | 60 | #define PTRACE_POKEDATA_3264 0xc3 |
| 61 | #define PTRACE_GET_THREAD_AREA_3264 0xc4 |
| 62 | #endif |
Raghu Gandham | 988ff8f | 2012-09-21 17:13:25 -0700 | [diff] [blame] | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |