From f6af0af50dbdbd938d2c6769c69ff63db2ca0066 Mon Sep 17 00:00:00 2001 From: David Ng Date: Tue, 2 Mar 2010 14:40:18 -0800 Subject: system_property: Trade off 21 property entries for +12 value length Increase the maximum property value length by 12 characters (92 to 104 characters maximum) at the expense of 21 property entries (247 to 226). Change-Id: I1ed9dec96c25c8922c432f8d7c56b86ed9201752 CRs-Fixed: 228730 --- libc/include/sys/_system_properties.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/include/sys/_system_properties.h') diff --git a/libc/include/sys/_system_properties.h b/libc/include/sys/_system_properties.h index 42a7f6c..a21a561 100644 --- a/libc/include/sys/_system_properties.h +++ b/libc/include/sys/_system_properties.h @@ -42,8 +42,8 @@ typedef struct prop_msg prop_msg; #define PROP_SERVICE_NAME "property_service" -/* #define PROP_MAX_ENTRIES 247 */ -/* 247 -> 32620 bytes (<32768) */ +/* #define PROP_MAX_ENTRIES 226 */ +/* 226 -> 32664 bytes (<32768) */ #define TOC_NAME_LEN(toc) ((toc) >> 24) #define TOC_TO_INFO(area, toc) ((prop_info*) (((char*) area) + ((toc) & 0xFFFFFF))) -- cgit v1.1