1/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef _LIBUNWINDSTACK_MACHINE_ARM_H
18#define _LIBUNWINDSTACK_MACHINE_ARM_H
19
20#include <stdint.h>
21
22namespace unwindstack {
23
24enum ArmReg : uint16_t {
25  ARM_REG_R0 = 0,
26  ARM_REG_R1,
27  ARM_REG_R2,
28  ARM_REG_R3,
29  ARM_REG_R4,
30  ARM_REG_R5,
31  ARM_REG_R6,
32  ARM_REG_R7,
33  ARM_REG_R8,
34  ARM_REG_R9,
35  ARM_REG_R10,
36  ARM_REG_R11,
37  ARM_REG_R12,
38  ARM_REG_R13,
39  ARM_REG_R14,
40  ARM_REG_R15,
41  ARM_REG_LAST,
42
43  ARM_REG_SP = ARM_REG_R13,
44  ARM_REG_LR = ARM_REG_R14,
45  ARM_REG_PC = ARM_REG_R15,
46};
47
48}  // namespace unwindstack
49
50#endif  // _LIBUNWINDSTACK_MACHINE_ARM_H
51