aboutsummaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorStacey Son <sson@FreeBSD.org>2023-08-13 10:41:36 +0200
committerWarner Losh <imp@bsdimp.com>2023-08-28 12:16:18 -0600
commit584d6fce65bd80335795d80c0e9bf1062ef3c4f6 (patch)
tree0472f95b83a933e6deca07fda1b1c8b22d087806 /bsd-user
parent5aa88f962cac2e93f222c48c92a14d685aaf00e7 (diff)
downloadqemu-584d6fce65bd80335795d80c0e9bf1062ef3c4f6.zip
qemu-584d6fce65bd80335795d80c0e9bf1062ef3c4f6.tar.gz
qemu-584d6fce65bd80335795d80c0e9bf1062ef3c4f6.tar.bz2
bsd-user: Implement target_to_host_fcntl_cmd
Implement the stat conversion functions: target_to_host_fcntl_cmd Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
Diffstat (limited to 'bsd-user')
-rw-r--r--bsd-user/freebsd/os-stat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/bsd-user/freebsd/os-stat.c b/bsd-user/freebsd/os-stat.c
index 9eb01bf..2ce235d 100644
--- a/bsd-user/freebsd/os-stat.c
+++ b/bsd-user/freebsd/os-stat.c
@@ -170,3 +170,11 @@ abi_long h2t_freebsd11_statfs(abi_ulong target_addr,
return 0;
}
+/*
+ * fcntl cmd conversion
+ */
+abi_long target_to_host_fcntl_cmd(int cmd)
+{
+ return cmd;
+}
+