[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 26/29] moved all mcd related header files into include/mcdstub
|
From: |
Nicolas Eder |
|
Subject: |
[PATCH v2 26/29] moved all mcd related header files into include/mcdstub |
|
Date: |
Fri, 6 Oct 2023 11:06:07 +0200 |
From: neder <nicolas.eder@lauterbach.com>
---
target/arm/mcdstub.h => include/mcdstub/arm_mcdstub.h | 2 +-
{mcdstub => include/mcdstub}/mcd_shared_defines.h | 0
{mcdstub => include/mcdstub}/mcdstub.h | 0
{mcdstub => include/mcdstub}/mcdstub_common.h | 0
mcdstub/mcd_syscalls.c | 2 +-
mcdstub/mcdstub.c | 6 +++---
target/arm/mcdstub.c | 3 ++-
7 files changed, 7 insertions(+), 6 deletions(-)
rename target/arm/mcdstub.h => include/mcdstub/arm_mcdstub.h (99%)
rename {mcdstub => include/mcdstub}/mcd_shared_defines.h (100%)
rename {mcdstub => include/mcdstub}/mcdstub.h (100%)
rename {mcdstub => include/mcdstub}/mcdstub_common.h (100%)
diff --git a/target/arm/mcdstub.h b/include/mcdstub/arm_mcdstub.h
similarity index 99%
rename from target/arm/mcdstub.h
rename to include/mcdstub/arm_mcdstub.h
index daba7a04d7..3db271150a 100644
--- a/target/arm/mcdstub.h
+++ b/include/mcdstub/arm_mcdstub.h
@@ -2,7 +2,7 @@
#define ARM_MCDSTUB_H
#include "hw/core/cpu.h"
-#include "mcdstub/mcdstub_common.h"
+#include "mcdstub_common.h"
/* just used for the register xml files */
#include "exec/gdbstub.h"
diff --git a/mcdstub/mcd_shared_defines.h b/include/mcdstub/mcd_shared_defines.h
similarity index 100%
rename from mcdstub/mcd_shared_defines.h
rename to include/mcdstub/mcd_shared_defines.h
diff --git a/mcdstub/mcdstub.h b/include/mcdstub/mcdstub.h
similarity index 100%
rename from mcdstub/mcdstub.h
rename to include/mcdstub/mcdstub.h
diff --git a/mcdstub/mcdstub_common.h b/include/mcdstub/mcdstub_common.h
similarity index 100%
rename from mcdstub/mcdstub_common.h
rename to include/mcdstub/mcdstub_common.h
diff --git a/mcdstub/mcd_syscalls.c b/mcdstub/mcd_syscalls.c
index eaa6853335..e363a249ca 100644
--- a/mcdstub/mcd_syscalls.c
+++ b/mcdstub/mcd_syscalls.c
@@ -3,7 +3,7 @@
#include "semihosting/semihost.h"
#include "sysemu/runstate.h"
#include "mcdstub/syscalls.h"
-#include "mcdstub.h"
+#include "mcdstub/mcdstub.h"
typedef struct {
char syscall_buf[256];
diff --git a/mcdstub/mcdstub.c b/mcdstub/mcdstub.c
index a468a7d7b8..4f9fafe749 100644
--- a/mcdstub/mcdstub.c
+++ b/mcdstub/mcdstub.c
@@ -25,11 +25,11 @@
#include "monitor/monitor.h"
/* mcdstub header files */
-#include "mcd_shared_defines.h"
-#include "mcdstub.h"
+#include "mcdstub/mcd_shared_defines.h"
+#include "mcdstub/mcdstub.h"
/* architecture specific stubs */
-#include "target/arm/mcdstub.h"
+#include "mcdstub/arm_mcdstub.h"
typedef struct {
CharBackend chr;
diff --git a/target/arm/mcdstub.c b/target/arm/mcdstub.c
index 6c98c34673..1b82b9d439 100644
--- a/target/arm/mcdstub.c
+++ b/target/arm/mcdstub.c
@@ -4,7 +4,8 @@
#include "sysemu/tcg.h"
#include "internals.h"
#include "cpregs.h"
-#include "mcdstub.h"
+
+#include "mcdstub/arm_mcdstub.h"
static inline int mcd_get_reg32(GByteArray *buf, uint32_t val)
{
--
2.34.1
- [PATCH v2 15/29] adapting to the qemu coding style, (continued)
- [PATCH v2 15/29] adapting to the qemu coding style, Nicolas Eder, 2023/10/06
- [PATCH v2 18/29] making step and go handlers core-specific, Nicolas Eder, 2023/10/06
- [PATCH v2 14/29] handler for single step added, Nicolas Eder, 2023/10/06
- [PATCH v2 13/29] handler for reading memory added, Nicolas Eder, 2023/10/06
- [PATCH v2 17/29] handler for breakpoints and watchpoints added, Nicolas Eder, 2023/10/06
- [PATCH v2 24/29] step and go handlers now propperly perform global operations, Nicolas Eder, 2023/10/06
- [PATCH v2 19/29] adding trigger ID handling for TRACE32, Nicolas Eder, 2023/10/06
- [PATCH v2 22/29] transitioning to unsinged integers in TCP packets and removing MCD-API-specific terms, Nicolas Eder, 2023/10/06
- [PATCH v2 21/29] switching between secure and non-secure memory added, Nicolas Eder, 2023/10/06
- [PATCH v2 23/29] moved all ARM code to the ARM mcdstub and added now commom header file, Nicolas Eder, 2023/10/06
- [PATCH v2 26/29] moved all mcd related header files into include/mcdstub,
Nicolas Eder <=
- [PATCH v2 25/29] Doxygen documentation added, Nicolas Eder, 2023/10/06
- [PATCH v2 20/29] cp register read/write added, Nicolas Eder, 2023/10/06
- [PATCH v2 28/29] added description to out-commented gdb function, Nicolas Eder, 2023/10/06
- [PATCH v2 29/29] introducing the DebugClass. It is used to abstract the gdb/mcd set_stop_cpu function., Nicolas Eder, 2023/10/06
- [PATCH v2 27/29] MCD stub entry added to maintainers file, Nicolas Eder, 2023/10/06
- Re: [PATCH v2 00/29] first version of mcdstub, Philippe Mathieu-Daudé, 2023/10/06
- Re: [PATCH v2 00/29] first version of mcdstub, Alex Bennée, 2023/10/13