xref: /haiku/headers/os/arch/arm64/arch_debugger.h (revision 1761cb8e6f467aec1255d10b2cbcead2dd9e6654)
1*1761cb8eSJaroslaw Pelczar /*
2*1761cb8eSJaroslaw Pelczar  * Copyright 2019 Haiku, Inc. All Rights Reserved.
3*1761cb8eSJaroslaw Pelczar  * Distributed under the terms of the MIT License.
4*1761cb8eSJaroslaw Pelczar  */
5*1761cb8eSJaroslaw Pelczar #ifndef _ARCH_ARM64_DEBUGGER_H
6*1761cb8eSJaroslaw Pelczar #define _ARCH_ARM64_DEBUGGER_H
7*1761cb8eSJaroslaw Pelczar 
8*1761cb8eSJaroslaw Pelczar struct arm64_debug_cpu_state {
9*1761cb8eSJaroslaw Pelczar 	unsigned long x[30];
10*1761cb8eSJaroslaw Pelczar 	unsigned long lr;
11*1761cb8eSJaroslaw Pelczar 	unsigned long sp;
12*1761cb8eSJaroslaw Pelczar 	unsigned long elr;
13*1761cb8eSJaroslaw Pelczar 	unsigned int  spsr;
14*1761cb8eSJaroslaw Pelczar } __attribute__((aligned(16)));
15*1761cb8eSJaroslaw Pelczar 
16*1761cb8eSJaroslaw Pelczar #endif	// _ARCH_ARM_DEBUGGER_H
17