Last change
on this file since 598 was 598, checked in by David Azarewicz, 8 years ago |
Merged/reintegrated v2 branch into trunk. Trunk is now v2
|
File size:
605 bytes
|
Line | |
---|
1 | #ifndef __LINUX_VMALLOC_H
|
---|
2 | #define __LINUX_VMALLOC_H
|
---|
3 |
|
---|
4 | //#include <linux/sched.h>
|
---|
5 | //#include <linux/mm.h>
|
---|
6 |
|
---|
7 | #include <asm/page.h>
|
---|
8 |
|
---|
9 |
|
---|
10 | struct vm_struct {
|
---|
11 | unsigned long flags;
|
---|
12 | void * addr;
|
---|
13 | unsigned long size;
|
---|
14 | struct vm_struct * next;
|
---|
15 | };
|
---|
16 |
|
---|
17 | struct vm_struct * get_vm_area(unsigned long size);
|
---|
18 | void *vmalloc(unsigned long size);
|
---|
19 | void vfree(void *ptr);
|
---|
20 | long vread(char *buf, char *addr, unsigned long count);
|
---|
21 | void vmfree_area_pages(unsigned long address, unsigned long size);
|
---|
22 | int vmalloc_area_pages(unsigned long address, unsigned long size);
|
---|
23 |
|
---|
24 | extern struct vm_struct * vmlist;
|
---|
25 | #endif
|
---|
26 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.