Changeset 406 for trunk/kernel/mm/ppm.c


Ignore:
Timestamp:
Aug 29, 2017, 12:03:37 PM (4 years ago)
Author:
alain
Message:

This version executed successfully the user "init" process on a mono-processor TSAR architecture.

File:
1 edited

Legend:

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

    r315 r406  
    5656    page_t * page_ptr = (page_t *)GET_PTR( page_xp );
    5757
    58     void   * base_ptr = ppm->vaddr_base +
    59                         ((page_ptr - ppm->pages_tbl)<<CONFIG_PPM_PAGE_SHIFT);
    60  
     58   void   * base_ptr = ppm->vaddr_base +
     59                       ((page_ptr - ppm->pages_tbl)<<CONFIG_PPM_PAGE_SHIFT);
     60
    6161        return XPTR( page_cxy , base_ptr );
    6262
     
    203203        assert( (order < CONFIG_PPM_MAX_ORDER) , __FUNCTION__ , "illegal order argument" );
    204204
    205         page_t * block = NULL;
    206 
    207         ppm_dmsg("\n[INFO] %s : enters / order = %d\n",
     205        page_t * block = NULL; 
     206
     207        ppm_dmsg("\n[DMSG] %s : enters / order = %d\n",
    208208                 __FUNCTION__ , order );
    209209
     
    256256        spinlock_unlock( &ppm->free_lock );
    257257
    258         ppm_dmsg("\n[INFO] %s : base = %x / order = %d\n",
     258        ppm_dmsg("\n[DMSG] %s : base = %x / order = %d\n",
    259259                 __FUNCTION__ , (uint32_t)ppm_page2base( block ) , order );
    260260
Note: See TracChangeset for help on using the changeset viewer.