Changeset 679 for trunk/hal/tsar_mips32/core/hal_drivers.c
- Timestamp:
- Nov 20, 2020, 12:30:31 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_drivers.c
r647 r679 62 62 else 63 63 { 64 assert( false, "undefined implementation" );64 assert( __FUNCTION__, false, "undefined implementation" ); 65 65 } 66 66 } … … 75 75 uint32_t impl = pic->impl; 76 76 77 assert( (impl == IMPL_PIC_SCL), "undefined implementation" );77 assert( __FUNCTION__, (impl == IMPL_PIC_SCL), "undefined implementation" ); 78 78 79 79 soclib_pic_init( pic ); … … 99 99 uint32_t impl = iob->impl; 100 100 101 assert( (impl == IMPL_IOB_TSR), "undefined implementation" );101 assert( __FUNCTION__, (impl == IMPL_IOB_TSR), "undefined implementation" ); 102 102 103 103 soclib_iob_init( iob ); … … 135 135 else 136 136 { 137 assert( false , "undefined IOC device implementation" );137 assert( __FUNCTION__, false , "undefined IOC device implementation" ); 138 138 } 139 139 } … … 148 148 uint32_t impl = mmc->impl; 149 149 150 assert( (impl == IMPL_MMC_TSR), "undefined implementation" );150 assert( __FUNCTION__, (impl == IMPL_MMC_TSR), "undefined implementation" ); 151 151 152 152 soclib_mmc_init( mmc ); … … 162 162 uint32_t impl = nic->impl; 163 163 164 assert( (impl == IMPL_NIC_CBF), "undefined implementation" );164 assert( __FUNCTION__, (impl == IMPL_NIC_CBF), "undefined implementation" ); 165 165 166 166 soclib_nic_init( nic ); … … 176 176 uint32_t impl = dma->impl; 177 177 178 assert( (impl == IMPL_DMA_SCL), "undefined implementation" );178 assert( __FUNCTION__, (impl == IMPL_DMA_SCL), "undefined implementation" ); 179 179 180 180 soclib_dma_init( dma ); … … 190 190 uint32_t impl = fbf->impl; 191 191 192 assert( (impl == IMPL_FBF_SCL), "undefined implementation" );192 assert( __FUNCTION__, (impl == IMPL_FBF_SCL), "undefined implementation" ); 193 193 194 194 soclib_fbf_init( fbf );
Note: See TracChangeset
for help on using the changeset viewer.