1 /* 2 * Copyright (c) 2017, Xilinx Inc. and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /* 8 * @file linux/io.h 9 * @brief Linux specific io definitions. 10 */ 11 12 #ifndef __METAL_IO__H__ 13 #error "Include metal/io.h instead of metal/linux/io.h" 14 #endif 15 16 #ifndef __METAL_LINUX_IO__H__ 17 #define __METAL_LINUX_IO__H__ 18 19 #include <stdlib.h> 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 #ifdef METAL_INTERNAL 26 27 #define metal_sys_io_mem_map(...) 28 29 #endif 30 31 #ifdef __cplusplus 32 } 33 #endif 34 35 #endif /* __METAL_LINUX_IO__H__ */ 36