/* auto-generated by gen_syscalls.py, don't edit */
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
#pragma GCC diagnostic push
#endif
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
#include <syscalls/ipm.h>

extern int z_vrfy_ipm_send(struct device * ipmdev, int wait, u32_t id, const void * data, int size);
uintptr_t z_mrsh_ipm_send(uintptr_t arg0, uintptr_t arg1, uintptr_t arg2,
		uintptr_t arg3, uintptr_t arg4, uintptr_t arg5, void *ssf)
{
	_current->syscall_frame = ssf;
	(void) arg5;	/* unused */
	int ret = z_vrfy_ipm_send(*(struct device **)&arg0, *(int*)&arg1, *(u32_t*)&arg2, *(const void **)&arg3, *(int*)&arg4)
;
	return (uintptr_t) ret;
}

#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
#pragma GCC diagnostic pop
#endif
