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 mprotect(void * addr,size_t len,int prot)13int mprotect(void *addr, size_t len, int prot) 14 { 15 ARG_UNUSED(addr); 16 ARG_UNUSED(len); 17 ARG_UNUSED(prot); 18 19 errno = ENOSYS; 20 return -1; 21 } 22