Ignore:
Timestamp:
Jan 2, 2016, 5:52:10 PM (9 years ago)
Author:
alain
Message:

Cosmetic.

Location:
soft/giet_vm/giet_common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_common/pmem.c

    r455 r752  
    1515///////////////////////////////////////////////////////////////////////////////////
    1616
    17 extern pmem_alloc_t boot_pmem_alloc[X_SIZE][Y_SIZE];
     17extern pmem_alloc_t _boot_pmem_alloc[X_SIZE][Y_SIZE];
    1818
    1919////////////////////////////////////////
     
    3333    }
    3434
    35     pmem_alloc_t* p       = &boot_pmem_alloc[x][y];
     35    pmem_alloc_t* p       = &_boot_pmem_alloc[x][y];
    3636
    3737    unsigned int  bppi_min = base >> 21;
  • soft/giet_vm/giet_common/vmem.c

    r751 r752  
    265265    }
    266266
    267     // get ptd in PT1
    268     paddr_t ptd_paddr = pt2_pbase + 4 * ix1;
    269     unsigned int ptd = _physical_read( ptd_paddr );
    270 
    271     // check ptd valid
    272     if ((ptd & PTE_V) == 0)   
     267    // get pte1 in PT1
     268    paddr_t pte1_paddr = pt1_pbase + 4 * ix1;
     269    unsigned int pte1 = _physical_read( pte1_paddr );
     270
     271    // check pte1 valid
     272    if ((pte1 & PTE_V) == 0)   
    273273    {
    274274        _printf("\n[GIET ERROR] in _v2p_del_pte1() : vpn %x not mapped in PT1"
     
    277277    }
    278278
    279     // invalidate PTD in PT1
    280     _physical_write( ptd_paddr , 0 );
     279    // invalidate PTE1 in PT1
     280    _physical_write( pte1_paddr , 0 );
    281281
    282282}   // end _v2p_del_pte1()
Note: See TracChangeset for help on using the changeset viewer.