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

Last change on this file since 870 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
Line 
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 */
11#ifndef RESET_IOC_H
12#define RESET_IOC_H
13
14int reset_ioc_init();
15
16int reset_ioc_read( unsigned int lba, void* buffer, unsigned int count );
17
18#endif /* RESET_IOC_H */
19
20/*
21 * vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab
22 */
Note: See TracBrowser for help on using the repository browser.