blob: 6c795e3b96339768ecfb8a4ae72000c8c3be6b3c [file] [log] [blame]
/*
* Copyright (c) 2024, Tenstorrent AI ULC
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <errno.h>
#include <stddef.h>
#include <sys/types.h>
#include <zephyr/posix/sys/mman.h>
#include <zephyr/toolchain.h>
int mprotect(void *addr, size_t len, int prot)
{
ARG_UNUSED(addr);
ARG_UNUSED(len);
ARG_UNUSED(prot);
errno = ENOSYS;
return -1;
}