aboutsummaryrefslogtreecommitdiff
path: root/hw/sd/sdmmc-internal.c
diff options
context:
space:
mode:
authorFilip Bozuta <Filip.Bozuta@syrmia.com>2020-08-24 21:37:52 +0200
committerLaurent Vivier <laurent@vivier.eu>2020-08-27 12:29:51 +0200
commitd107e375738756b0603ce0dcb5ca460966783909 (patch)
tree6a9ad37ecfbfb9c25c4d58637f5898afd2aa66cc /hw/sd/sdmmc-internal.c
parent00576757893aa63d221418a1d05c08ed10f94c09 (diff)
downloadqemu-d107e375738756b0603ce0dcb5ca460966783909.zip
qemu-d107e375738756b0603ce0dcb5ca460966783909.tar.gz
qemu-d107e375738756b0603ce0dcb5ca460966783909.tar.bz2
linux-user: Add support for 'mq_timedsend_time64()' and 'mq_timedreceive_time64()'
This patch implements functionality for following time64 syscalls: *mq_timedsend_time64() This is a year 2038 safe vairant of syscall: int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout) --send a message to a message queue-- man page: https://www.man7.org/linux/man-pages/man2/mq_timedsend.2.html *mq_timedreceive_time64() This is a year 2038 safe variant of syscall: ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned int *msg_prio, const struct timespec *abs_timeout) --receive a message from a message queue-- man page: https://man7.org/linux/man-pages/man3/mq_receive.3.html Implementation notes: These syscalls were implemented in similar ways like 'mq_timedsend()' and 'mq_timedreceive' except that functions 'target_to_host_timespec64()' and 'host_to_target_timespec64()' were used to convert values of 'struct timespec' between host and target. Signed-off-by: Filip Bozuta <Filip.Bozuta@syrmia.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20200824193752.67950-3-Filip.Bozuta@syrmia.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/sd/sdmmc-internal.c')
0 files changed, 0 insertions, 0 deletions