source: sbliveos2/trunk/include/linux/vmalloc.h

Last change on this file was 142, checked in by ktk, 25 years ago

Import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 597 bytes
Line 
1/* $Id: vmalloc.h 142 2000-04-23 14:55:46Z ktk $ */
2
3#ifndef __LINUX_VMALLOC_H
4#define __LINUX_VMALLOC_H
5
6//#include <linux/sched.h>
7//#include <linux/mm.h>
8
9//#include <asm/pgtable.h>
10
11struct vm_struct {
12 unsigned long flags;
13 void * addr;
14 unsigned long size;
15 struct vm_struct * next;
16};
17
18struct vm_struct * get_vm_area(unsigned long size);
19void vfree(void * addr);
20void * vmalloc(unsigned long size);
21long vread(char *buf, char *addr, unsigned long count);
22void vmfree_area_pages(unsigned long address, unsigned long size);
23int vmalloc_area_pages(unsigned long address, unsigned long size);
24
25extern struct vm_struct * vmlist;
26#endif
27
Note: See TracBrowser for help on using the repository browser.