qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 23/49] semihosting: Split out semihost_sys_open


From: Richard Henderson
Subject: Re: [PATCH v3 23/49] semihosting: Split out semihost_sys_open
Date: Tue, 7 Jun 2022 11:23:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 5/23/22 06:30, Peter Maydell wrote:
diff --git a/semihosting/guestfd.c b/semihosting/guestfd.c
index b6405f5663..7ac2e147a8 100644
--- a/semihosting/guestfd.c
+++ b/semihosting/guestfd.c
@@ -11,6 +11,11 @@
  #include "qemu/osdep.h"
  #include "exec/gdbstub.h"
  #include "semihosting/guestfd.h"
+#ifdef CONFIG_USER_ONLY
+#include "qemu.h"
+#else
+#include "semihosting/softmmu-uaccess.h"
+#endif

Does this need to be in this patch, or should it be somewhere else?

The first use of target_strlen is added in this patch, so yes, belongs here.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]