4.115
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * @ingroup gp32_smc |
---|
4 | * @brief SMC disk driver initialization entry point |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef __SMC_H__ |
---|
8 | #define __SMC_H__ |
---|
9 | |
---|
10 | #ifdef __cplusplus |
---|
11 | extern "C" { |
---|
12 | #endif |
---|
13 | |
---|
14 | #include <rtems.h> |
---|
15 | |
---|
16 | #include "rtems/blkdev.h" |
---|
17 | |
---|
18 | /** |
---|
19 | * @defgroup gp32_smc SMC Disk Driver |
---|
20 | * @ingroup arm_gp32 |
---|
21 | * @brief SMC Disk Driver Support |
---|
22 | * @{ |
---|
23 | */ |
---|
24 | |
---|
25 | /** |
---|
26 | * @brief smc_initialize |
---|
27 | * SMC disk driver initialization entry point. |
---|
28 | */ |
---|
29 | rtems_device_driver |
---|
30 | smc_initialize( |
---|
31 | rtems_device_major_number major, |
---|
32 | rtems_device_minor_number minor, |
---|
33 | void *arg); |
---|
34 | |
---|
35 | #define SMC_DRIVER_TABLE_ENTRY \ |
---|
36 | { smc_initialize, GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES } |
---|
37 | |
---|
38 | /** @} */ |
---|
39 | |
---|
40 | #ifdef __cplusplus |
---|
41 | } |
---|
42 | #endif |
---|
43 | |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.