Changeset 473 for trunk/kernel/mm/vmm.c
- Timestamp:
- Aug 21, 2018, 6:01:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/vmm.c
r469 r473 718 718 719 719 // remove vseg from VSL 720 vseg_detach( v mm , vseg );720 vseg_detach( vseg ); 721 721 722 722 // release memory allocated to vseg descriptor … … 747 747 __FUNCTION__ , vseg_type_str( vseg->type ), vseg->vpn_base, vseg->vpn_size ); 748 748 #endif 749 vseg_detach( v mm , vseg );749 vseg_detach( vseg ); 750 750 vseg_free( vseg ); 751 751 … … 1022 1022 // get pointers on calling process and VMM 1023 1023 thread_t * this = CURRENT_THREAD; 1024 process_t * process = this->process;1025 1024 vmm_t * vmm = &this->process->vmm; 1026 1025 uint32_t type = vseg->type; … … 1029 1028 xptr_t lock_xp = XPTR( local_cxy , &vmm->vsegs_lock ); 1030 1029 remote_rwlock_wr_lock( lock_xp ); 1031 vseg_detach( &process->vmm ,vseg );1030 vseg_detach( vseg ); 1032 1031 remote_rwlock_wr_unlock( lock_xp ); 1033 1032
Note: See TracChangeset
for help on using the changeset viewer.