Changeset 567 for trunk/kernel/mm/vseg.h
- Timestamp:
- Oct 5, 2018, 12:01:52 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/vseg.h
r503 r567 28 28 29 29 #include <hal_kernel_types.h> 30 #include <spinlock.h>31 30 #include <vfs.h> 32 31 … … 145 144 xptr_t ref_xp ); 146 145 147 /*******************************************************************************************148 * This function adds a vseg descriptor in the set of vsegs controlled by a given VMM,149 * and updates the vmm field in the vseg descriptor.150 * The lock protecting the vsegs list in VMM must be taken by the caller.151 *******************************************************************************************152 * @ vmm : pointer on the VMM153 * @ vseg : pointer on the vseg descriptor154 ******************************************************************************************/155 void vseg_attach( struct vmm_s * vmm,156 vseg_t * vseg );157 158 /*******************************************************************************************159 * This function removes a vseg descriptor from the set of vsegs controlled by a given VMM,160 * and updates the vmm field in the vseg descriptor. No memory is released.161 * The lock protecting the vsegs list in VMM must be taken by the caller.162 *******************************************************************************************163 * @ vseg : pointer on the vseg descriptor164 ******************************************************************************************/165 void vseg_detach( vseg_t * vseg );166 167 146 168 147 #endif /* _VSEG_H_ */
Note: See TracChangeset
for help on using the changeset viewer.