freertos: release the generic version source code

freertos runs on the second core (small one) of the CPU
This commit is contained in:
carbon
2023-10-19 14:31:43 +08:00
parent e266c53351
commit ca03037500
2166 changed files with 694154 additions and 58149 deletions

View File

@ -0,0 +1,12 @@
#ifndef MODULES_COMMON_INCLUDE_DEVMEM_H_
#define MODULES_COMMON_INCLUDE_DEVMEM_H_
#include "xil_types.h"
//#include <stdint.h>
int devm_open(void);
int devm_open_cached(void);
void devm_close(int fd);
void *devm_map(int fd, uint64_t addr, size_t len);
void devm_unmap(void *virt_addr, size_t len);
#endif // MODULES_COMMON_INCLUDE_DEVMEM_H_