Changeset 207 for soft/giet_vm/sys/vm_handler.c
- Timestamp:
- Aug 16, 2012, 6:36:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/sys/vm_handler.c
r189 r207 45 45 _puts("\n[GIET ERROR] in iommu_add_pte2 function\n"); 46 46 _puts("the IOMMU PT1 entry is not mapped / ix1 = "); 47 _put w( ix1 );47 _putx( ix1 ); 48 48 _puts("\n"); 49 49 _exit(); … … 76 76 _puts("\n[GIET ERROR] in iommu_inval_pte2 function\n"); 77 77 _puts("the IOMMU PT1 entry is not mapped / ix1 = "); 78 _put w( ix1 );78 _putx( ix1 ); 79 79 _puts("\n"); 80 80 _exit(); … … 105 105 unsigned int ix1 = vpn >> 9; 106 106 unsigned int ix2 = vpn & 0x1FF; 107 107 /* 108 _puts("\n\n********************** entering v2p_translate"); 109 _puts("\n - pt = "); 110 _putx( (unsigned int)pt ); 111 _puts("\n - vpn = "); 112 _putx( vpn << 12 ); 113 _puts("\n - ptba = "); 114 _putx( pt->pt1[ix1] << 12 ) ; 115 _puts("\n - &pte2 = "); 116 _putx( (pt->pt1[ix1] << 12) + 8*ix2 ); 117 _puts("\n - flags = "); 118 _putx( *(unsigned int*)((pt->pt1[ix1] << 12) + 8*ix2) ); 119 _puts("\n"); 120 */ 108 121 // check PTE1 mapping 109 122 if ( (pt->pt1[ix1] & PTE_V) == 0 )
Note: See TracChangeset
for help on using the changeset viewer.