source: soft/giet_vm/giet_drivers/rdk_driver.h @ 313

Last change on this file since 313 was 298, checked in by alain, 10 years ago

Introducing pic driver and rdk driver

File size: 1.3 KB
Line 
1///////////////////////////////////////////////////////////////////////////////////
2// File      : rdk_driver.h
3// Date      : 13/02/2014
4// Author    : alain greiner
5// Copyright (c) UPMC-LIP6
6///////////////////////////////////////////////////////////////////////////////////
7
8#ifndef _GIET_RDK_DRIVERS_H_
9#define _GIET_RDK_DRIVERS_H_
10
11#include <mapping_info.h>
12
13///////////////////////////////////////////////////////////////////////////////////
14// BDV access functions and variables (vci_block_device)
15///////////////////////////////////////////////////////////////////////////////////
16
17extern unsigned int _rdk_init();
18
19extern unsigned int _rdk_write( unsigned int lba, 
20                                unsigned int buffer, 
21                                unsigned int count );
22
23extern unsigned int _rdk_read(  unsigned int lba, 
24                                unsigned int buffer,
25                                unsigned int count );
26
27extern unsigned int _rdk_get_block_size();
28
29///////////////////////////////////////////////////////////////////////////////////
30
31#endif
32
33// Local Variables:
34// tab-width: 4
35// c-basic-offset: 4
36// c-file-offsets:((innamespace . 0)(inline-open . 0))
37// indent-tabs-mode: nil
38// End:
39// vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
40
Note: See TracBrowser for help on using the repository browser.