Changeset 429 for trunk/kernel/mm


Ignore:
Timestamp:
Jan 29, 2018, 6:08:40 PM (7 years ago)
Author:
alain
Message:

blap

Location:
trunk/kernel/mm
Files:
4 edited

Legend:

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

    r407 r429  
    268268        if( req->type >= KMEM_TYPES_NR )
    269269        {
    270                 panic("illegal request type");
     270                assert( false , __FUNCTION__ , "illegal request type\n" );
    271271        }
    272272
  • trunk/kernel/mm/vmm.c

    r416 r429  
    191191                  bool_t      mapping )
    192192{
     193    assert( (process->ref_xp == XPTR( local_cxy , process )) , __FUNCTION__,
     194    "this function must be executed in reference cluster" );
     195
    193196    vmm_t * vmm = &process->vmm;
    194197    gpt_t * gpt = &vmm->gpt;
  • trunk/kernel/mm/vmm.h

    r415 r429  
    145145/*********************************************************************************************
    146146 * This function displays on TXY0 the list or registered vsegs for a given <process>.
    147  * If the <mapping> argument is true, it displays for each vesg all mapped PTEs in GPT.
     147 * It must be executed by a thread running in reference cluster.
     148 * If the <mapping> argument is true, it displays for each vseg all mapped PTEs in GPT.
    148149 *********************************************************************************************
    149150 * @ process   : pointer on process descriptor.
  • trunk/kernel/mm/vseg.c

    r408 r429  
    161161    else
    162162    {
    163             panic("illegal vseg type");
     163            assert( false , __FUNCTION__ , "illegal vseg type\n" );
    164164    }
    165165
Note: See TracChangeset for help on using the changeset viewer.