#ifndef __LINUX_VMALLOC_H #define __LINUX_VMALLOC_H #include #include #include struct vm_struct { unsigned long flags; void * addr; unsigned long size; struct vm_struct * next; }; struct vm_struct * get_vm_area(unsigned long size); void vfree(void * addr); void * vmalloc_prot(unsigned long size, pgprot_t prot); void * vmalloc_uncached(unsigned long size); extern void * vmalloc(unsigned long size); long vread(char *buf, char *addr, unsigned long count); void vmfree_area_pages(unsigned long address, unsigned long size); int vmalloc_area_pages(unsigned long address, unsigned long size, pgprot_t prot); #endif