On 7/31/25 4:33 PM, Richard Henderson wrote:
On 7/31/25 08:06, Pierrick Bouvier wrote:
Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
---
   semihosting/arm-compat-semi.c | 24 ++++++++++++------------
   1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/semihosting/arm-compat-semi.c b/semihosting/arm-compat-semi.c
index e5a665d604b..e3b520631b3 100644
--- a/semihosting/arm-compat-semi.c
+++ b/semihosting/arm-compat-semi.c
@@ -123,7 +123,7 @@ GuestFD console_out_gf;
    */
typedef struct LayoutInfo {
-    target_ulong rambase;
+    uint64_t rambase;

vaddr.


@@ -300,9 +300,9 @@ static void common_semi_seek_cb(CPUState *cs, uint64_t ret, 
int err)
    * is defined by GDB's remote protocol and is not target-specific.)
    * We put this on the guest's stack just below SP.
    */
-static target_ulong common_semi_flen_buf(CPUState *cs)
+static uint64_t common_semi_flen_buf(CPUState *cs)
   {
-    target_ulong sp = common_semi_stack_bottom(cs);
+    uint64_t sp = common_semi_stack_bottom(cs);
       return sp - 64;
   }

vaddr.


Will change to it, thanks.

Otherwise,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~


Reply via email to