added files to manage uncached driver memory
This commit is contained in:
12
BaS_gcc/include/driver_mem.h
Normal file
12
BaS_gcc/include/driver_mem.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _DRIVER_MEM_H_
|
||||
#define _DRIVER_MEM_H_
|
||||
|
||||
/*
|
||||
* the driver_mem module provides a block of _uncached_ memory for USB and other drivers as
|
||||
* well as some memory handling functions for it
|
||||
*/
|
||||
extern int driver_mem_init(void);
|
||||
extern void *driver_mem_alloc(long amount);
|
||||
extern int driver_mem_free(void *addr);
|
||||
|
||||
#endif /* _DRIVER_MEM_H_ */
|
||||
Reference in New Issue
Block a user