Last change
on this file since 337 was
298,
checked in by alain, 11 years ago
|
Introducing pic driver and rdk driver
|
File size:
1.3 KB
|
Rev | Line | |
---|
[298] | 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 | |
---|
| 17 | extern unsigned int _rdk_init(); |
---|
| 18 | |
---|
| 19 | extern unsigned int _rdk_write( unsigned int lba, |
---|
| 20 | unsigned int buffer, |
---|
| 21 | unsigned int count ); |
---|
| 22 | |
---|
| 23 | extern unsigned int _rdk_read( unsigned int lba, |
---|
| 24 | unsigned int buffer, |
---|
| 25 | unsigned int count ); |
---|
| 26 | |
---|
| 27 | extern 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.