Changeset 752 for soft/giet_vm/giet_common/vmem.c
- Timestamp:
- Jan 2, 2016, 5:52:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_common/vmem.c
r751 r752 265 265 } 266 266 267 // get pt din PT1268 paddr_t pt d_paddr = pt2_pbase + 4 * ix1;269 unsigned int pt d = _physical_read( ptd_paddr );270 271 // check pt dvalid272 if ((pt d& 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) 273 273 { 274 274 _printf("\n[GIET ERROR] in _v2p_del_pte1() : vpn %x not mapped in PT1" … … 277 277 } 278 278 279 // invalidate PT Din PT1280 _physical_write( pt d_paddr , 0 );279 // invalidate PTE1 in PT1 280 _physical_write( pte1_paddr , 0 ); 281 281 282 282 } // end _v2p_del_pte1()
Note: See TracChangeset
for help on using the changeset viewer.