source: cmedia/trunk/Include/Linux/vmalloc.h@ 559

Last change on this file since 559 was 354, checked in by stevenhl, 17 years ago

Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.

File size: 670 bytes
Line 
1/* $Id: vmalloc.h,v 1.1 2000/04/23 14:55:34 ktk Exp $ */
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.