commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
13 lines
322 B
C
13 lines
322 B
C
#ifndef MODULES_COMMON_INCLUDE_DEVMEM_H_
|
|
#define MODULES_COMMON_INCLUDE_DEVMEM_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_
|