| 1 | //===-- RegisterContext_powerpc.h --------------------------------*- C++ |
| 2 | //-*-===// |
| 3 | // |
| 4 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 5 | // See https://llvm.org/LICENSE.txt for license information. |
| 6 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXT_POWERPC_H |
| 11 | #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXT_POWERPC_H |
| 12 | |
| 13 | // eh_frame and DWARF Register numbers (eRegisterKindEHFrame & |
| 14 | // eRegisterKindDWARF) |
| 15 | enum { |
| 16 | dwarf_r0_powerpc = 0, |
| 17 | dwarf_r1_powerpc, |
| 18 | dwarf_r2_powerpc, |
| 19 | dwarf_r3_powerpc, |
| 20 | dwarf_r4_powerpc, |
| 21 | dwarf_r5_powerpc, |
| 22 | dwarf_r6_powerpc, |
| 23 | dwarf_r7_powerpc, |
| 24 | dwarf_r8_powerpc, |
| 25 | dwarf_r9_powerpc, |
| 26 | dwarf_r10_powerpc, |
| 27 | dwarf_r11_powerpc, |
| 28 | dwarf_r12_powerpc, |
| 29 | dwarf_r13_powerpc, |
| 30 | dwarf_r14_powerpc, |
| 31 | dwarf_r15_powerpc, |
| 32 | dwarf_r16_powerpc, |
| 33 | dwarf_r17_powerpc, |
| 34 | dwarf_r18_powerpc, |
| 35 | dwarf_r19_powerpc, |
| 36 | dwarf_r20_powerpc, |
| 37 | dwarf_r21_powerpc, |
| 38 | dwarf_r22_powerpc, |
| 39 | dwarf_r23_powerpc, |
| 40 | dwarf_r24_powerpc, |
| 41 | dwarf_r25_powerpc, |
| 42 | dwarf_r26_powerpc, |
| 43 | dwarf_r27_powerpc, |
| 44 | dwarf_r28_powerpc, |
| 45 | dwarf_r29_powerpc, |
| 46 | dwarf_r30_powerpc, |
| 47 | dwarf_r31_powerpc, |
| 48 | dwarf_f0_powerpc, |
| 49 | dwarf_f1_powerpc, |
| 50 | dwarf_f2_powerpc, |
| 51 | dwarf_f3_powerpc, |
| 52 | dwarf_f4_powerpc, |
| 53 | dwarf_f5_powerpc, |
| 54 | dwarf_f6_powerpc, |
| 55 | dwarf_f7_powerpc, |
| 56 | dwarf_f8_powerpc, |
| 57 | dwarf_f9_powerpc, |
| 58 | dwarf_f10_powerpc, |
| 59 | dwarf_f11_powerpc, |
| 60 | dwarf_f12_powerpc, |
| 61 | dwarf_f13_powerpc, |
| 62 | dwarf_f14_powerpc, |
| 63 | dwarf_f15_powerpc, |
| 64 | dwarf_f16_powerpc, |
| 65 | dwarf_f17_powerpc, |
| 66 | dwarf_f18_powerpc, |
| 67 | dwarf_f19_powerpc, |
| 68 | dwarf_f20_powerpc, |
| 69 | dwarf_f21_powerpc, |
| 70 | dwarf_f22_powerpc, |
| 71 | dwarf_f23_powerpc, |
| 72 | dwarf_f24_powerpc, |
| 73 | dwarf_f25_powerpc, |
| 74 | dwarf_f26_powerpc, |
| 75 | dwarf_f27_powerpc, |
| 76 | dwarf_f28_powerpc, |
| 77 | dwarf_f29_powerpc, |
| 78 | dwarf_f30_powerpc, |
| 79 | dwarf_f31_powerpc, |
| 80 | dwarf_cr_powerpc, |
| 81 | dwarf_fpscr_powerpc, |
| 82 | dwarf_msr_powerpc, |
| 83 | dwarf_vscr_powerpc, |
| 84 | dwarf_xer_powerpc = 101, |
| 85 | dwarf_lr_powerpc = 108, |
| 86 | dwarf_ctr_powerpc, |
| 87 | dwarf_pc_powerpc, |
| 88 | dwarf_vrsave_powerpc = 356, |
| 89 | dwarf_v0_powerpc = 1124, |
| 90 | dwarf_v1_powerpc, |
| 91 | dwarf_v2_powerpc, |
| 92 | dwarf_v3_powerpc, |
| 93 | dwarf_v4_powerpc, |
| 94 | dwarf_v5_powerpc, |
| 95 | dwarf_v6_powerpc, |
| 96 | dwarf_v7_powerpc, |
| 97 | dwarf_v8_powerpc, |
| 98 | dwarf_v9_powerpc, |
| 99 | dwarf_v10_powerpc, |
| 100 | dwarf_v11_powerpc, |
| 101 | dwarf_v12_powerpc, |
| 102 | dwarf_v13_powerpc, |
| 103 | dwarf_v14_powerpc, |
| 104 | dwarf_v15_powerpc, |
| 105 | dwarf_v16_powerpc, |
| 106 | dwarf_v17_powerpc, |
| 107 | dwarf_v18_powerpc, |
| 108 | dwarf_v19_powerpc, |
| 109 | dwarf_v20_powerpc, |
| 110 | dwarf_v21_powerpc, |
| 111 | dwarf_v22_powerpc, |
| 112 | dwarf_v23_powerpc, |
| 113 | dwarf_v24_powerpc, |
| 114 | dwarf_v25_powerpc, |
| 115 | dwarf_v26_powerpc, |
| 116 | dwarf_v27_powerpc, |
| 117 | dwarf_v28_powerpc, |
| 118 | dwarf_v29_powerpc, |
| 119 | dwarf_v30_powerpc, |
| 120 | dwarf_v31_powerpc, |
| 121 | }; |
| 122 | |
| 123 | #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXT_POWERPC_H |
| 124 | |