Changeset 283 for branch/giet_vm_ioc_drivers/giet_boot
- Timestamp:
- Jan 31, 2014, 11:35:57 AM (11 years ago)
- Location:
- branch
- Files:
-
- 1 added
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branch/giet_vm_ioc_drivers/giet_boot/boot.c
r276 r283 1561 1561 void boot_mapping_init() 1562 1562 { 1563 // Initializing the FAT descriptor and files descriptor array 1564 if ( _fat_init( IOC_BOOT_PA_MODE ) ) 1565 { 1566 _puts("[BOOT ERROR] Cannot initialize FAT descriptor fom Boot Sector\n"); 1567 _exit(); 1568 } 1569 1570 #if BOOT_DEBUG_MAPPING 1571 _puts("\n[BOOT] FAT initialisation completed at cycle "); 1572 _putd(_get_proctime()); 1573 _puts("\n"); 1574 _fat_print(); 1575 #endif 1563 _ioc_init( 0 ); 1576 1564 1577 1565 int fd_id = _fat_open( IOC_BOOT_PA_MODE, … … 1927 1915 case PERIPH_TYPE_IOC: // vci_block_device component 1928 1916 { 1929 _ioc_init(); 1917 // initialize all channels except channel 0 because it has been 1918 // initialize during mapping_info loading 1919 for (channel_id = 1; channel_id < channels; channel_id++) 1920 { 1921 _ioc_init( channel_id ); 1922 } 1930 1923 #if BOOT_DEBUG_PERI 1931 1924 _puts("- IOC / channels = "); … … 1953 1946 #if BOOT_DEBUG_PERI 1954 1947 _puts("- FBF / channels = "); 1955 _putd(channels);1956 _puts("\n");1957 #endif1958 break;1959 }1960 case PERIPH_TYPE_HBA: // vci_multi_ahci component1961 {1962 for (channel_id = 0; channel_id < channels; channel_id++)1963 {1964 // TODO1965 }1966 #if BOOT_DEBUG_PERI1967 _puts("- HBA / channels = ");1968 1948 _putd(channels); 1969 1949 _puts("\n");
Note: See TracChangeset
for help on using the changeset viewer.