Changeset 315 for trunk/kernel/mm/vseg.h
- Timestamp:
- Aug 3, 2017, 10:15:18 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/vseg.h
r313 r315 81 81 vpn_t vpn_size; /*! number of pages occupied */ 82 82 uint32_t flags; /*! vseg attributes */ 83 xptr_t file_mapper;/*! xptr on remote mapper (for types CODE / DATA / FILE) */84 intptr_t file_offset; /*! offset in file (for types CODE / DATA / FILE)*/85 intptr_t file_size; /*! max segment size in mapper (for type DATA)*/86 cxy_t cxy; /*! cluster for physical mapping (for non distributed)*/83 xptr_t mapper_xp; /*! xptr on remote mapper (for types CODE / DATA / FILE) */ 84 intptr_t file_offset; /*! vseg offset in file (for types CODE/DATA) */ 85 intptr_t file_size; /*! max segment size in mapper (for type CODE/DATA) */ 86 cxy_t cxy; /*! physical mapping (for non distributed vseg) */ 87 87 } 88 88 vseg_t; … … 123 123 * @ type : vseg type. 124 124 * @ cxy : target cluster for physical mapping. 125 * @ fdid : file descriptor index if VSEG_TYPE_FILE.126 * @ offset : offset in file if VSEG_TYPE_FILE.127 125 *********************************************************************************************/ 128 126 void vseg_init( vseg_t * vseg, … … 132 130 vpn_t vpn_size, 133 131 uint32_t type, 134 cxy_t cxy, 135 fdid_t fdid, 136 uint32_t offset ); 132 cxy_t cxy ); 137 133 138 134 /**********************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.