Ignore:
Timestamp:
Dec 4, 2013, 7:59:21 PM (11 years ago)
Author:
alain
Message:

Modify the name "boot" to "reset" to avoid confusion
between the pre-loader and the boot-loader...
Increase the size of the segment containing the stacks.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/include/reset_utils.h

    r570 r586  
    1 /**
    2  * \file    : boot_utils.h
     1/*
     2 * \file    : reset_utils.h
    33 * \date    : August 2012
    44 * \author  : Cesar Fuguet
    5  *
    6  * Definition of some miscellaneous functions used by the
    7  * pre-loader
    85 */
    96
     
    129
    1310#include <elf-types.h>
    14 #include <boot_tty.h>
     11#include <reset_tty.h>
    1512
    16 /**
    17  * memcpy( _dst, _src, size )
    18  *
    19  * Transfer data between to memory buffers.
    20  *
    21  * \param _dst   : Destination buffer base address
    22  * \param _src   : Source buffer base address
    23  * \param size   : Number of bytes to transfer
    24  *
    25  */
    26 void * memcpy(void *_dst, const void *_src, unsigned int size);
     13extern unsigned int proctime();
    2714
    28 /**
    29  * memset( _dst, value, size )
    30  *
    31  * Initialize memory buffers with predefined value.
    32  *
    33  * \param _dst   : Destination buffer base address
    34  * \param value  : Initialization value
    35  * \param size   : Number of bytes to initialize
    36  *
    37  */
    38 void * memset(void *_dst, const int value, unsigned int size);
     15extern void* memcpy(void *_dst, const void *_src, unsigned int size);
    3916
    40 /******************************************************************************
    41  * Misc functions for the ELF
    42  *****************************************************************************/
     17extern void* memset(void *_dst, const int value, unsigned int size);
    4318
    44 /**
    45  * boot_print_elf_phdr( elf_phdr_ptr )
    46  *
    47  * Print some fields of a ELF program header
    48  *
    49  * \param elf_phdr_ptr : Pointer to the ELF program header to print
    50  *
    51  */
    52 void boot_print_elf_phdr(Elf32_Phdr * elf_phdr_ptr);
     19extern void reset_print_elf_phdr(Elf32_Phdr * elf_phdr_ptr);
    5320
    5421#endif
Note: See TracChangeset for help on using the changeset viewer.