1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00
libhermit/tools/uhyve-gdb-aarch64.h
Stefan Lankes 55ca03c5d4 add first draft of gdb support for x86_64
- derived from ukvm/solo5 (https://github.com/Solo5/solo5/tree/master/ukvm)
- first adaption developed by Pierre Oliver, VT
2018-07-06 00:35:34 +02:00

40 lines
1.2 KiB
C

/*
* This file was adapted from the solo5/ukvm code base, initial copyright block
* follows:
*/
/*
* Copyright (c) 2015-2017 Contributors as noted in the AUTHORS file
*
* This file is part of ukvm, a unikernel monitor.
*
* Permission to use, copy, modify, and/or distribute this software
* for any purpose with or without fee is hereby granted, provided
* that the above copyright notice and this permission notice appear
* in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef UHYVE_GDB_AARCH64_H
#define UHYVE_GDB_AARCH64_H
#include <stdint.h>
#include <inttypes.h>
struct uhyve_gdb_regs {
uint64_t regs[31];
uint64_t lr;
uint64_t pc;
uint64_t pstate;
uint64_t sp;
};
#endif /* UHYVE_GDB_AARCH64_H */