Changeset 347 for GPL/trunk/include/linux
- Timestamp:
- Apr 21, 2008, 2:46:45 AM (17 years ago)
- Location:
- GPL/trunk/include/linux
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/include/linux/config.h
r32 r347 1 /* $Id: config.h,v 1.1.1.1 2003/07/02 13:57:00 eleph Exp $ */2 1 3 2 #ifndef _LINUX_CONFIG_H 4 3 #define _LINUX_CONFIG_H 5 4 5 /* __user not supported in OpenWatcom */ 6 #ifndef __user 7 #define __user 6 8 #endif 9 10 #endif /* _LINUX_CONFIG_H */ -
GPL/trunk/include/linux/mm.h
r32 r347 135 135 extern unsigned long virt_to_phys(void * address); 136 136 137 extern mem_map_t *virt_to_page(int x);138 139 137 extern void * phys_to_virt(unsigned long address); 140 138 … … 161 159 void (*open)(struct vm_area_struct * area); 162 160 void (*close)(struct vm_area_struct * area); 163 void (*unmap)(struct vm_area_struct *area, unsigned long, size_t);164 void (*protect)(struct vm_area_struct *area, unsigned long, size_t, unsigned int newprot);165 int (*sync)(struct vm_area_struct *area, unsigned long, size_t, unsigned int flags);166 void (*advise)(struct vm_area_struct *area, unsigned long, size_t, unsigned int advise);167 161 struct page * (*nopage)(struct vm_area_struct * area, unsigned long address, int write_access); 168 162 struct page * (*wppage)(struct vm_area_struct * area, unsigned long address, struct page * page); -
GPL/trunk/include/linux/vmalloc.h
r32 r347 6 6 7 7 //#include <asm/pgtable.h> 8 9 /* bits in vm_struct->flags */ 10 #define VM_IOREMAP 0x00000001 /* ioremap() and friends */ 11 #define VM_ALLOC 0x00000002 /* vmalloc() */ 12 #define VM_MAP 0x00000004 /* vmap()ed pages */ 13 #define VM_USERMAP 0x00000008 /* suitable for remap_vmalloc_range */ 14 #define VM_VPAGES 0x00000010 /* buffer for pages was vmalloc'ed */ 15 /* bits [20..32] reserved for arch specific ioremap internals */ 8 16 9 17 struct vm_struct {
Note:
See TracChangeset
for help on using the changeset viewer.