Changeset a19dc95 in mainline
- Timestamp:
- 2012-03-12T21:08:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d447598e
- Parents:
- b99a5e8
- Location:
- kernel/arch/arm32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/machine_func.h
rb99a5e8 ra19dc95 108 108 extern size_t machine_get_irq_count(void); 109 109 110 extern const char * machine_get_platform_name(void); 111 110 112 #endif 111 113 -
kernel/arch/arm32/src/arm32.c
rb99a5e8 ra19dc95 49 49 #include <str.h> 50 50 #include <arch/ras.h> 51 #include <sysinfo/sysinfo.h> 51 52 52 53 /** Performs arm32-specific initialization before main_bsp() is called. */ … … 116 117 { 117 118 machine_input_init(); 119 const char *platform = machine_get_platform_name(); 120 121 sysinfo_set_item_data("platform", NULL, (void *) platform, 122 str_size(platform)); 118 123 } 119 124 -
kernel/arch/arm32/src/machine_func.c
rb99a5e8 ra19dc95 134 134 } 135 135 136 const char * machine_get_platform_name(void) 137 { 138 if (machine_ops->machine_get_platform_name) 139 return machine_ops->machine_get_platform_name(); 140 return NULL; 141 } 136 142 /** @} 137 143 */
Note:
See TracChangeset
for help on using the changeset viewer.