source: trunk/softs/tsar_boot/include/reset_ioc.h @ 781

Last change on this file since 781 was 758, checked in by cfuguet, 10 years ago

tsar_boot: improving configuration infrastructure

  • Using hard_config.h which respects the same sintax that the hard_config.h file of all TSAR platforms. This file can be then generated by the GIET-VM genmap tool or written manually.
  • All peripheral drivers have been moved to a drivers directory and they are compiled as a static library. This allows GCC to only include in the final .ELF the object files of used peripherals and not all of them.
  • Example hard_config.h and ldscripts have been introduced in the conf directory.
  • Improving comments in all files
File size: 518 bytes
RevLine 
[758]1/**
2 * \file   reset_ioc.h
3 * \date   December 14, 2013
4 * \author Cesar Fuguet
5 *
6 * \brief  API for accessing the disk controller
7 *
8 * \note   These functions call the specific disk controller driver depending
9 *         on the USE_IOC_BDV, USE_IOC_SPI or USE_RAMDISK constants
10 */
[586]11#ifndef RESET_IOC_H
12#define RESET_IOC_H
[292]13
[758]14int reset_ioc_init();
[653]15
[758]16int reset_ioc_read( unsigned int lba, void* buffer, unsigned int count );
[292]17
[653]18#endif /* RESET_IOC_H */
[347]19
[292]20/*
[758]21 * vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab
[292]22 */
Note: See TracBrowser for help on using the repository browser.