libmetal
io.h
Go to the documentation of this file.
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 freertos/io.h
9  * @brief FreeRTOS specific io definitions.
10  */
11 
12 #ifndef __METAL_IO__H__
13 #error "Include metal/io.h instead of metal/freertos/io.h"
14 #endif
15 
16 #ifndef __METAL_FREEROTS_IO__H__
17 #define __METAL_FREEROTS_IO__H__
18 
19 #include <stdlib.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 #ifdef METAL_INTERNAL
26 
30 void metal_sys_io_mem_map(struct metal_io_region *io);
31 
36  size_t size, unsigned int flags);
37 
38 #endif
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* __METAL_FREEROTS_IO__H__ */
void * metal_machine_io_mem_map(void *va, metal_phys_addr_t pa, size_t size, unsigned int flags)
Definition: sys.c:64
void metal_sys_io_mem_map(struct metal_io_region *io)
Definition: io.c:14
Definition: io.h:68
unsigned long metal_phys_addr_t
Definition: sys.h:29