source:
rtems/c/src/lib/libbsp/arm/gp32/smc/smc.h
@
0afac6a
Last change on this file since 0afac6a was 582553d9, checked in by Daniel Ramirez <javamonn@…>, on 12/21/13 at 21:46:33 | |
---|---|
|
|
File size: 676 bytes |
Rev | Line | |
---|---|---|
[582553d9] | 1 | /** |
2 | * @file | |
3 | * @ingroup gp32_smc | |
4 | * @brief SMC disk driver initialization entry point | |
5 | */ | |
6 | ||
[8f1e4948] | 7 | #ifndef __SMC_H__ |
8 | #define __SMC_H__ | |
[4906d7f7] | 9 | |
10 | #ifdef __cplusplus | |
11 | extern "C" { | |
12 | #endif | |
13 | ||
14 | #include <rtems.h> | |
15 | ||
16 | #include "rtems/blkdev.h" | |
17 | ||
[582553d9] | 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 | |
[4906d7f7] | 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 | ||
[582553d9] | 38 | /** @} */ |
39 | ||
[4906d7f7] | 40 | #ifdef __cplusplus |
41 | } | |
42 | #endif | |
[8f1e4948] | 43 | |
44 | #endif |
Note: See TracBrowser
for help on using the repository browser.