Changeset 752 for soft/giet_vm/giet_common
- Timestamp:
- Jan 2, 2016, 5:52:10 PM (9 years ago)
- Location:
- soft/giet_vm/giet_common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_common/pmem.c
r455 r752 15 15 /////////////////////////////////////////////////////////////////////////////////// 16 16 17 extern pmem_alloc_t boot_pmem_alloc[X_SIZE][Y_SIZE];17 extern pmem_alloc_t _boot_pmem_alloc[X_SIZE][Y_SIZE]; 18 18 19 19 //////////////////////////////////////// … … 33 33 } 34 34 35 pmem_alloc_t* p = & boot_pmem_alloc[x][y];35 pmem_alloc_t* p = &_boot_pmem_alloc[x][y]; 36 36 37 37 unsigned int bppi_min = base >> 21; -
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.