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