Changeset 474 for trunk/boot/tsar_mips32
- Timestamp:
- Aug 21, 2018, 9:50:01 PM (6 years ago)
- Location:
- trunk/boot/tsar_mips32
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot.c
r457 r474 116 116 // address used by the WTI to activate remote CP0s 117 117 118 extern void boot_entry( ); // boot_loader entry point118 extern void boot_entry( void ); // boot_loader entry point 119 119 120 120 /********************************************************************************* … … 145 145 * This function loads the arch_info.bin file into the boot cluster memory. 146 146 ***********************************************************************************/ 147 static void boot_archinfo_load( )147 static void boot_archinfo_load( void ) 148 148 { 149 149 archinfo_header_t* header = (archinfo_header_t*)ARCHINFO_BASE; … … 179 179 * It set the global variables defining the kernel layout. 180 180 *************************************************************************************/ 181 static void boot_kernel_load( )181 static void boot_kernel_load( void ) 182 182 { 183 183 Elf32_Ehdr * elf_header; // pointer on kernel.elf header. -
trunk/boot/tsar_mips32/boot_bdv_driver.c
r439 r474 66 66 67 67 /////////////////// 68 int boot_bdv_init( )68 int boot_bdv_init( void ) 69 69 { 70 70 // Check block size -
trunk/boot/tsar_mips32/boot_bdv_driver.h
r457 r474 74 74 * @ returns 0 on success, -1 on error. * 75 75 ****************************************************************************/ 76 int boot_bdv_init( );76 int boot_bdv_init( void ); 77 77 78 78 /**************************************************************************** -
trunk/boot/tsar_mips32/boot_fat32.c
r473 r474 145 145 * @ returns 0 on success, -1 on error. * 146 146 ****************************************************************************/ 147 static int set_fsi( )147 static int set_fsi( void ) 148 148 { 149 149 #if DEBUG_BOOT_FAT32 … … 211 211 #if DEBUG_BOOT_FAT32 212 212 213 static void fat32_desc_display( )213 static void fat32_desc_display( void ) 214 214 { 215 215 boot_printf("\n############### FAT32 DESCRIPTOR ####################" … … 774 774 775 775 ///////////////////// 776 int boot_fat32_init( )776 int boot_fat32_init( void ) 777 777 { 778 778 // FAT32 initialization should be done only once -
trunk/boot/tsar_mips32/boot_fat32.h
r457 r474 349 349 * @ returns 0 on success, -1 on error. * 350 350 ****************************************************************************/ 351 int boot_fat32_init( );351 int boot_fat32_init( void ); 352 352 353 353 /**************************************************************************** -
trunk/boot/tsar_mips32/boot_hba_driver.c
r439 r474 81 81 * @ returns command index (0 to 31) / returns -1 if not found * 82 82 ****************************************************************************/ 83 static int boot_hba_cmd_alloc( )83 static int boot_hba_cmd_alloc( void ) 84 84 { 85 85 uint32_t i; … … 129 129 130 130 /////////////////// 131 int boot_hba_init( )131 int boot_hba_init( void ) 132 132 { 133 133 uint64_t cmd_table_addr; // Command Table physical base address -
trunk/boot/tsar_mips32/boot_hba_driver.h
r457 r474 119 119 * @ returns 0 on success, -1 on error. * 120 120 ****************************************************************************/ 121 int boot_hba_init( );121 int boot_hba_init( void ); 122 122 123 123 /**************************************************************************** -
trunk/boot/tsar_mips32/boot_utils.c
r457 r474 504 504 505 505 //////////////// 506 void boot_exit( )506 void boot_exit( void ) 507 507 { 508 508 boot_printf("\n[BOOT PANIC] core %x suicide at cycle %d...\n", … … 514 514 515 515 //////////////////////////// 516 uint32_t boot_get_proctime( )516 uint32_t boot_get_proctime( void ) 517 517 { 518 518 uint32_t res; /* Value stored in the CP0_COUNT register. */ … … 526 526 527 527 ////////////////////////// 528 uint32_t boot_get_procid( )528 uint32_t boot_get_procid( void ) 529 529 { 530 530 uint32_t res; /* Value stored in the CP0_PROCID register. */ -
trunk/boot/tsar_mips32/boot_utils.h
r457 r474 210 210 * boot code detects an error. 211 211 ****************************************************************************/ 212 void boot_exit( ) __attribute__((noreturn));212 void boot_exit( void ) __attribute__((noreturn)); 213 213 214 214 /**************************************************************************** … … 217 217 * @ returns the processor cycle count. 218 218 ****************************************************************************/ 219 uint32_t boot_get_proctime( );219 uint32_t boot_get_proctime( void ); 220 220 221 221 /**************************************************************************** … … 224 224 * @ returns the processor gid 225 225 ****************************************************************************/ 226 uint32_t boot_get_procid( );226 uint32_t boot_get_procid( void ); 227 227 228 228 /****************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.