1 /* 2 * Copyright (c) 2018, Pinecone Inc. and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /* 8 * @file nuttx/shmem.c 9 * @brief NuttX libmetal shared memory handling. 10 */ 11 12 #include <metal/shmem.h> 13 metal_shmem_open(const char * name,size_t size,struct metal_io_region ** io)14int metal_shmem_open(const char *name, size_t size, 15 struct metal_io_region **io) 16 { 17 return metal_shmem_open_generic(name, size, io); 18 } 19