Changeset 416 for trunk/kernel/mm


Ignore:
Timestamp:
Jan 4, 2018, 10:05:47 AM (4 years ago)
Author:
alain
Message:

Improve sys_exec.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/vmm.c

    r415 r416  
    565565        vseg_t * vseg;
    566566
     567vmm_dmsg("\n[DBG] %s : core[%x,%d] enter\n",
     568__FUNCTION__ , local_cxy , CURRENT_THREAD->core->lid );
     569
    567570    // get pointer on VMM
    568571    vmm_t  * vmm = &process->vmm;
    569 
    570 // @@@
    571 vmm_display( process , true );
    572 // @@@
    573572
    574573    // get extended pointer on VSL root and VSL lock
     
    586585        vseg = (vseg_t *)GET_PTR( vseg_xp );
    587586
    588 printk("\n@@@ %s : vseg %s\n", __FUNCTION__ , vseg_type_str( vseg->type ) );
    589 
    590587        // unmap and release all pages
    591588        vmm_unmap_vseg( process , vseg );
     
    615612    // release memory allocated to the GPT itself
    616613    hal_gpt_destroy( &vmm->gpt );
     614
     615vmm_dmsg("\n[DBG] %s : core[%x,%d] exit\n",
     616__FUNCTION__ , local_cxy , CURRENT_THREAD->core->lid );
    617617
    618618}  // end vmm_destroy()
Note: See TracChangeset for help on using the changeset viewer.