Changeset 625 for trunk/kernel/libk
- Timestamp:
- Apr 10, 2019, 10:09:39 AM (6 years ago)
- Location:
- trunk/kernel/libk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/elf.c
r603 r625 196 196 197 197 #if DEBUG_ELF_LOAD 198 uint32_t cycle = (uint32_t)hal_get_cycles(); 199 if( DEBUG_ELF_LOAD < cycle ) 200 printk("\n[%s] found %s vseg / base %x / size %x\n" 198 uint32_t cycle = (uint32_t)hal_get_cycles(); 199 thread_t * this = CURRENT_THREAD; 200 if( DEBUG_ELF_LOAD < cycle ) 201 printk("\n[%s] thread[%x,%x] found %s vseg / base %x / size %x\n" 201 202 " file_size %x / file_offset %x / mapper_xp %l / cycle %d\n", 202 __FUNCTION__ , vseg_type_str(vseg->type) , vseg->min , vseg->max - vseg->min , 203 __FUNCTION__ , this->process_pid, this->trdid, 204 vseg_type_str(vseg->type) , vseg->min , vseg->max - vseg->min , 203 205 vseg->file_size , vseg->file_offset , vseg->mapper_xp ); 204 206 #endif -
trunk/kernel/libk/elf.h
r457 r625 228 228 229 229 /**************************************************************************************** 230 * This function registers in VMM of the process identified by the <process> argument231 * the CODE and DATA vsegs defined in the .elf openfile descriptor <file_xp>.230 * This function registers in the VSL of the process identified by the <process> 231 * argument the CODE and DATA vsegs defined in the .elf file descriptor <file_xp>. 232 232 * The segments are not loaded in memory. 233 233 * It also registers the process entry point in VMM. -
trunk/kernel/libk/remote_rwlock.c
r623 r625 251 251 thread_t * thread_ptr = GET_PTR( thread_xp ); 252 252 253 printk("\n@@@ in %s : release first waiting writer[%x,%x]\n", 254 __FUNCTION__, thread_cxy, thread_ptr ); 255 253 256 // remove this waiting thread from waiting list 254 257 xlist_unlink( XPTR( thread_cxy , &thread_ptr->wait_xlist ) );
Note: See TracChangeset
for help on using the changeset viewer.