qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

linux-user: Add some hppa ioctls

Add F_GETLK, F_SETLK, F_SETLKW, F_GETOWN, F_SETOWN, F_SETSIG, F_GETSIG,
F_GETLK64, F_SETLK64 and F_SETLKW64 for hppa.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>

authored by

Helge Deller and committed by
Richard Henderson
b5c375e2 fe8ed7d5

+15
+15
linux-user/syscall_defs.h
··· 2199 2199 #define TARGET_F_SETLKW 7 2200 2200 #define TARGET_F_SETOWN 24 /* for sockets. */ 2201 2201 #define TARGET_F_GETOWN 23 /* for sockets. */ 2202 + #elif defined(TARGET_HPPA) 2203 + #define TARGET_F_GETLK 5 2204 + #define TARGET_F_SETLK 6 2205 + #define TARGET_F_SETLKW 7 2206 + #define TARGET_F_GETOWN 11 /* for sockets. */ 2207 + #define TARGET_F_SETOWN 12 /* for sockets. */ 2202 2208 #else 2203 2209 #define TARGET_F_GETLK 5 2204 2210 #define TARGET_F_SETLK 6 ··· 2221 2227 #endif 2222 2228 2223 2229 2230 + #if defined(TARGET_HPPA) 2231 + #define TARGET_F_SETSIG 13 /* for sockets. */ 2232 + #define TARGET_F_GETSIG 14 /* for sockets. */ 2233 + #else 2224 2234 #define TARGET_F_SETSIG 10 /* for sockets. */ 2225 2235 #define TARGET_F_GETSIG 11 /* for sockets. */ 2236 + #endif 2226 2237 2227 2238 #if defined(TARGET_MIPS) 2228 2239 #define TARGET_F_GETLK64 33 /* using 'struct flock64' */ 2229 2240 #define TARGET_F_SETLK64 34 2230 2241 #define TARGET_F_SETLKW64 35 2242 + #elif defined(TARGET_HPPA) 2243 + #define TARGET_F_GETLK64 8 /* using 'struct flock64' */ 2244 + #define TARGET_F_SETLK64 9 2245 + #define TARGET_F_SETLKW64 10 2231 2246 #else 2232 2247 #define TARGET_F_GETLK64 12 /* using 'struct flock64' */ 2233 2248 #define TARGET_F_SETLK64 13