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