]> git.proxmox.com Git - mirror_qemu.git/commit
semihosting: Rename softmmu_FOO_user() -> uaccess_FOO_user()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 4 Oct 2023 09:06:23 +0000 (11:06 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 Oct 2023 17:02:59 +0000 (19:02 +0200)
commitf14eced5ac9ae2db10a661e0fdef52a2f0316699
tree5ee3a65d1efbda5b4db0b26999d11ebd9478a55e
parent3f7d1bdab0e98190245394875acf0d6d04b5de5b
semihosting: Rename softmmu_FOO_user() -> uaccess_FOO_user()

Add a check in 'softmmu-uaccess.h' that the header is only
include in system emulation, and rename it as 'uaccess.h'.

Rename the API methods:

  - softmmu_[un]lock_user*() -> uaccess_[un]lock_user*()
  - softmmu_strlen_user() -> uaccess_strlen_user().

Update a pair of comments.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-9-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/semihosting/softmmu-uaccess.h [deleted file]
include/semihosting/uaccess.h [new file with mode: 0644]
semihosting/arm-compat-semi.c
semihosting/config.c
semihosting/guestfd.c
semihosting/syscalls.c
semihosting/uaccess.c
stubs/semihost.c
target/m68k/m68k-semi.c
target/mips/tcg/sysemu/mips-semi.c
target/nios2/nios2-semi.c