Changeset b5e68c8 in mainline for kernel/generic/include/sysinfo/sysinfo.h
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/sysinfo/sysinfo.h
re80329d6 rb5e68c8 65 65 66 66 /** Gerated numeric value function */ 67 typedef unative_t (*sysinfo_fn_val_t)(struct sysinfo_item *);67 typedef sysarg_t (*sysinfo_fn_val_t)(struct sysinfo_item *); 68 68 69 69 /** Generated binary data function */ … … 82 82 */ 83 83 typedef union { 84 unative_t val;/**< Constant numberic value */84 sysarg_t val; /**< Constant numberic value */ 85 85 sysinfo_fn_val_t fn_val; /**< Generated numeric value function */ 86 86 sysinfo_fn_data_t fn_data; /**< Generated binary data function */ … … 99 99 sysinfo_item_val_type_t tag; /**< Return value type */ 100 100 union { 101 unative_t val;/**< Numberic value */101 sysarg_t val; /**< Numberic value */ 102 102 sysinfo_data_t data; /**< Binary data */ 103 103 }; … … 130 130 } sysinfo_item_t; 131 131 132 extern void sysinfo_set_item_val(const char *, sysinfo_item_t **, unative_t);132 extern void sysinfo_set_item_val(const char *, sysinfo_item_t **, sysarg_t); 133 133 extern void sysinfo_set_item_data(const char *, sysinfo_item_t **, void *, 134 134 size_t); … … 145 145 extern void sysinfo_dump(sysinfo_item_t *); 146 146 147 extern unative_t sys_sysinfo_get_tag(void *, size_t);148 extern unative_t sys_sysinfo_get_value(void *, size_t, void *);149 extern unative_t sys_sysinfo_get_data_size(void *, size_t, void *);150 extern unative_t sys_sysinfo_get_data(void *, size_t, void *, size_t);147 extern sysarg_t sys_sysinfo_get_tag(void *, size_t); 148 extern sysarg_t sys_sysinfo_get_value(void *, size_t, void *); 149 extern sysarg_t sys_sysinfo_get_data_size(void *, size_t, void *); 150 extern sysarg_t sys_sysinfo_get_data(void *, size_t, void *, size_t, size_t *); 151 151 152 152 #endif
Note:
See TracChangeset
for help on using the changeset viewer.