Changeset 96b02eb9 in mainline for kernel/generic/src/sysinfo/sysinfo.c
- Timestamp:
- 2010-12-14T12:52:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b10dab
- Parents:
- 554debd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/sysinfo.c
r554debd r96b02eb9 296 296 */ 297 297 void sysinfo_set_item_val(const char *name, sysinfo_item_t **root, 298 unative_t val)298 sysarg_t val) 299 299 { 300 300 /* Protect sysinfo tree consistency */ … … 481 481 sysinfo_indent(depth); 482 482 483 unative_t val;483 sysarg_t val; 484 484 size_t size; 485 485 … … 660 660 * 661 661 */ 662 unative_t sys_sysinfo_get_tag(void *path_ptr, size_t path_size)662 sysarg_t sys_sysinfo_get_tag(void *path_ptr, size_t path_size) 663 663 { 664 664 /* … … 679 679 ret.tag = SYSINFO_VAL_DATA; 680 680 681 return ( unative_t) ret.tag;681 return (sysarg_t) ret.tag; 682 682 } 683 683 … … 696 696 * 697 697 */ 698 unative_t sys_sysinfo_get_value(void *path_ptr, size_t path_size,698 sysarg_t sys_sysinfo_get_value(void *path_ptr, size_t path_size, 699 699 void *value_ptr) 700 700 { … … 715 715 rc = EINVAL; 716 716 717 return ( unative_t) rc;717 return (sysarg_t) rc; 718 718 } 719 719 … … 732 732 * 733 733 */ 734 unative_t sys_sysinfo_get_data_size(void *path_ptr, size_t path_size,734 sysarg_t sys_sysinfo_get_data_size(void *path_ptr, size_t path_size, 735 735 void *size_ptr) 736 736 { … … 752 752 rc = EINVAL; 753 753 754 return ( unative_t) rc;754 return (sysarg_t) rc; 755 755 } 756 756 … … 774 774 * 775 775 */ 776 unative_t sys_sysinfo_get_data(void *path_ptr, size_t path_size,776 sysarg_t sys_sysinfo_get_data(void *path_ptr, size_t path_size, 777 777 void *buffer_ptr, size_t buffer_size) 778 778 { … … 797 797 free(ret.data.data); 798 798 799 return ( unative_t) rc;799 return (sysarg_t) rc; 800 800 } 801 801
Note:
See TracChangeset
for help on using the changeset viewer.