1 /* 2 * Copyright (c) 2024, Tenstorrent AI ULC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <errno.h> 8 #include <stddef.h> 9 #include <sys/types.h> 10 11 #include <zephyr/posix/sys/mman.h> 12 #include <zephyr/toolchain.h> 13 mprotect(void * addr,size_t len,int prot)14int mprotect(void *addr, size_t len, int prot) 15 { 16 ARG_UNUSED(addr); 17 ARG_UNUSED(len); 18 ARG_UNUSED(prot); 19 20 errno = ENOSYS; 21 return -1; 22 } 23