diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-10-17 14:09:58 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-11-06 18:49:34 -0800 |
commit | 0c01f9ba2df42cef26596f5fa0ff5e741fb3c37f (patch) | |
tree | a99b271fb39f39a6270701e0b596f71d6258bbe8 /linux-user/hppa/signal.c | |
parent | 59963d8fdf42244b8688b60b778a6209a1359fc2 (diff) | |
download | qemu-0c01f9ba2df42cef26596f5fa0ff5e741fb3c37f.zip qemu-0c01f9ba2df42cef26596f5fa0ff5e741fb3c37f.tar.gz qemu-0c01f9ba2df42cef26596f5fa0ff5e741fb3c37f.tar.bz2 |
linux-user/hppa: Fixes for TARGET_ABI32
Avoid target_ulong and use abi_* types.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/hppa/signal.c')
-rw-r--r-- | linux-user/hppa/signal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-user/hppa/signal.c b/linux-user/hppa/signal.c index 17920e9..d08a97d 100644 --- a/linux-user/hppa/signal.c +++ b/linux-user/hppa/signal.c @@ -86,7 +86,7 @@ static void setup_sigcontext(struct target_sigcontext *sc, CPUArchState *env) static void restore_sigcontext(CPUArchState *env, struct target_sigcontext *sc) { - target_ulong psw; + abi_ulong psw; int i; __get_user(psw, &sc->sc_gr[0]); @@ -150,10 +150,10 @@ void setup_rt_frame(int sig, struct target_sigaction *ka, haddr = ka->_sa_handler; if (haddr & 2) { /* Function descriptor. */ - target_ulong *fdesc, dest; + abi_ptr *fdesc, dest; haddr &= -4; - fdesc = lock_user(VERIFY_READ, haddr, 2 * sizeof(target_ulong), 1); + fdesc = lock_user(VERIFY_READ, haddr, 2 * sizeof(abi_ptr), 1); if (!fdesc) { goto give_sigsegv; } |