aos/kernel/include/arch/armv8/arch_gdb_stub.h
Daniel Schwyn 6d444bf552 Main handout
Signed-off-by: Daniel Schwyn <daniel.schwyn@inf.ethz.ch>
2022-03-03 14:57:51 +01:00

24 lines
641 B
C

/**
* \file
* \brief Header for ARMv5-specific GDB stub code.
*/
/*
* Copyright (c) 2007, 2008, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group.
*/
#include <arch/arm/arm.h>
extern uintptr_t *gdb_arch_registers;
/** Address of saved registers as void * */
#define GDB_ARCH_REGADDR ((void*)gdb_arch_registers)
/** Number of bytes saved in GDB frame */
#define GDB_ARCH_REGBYTES (sizeof(uintptr_t) * ARCH_NUMREGS)