Changeset 490 for trunk/kernel


Ignore:
Timestamp:
Aug 22, 2018, 9:17:22 PM (6 years ago)
Author:
viala@…
Message:

Minor: Add extern prototype for kernel_init function.

Also I add documentation from where this function is called.

Gcc warning fixed:
`
kern/kernel_init.c: At top level:
kern/kernel_init.c:744:6: warning: no previous declaration for 'kernel_init'
[-Wmissing-declarations]

void kernel_init( boot_info_t * info )


`

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/kernel_init.c

    r457 r490  
    120120vfs_ctx_t            fs_context[FS_TYPES_NR]                 CONFIG_CACHE_LINE_ALIGNED;
    121121
     122// kernel_init is the entry point defined in hal/tsar_mips32/kernel.ld
     123// It will be used by the bootloader.
     124extern void kernel_init( boot_info_t * info );
    122125
    123126// these debug variables are used to analyse the sys_read() syscall timing
Note: See TracChangeset for help on using the changeset viewer.