source:
trunk/softs/tsar_boot/include/reset_ioc.h
@
624
Last change on this file since 624 was 586, checked in by , 11 years ago | |
---|---|
File size: 764 bytes |
Rev | Line | |
---|---|---|
[586] | 1 | #ifndef RESET_IOC_H |
2 | #define RESET_IOC_H | |
[292] | 3 | |
4 | #ifndef SOCLIB_IOC | |
[388] | 5 | #include <sdcard.h> |
6 | #include <spi.h> | |
[292] | 7 | #else |
[388] | 8 | #include <block_device.h> |
[568] | 9 | #include <mcc.h> |
[292] | 10 | #endif |
11 | ||
[347] | 12 | #include <defs.h> |
[586] | 13 | #include <reset_tty.h> |
[292] | 14 | #include <io.h> |
15 | ||
[586] | 16 | extern int reset_ioc_init(); |
[292] | 17 | |
[586] | 18 | extern int reset_ioc_read( unsigned int lba, |
19 | void* buffer, | |
20 | unsigned int count ); | |
[292] | 21 | |
[586] | 22 | extern int reset_ioc_completed(); |
[347] | 23 | |
[586] | 24 | extern void reset_buf_invalidate ( const void * buffer, |
25 | unsigned int line_size, | |
26 | unsigned int size ); | |
[292] | 27 | |
[586] | 28 | extern void reset_mcc_invalidate( const void * buffer, |
29 | unsigned int size ); | |
[292] | 30 | #endif |
31 | ||
32 | /* | |
33 | * vim: tabstop=4 : shiftwidth=4 : expandtab | |
34 | */ |
Note: See TracBrowser
for help on using the repository browser.