source: GPL/include/linux/vmalloc.h@ 1

Last change on this file since 1 was 1, checked in by vladest, 20 years ago

initial import

File size: 608 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/pgtable.h>
8
9struct vm_struct {
10 unsigned long flags;
11 void * addr;
12 unsigned long size;
13 struct vm_struct * next;
14};
15
16struct vm_struct * get_vm_area(unsigned long size);
17void *vmalloc(unsigned long size);
18void vfree(void *ptr);
19long vread(char *buf, char *addr, unsigned long count);
20void vmfree_area_pages(unsigned long address, unsigned long size);
21int vmalloc_area_pages(unsigned long address, unsigned long size);
22
23extern struct vm_struct * vmlist;
24#endif
25
Note: See TracBrowser for help on using the repository browser.