]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/bsd-mem.h
Merge tag 'misc-cpus-20231107' of https://github.com/philmd/qemu into staging
[mirror_qemu.git] / bsd-user / bsd-mem.h
index c512a4e3756981ac787b470950fb6abfe65847b6..c3e72e3b866e1a5b97a73e726ea526ae20652ecd 100644 (file)
@@ -431,4 +431,22 @@ static inline abi_long do_bsd_shmdt(abi_ulong shmaddr)
     return ret;
 }
 
+static inline abi_long do_bsd_vadvise(void)
+{
+    /* See sys_ovadvise() in vm_unix.c */
+    return -TARGET_EINVAL;
+}
+
+static inline abi_long do_bsd_sbrk(void)
+{
+    /* see sys_sbrk() in vm_mmap.c */
+    return -TARGET_EOPNOTSUPP;
+}
+
+static inline abi_long do_bsd_sstk(void)
+{
+    /* see sys_sstk() in vm_mmap.c */
+    return -TARGET_EOPNOTSUPP;
+}
+
 #endif /* BSD_USER_BSD_MEM_H */