Changeset 564
- Timestamp:
- May 18, 2015, 6:48:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_boot/boot.c
r557 r564 927 927 unsigned int slot; 928 928 unsigned int entry; 929 unsigned int type; 930 unsigned int channel; 929 931 930 932 mapping_header_t* header = (mapping_header_t *)SEG_BOOT_MAPPING_BASE; … … 944 946 psched = _schedulers[cx][cy][lpid]; 945 947 946 _printf("\n[BOOT] schedulerfor proc[%d,%d,%d]\n",948 _printf("\n[BOOT] interrupt vectors for proc[%d,%d,%d]\n", 947 949 cx , cy , lpid ); 948 950 949 951 for ( slot = 0 ; slot < 32 ; slot++ ) 950 952 { 951 entry = psched->hwi_vector[slot]; 952 if ( (entry & 0xFFFF) != 0 ) 953 _printf(" - HWI %d / isrtype = %d / channel = %d\n", 954 slot , (entry & 0xFFFF) , ((entry >> 16) & 0x7FFF) ); 953 entry = psched->hwi_vector[slot]; 954 type = entry & 0xFFFF; 955 channel = entry >> 16; 956 if ( type != ISR_DEFAULT ) 957 _printf(" - HWI : index = %d / type = %s / channel = %d\n", 958 slot , _isr_type_str[type] , channel ); 955 959 } 956 960 for ( slot = 0 ; slot < 32 ; slot++ ) 957 961 { 958 entry = psched->wti_vector[slot]; 959 if ( (entry & 0xFFFF) != 0 ) 960 _printf(" - WTI %d / isrtype = %d / channel = %d\n", 961 slot , (entry & 0xFFFF) , ((entry >> 16) & 0x7FFF) ); 962 entry = psched->wti_vector[slot]; 963 type = entry & 0xFFFF; 964 channel = entry >> 16; 965 if ( type != ISR_DEFAULT ) 966 _printf(" - WTI : index = %d / type = %s / channel = %d\n", 967 slot , _isr_type_str[type] , channel ); 962 968 } 963 969 for ( slot = 0 ; slot < 32 ; slot++ ) 964 970 { 965 entry = psched->pti_vector[slot]; 966 if ( (entry & 0xFFFF) != 0 ) 967 _printf(" - PTI %d / isrtype = %d / channel = %d\n", 968 slot , (entry & 0xFFFF) , ((entry >> 16) & 0x7FFF) ); 971 entry = psched->pti_vector[slot]; 972 type = entry & 0xFFFF; 973 channel = entry >> 16; 974 if ( type != ISR_DEFAULT ) 975 _printf(" - PTI : index = %d / type = %s / channel = %d\n", 976 slot , _isr_type_str[type] , channel ); 969 977 } 970 978 }
Note: See TracChangeset
for help on using the changeset viewer.