mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
bsd-user: Add function declarations for bsd-misc.c conversions
Add function declarations for BSD System V IPC and UUID conversion routines that will be implemented in bsd-misc.c. Signed-off-by: Stacey Son <sson@FreeBSD.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
This commit is contained in:
@@ -54,4 +54,19 @@ abi_long target_to_host_shmid_ds(struct shmid_ds *host_sd,
|
||||
abi_long host_to_target_shmid_ds(abi_ulong target_addr,
|
||||
struct shmid_ds *host_sd);
|
||||
|
||||
/* bsd-misc.c */
|
||||
abi_long host_to_target_uuid(abi_ulong target_addr, struct uuid *host_uuid);
|
||||
abi_long target_to_host_semarray(int semid, unsigned short **host_array,
|
||||
abi_ulong target_addr);
|
||||
abi_long host_to_target_semarray(int semid, abi_ulong target_addr,
|
||||
unsigned short **host_array);
|
||||
abi_long target_to_host_semid_ds(struct semid_ds *host_sd,
|
||||
abi_ulong target_addr);
|
||||
abi_long host_to_target_semid_ds(abi_ulong target_addr,
|
||||
struct semid_ds *host_sd);
|
||||
abi_long target_to_host_msqid_ds(struct msqid_ds *host_md,
|
||||
abi_ulong target_addr);
|
||||
abi_long host_to_target_msqid_ds(abi_ulong target_addr,
|
||||
struct msqid_ds *host_md);
|
||||
|
||||
#endif /* QEMU_BSD_H */
|
||||
|
||||
Reference in New Issue
Block a user