struct mmap changes

master
forever-learner 2 years ago
parent a0c6239d1e
commit 1ce684cd4c

@ -113,9 +113,11 @@ struct mmap_struct
//映射区域以4096字节为单位 (endaddr-address)%4096=0 每个进程addr起始地址0x2000000 + n*0x1000 //映射区域以4096字节为单位 (endaddr-address)%4096=0 每个进程addr起始地址0x2000000 + n*0x1000
unsigned long address; unsigned long address;
unsigned long endaddr; unsigned long endaddr;
off_t off;
int rw;// int rw;//
int ps;//private or shared int ps;//private or shared
struct mmap_struct *next; struct mmap_struct *next;
struct m_inode *filenode;
int size; int size;
}; };
/* /*

Loading…
Cancel
Save