Changes in kernel/arch/arm32/src/machine_func.c [f9ab562:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/machine_func.c
rf9ab562 r9d58539 41 41 #include <arch/mach/gta02/gta02.h> 42 42 #include <arch/mach/integratorcp/integratorcp.h> 43 #include <arch/mach/ beagleboardxm/beagleboardxm.h>43 #include <arch/mach/testarm/testarm.h> 44 44 45 45 /** Pointer to machine_ops structure being used. */ … … 51 51 #if defined(MACHINE_gta02) 52 52 machine_ops = >a02_machine_ops; 53 #elif defined(MACHINE_testarm) 54 machine_ops = &gxemul_machine_ops; 53 55 #elif defined(MACHINE_integratorcp) 54 56 machine_ops = &icp_machine_ops; 55 #elif defined(MACHINE_beagleboardxm)56 machine_ops = &bbxm_machine_ops;57 57 #else 58 58 #error Machine type not defined. … … 131 131 } 132 132 133 const char * machine_get_platform_name(void)134 {135 if (machine_ops->machine_get_platform_name)136 return machine_ops->machine_get_platform_name();137 return NULL;138 }139 133 /** @} 140 134 */
Note:
See TracChangeset
for help on using the changeset viewer.