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 mlockall(int flags)14int mlockall(int flags) 15 { 16 ARG_UNUSED(flags); 17 18 errno = ENOSYS; 19 return -1; 20 } 21 munlockall(void)22int munlockall(void) 23 { 24 errno = ENOSYS; 25 return -1; 26 } 27