Ignore:
Timestamp:
Dec 4, 2013, 7:59:21 PM (10 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_ioc.h

    r570 r586  
    1 #ifndef BOOT_IOC_H
    2 #define BOOT_IOC_H
     1#ifndef RESET_IOC_H
     2#define RESET_IOC_H
    33
    44#ifndef SOCLIB_IOC
     
    1111
    1212#include <defs.h>
    13 #include <boot_tty.h>
     13#include <reset_tty.h>
    1414#include <io.h>
    1515
    16 /**
    17  * boot_ioc_read()
    18  *
    19  * Transfer data from a file on the block device to a memory buffer.
    20  *
    21  * \param lba    : first block index on the disk
    22  * \param buffer : base address of the memory buffer
    23  * \param count  : number of blocks to be transfered
    24  *
    25  * \note This is a blocking function. The function returns once the transfer
    26  *       has finished
    27  */
    28 int boot_ioc_read(unsigned int lba, void* buffer, unsigned int count);
     16extern int reset_ioc_init();
    2917
    30 /**
    31  * boot_ioc_init()
    32  *
    33  * Initialize the SPI controller use to access a SD card
    34  */
    35 int boot_ioc_init();
     18extern int reset_ioc_read( unsigned int lba,
     19                           void*        buffer,
     20                           unsigned int count );
    3621
    37 /**
    38  * boot_dbuf_invalidate()
    39  *
    40  * Invalidate all data cache lines corresponding to a memory buffer.
    41  */
    42 #if (CACHE_COHERENCE == 0)
    43 void boot_dbuf_invalidate(
    44         const void * buffer,
    45         unsigned int line_size,
    46         unsigned int size);
    47 #endif
     22extern int reset_ioc_completed();
    4823
    49 /**
    50  * boot_ioc_write()
    51  *
    52  * Transfer data from a memory buffer to a file on the block_device.
    53  *
    54  * \param lba    : first block index on the disk
    55  * \param buffer : base address of the memory buffer
    56  * \param count  : number of blocks to be transfered
    57  *
    58  * \note The source buffer must be in user address space.
    59  */
    60 //int boot_ioc_write(unsigned int lba, void* buffer, unsigned int count);
     24extern void reset_buf_invalidate ( const void * buffer,
     25                                   unsigned int line_size,
     26                                   unsigned int size );
    6127
     28extern void reset_mcc_invalidate( const void * buffer,
     29                                  unsigned int size );
    6230#endif
    6331
Note: See TracChangeset for help on using the changeset viewer.