add nocache for mmap. usage: void *va = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS | 0x40, -1, 0);
This commit is contained in:
committed by
Masamichi Takagi m-takagi@ab.jp.nec.com
parent
06003ec2e2
commit
31098d3d75
@@ -103,6 +103,12 @@ unsigned long extend_process_region(struct process *proc,
|
||||
unsigned long start, unsigned long end,
|
||||
unsigned long address);
|
||||
|
||||
#ifdef USE_NOCACHE_MMAP
|
||||
unsigned long extend_process_nocache_region(struct process *proc,
|
||||
unsigned long start, unsigned long end,
|
||||
unsigned long address);
|
||||
#endif
|
||||
|
||||
void schedule(void);
|
||||
void runq_add_proc(struct process *proc, int cpu_id);
|
||||
void runq_del_proc(struct process *proc, int cpu_id);
|
||||
|
||||
Reference in New Issue
Block a user