/drivers/include/linux/kernel.h |
---|
203,7 → 203,14 |
typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; |
struct file {}; |
struct file |
{ |
struct page **pages; /* physical memory backend */ |
unsigned int count; |
unsigned int allocated; |
void *vma; |
}; |
struct vm_area_struct {}; |
struct address_space {}; |
/drivers/include/linux/mm.h |
---|
1,0 → 0,0 |
#ifndef _LINUX_MM_H |
#define _LINUX_MM_H |
#define VM_NORESERVE 0x00200000 |
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) |
#endif |