From c79de97cccbe695cd37d3be1985c8e0e5100d51d Mon Sep 17 00:00:00 2001 From: Greg Hackmann Date: Mon, 24 Jun 2013 18:41:46 -0700 Subject: bionic: replace 4K property pages with 32K property pages Fixes apps compiled statically against new libc but running with old init Bug: 9558625 Change-Id: I79e6f02575d278d4c7d8e8546d772ed0529bcaab Signed-off-by: Greg Hackmann --- libc/include/sys/_system_properties.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libc/include/sys/_system_properties.h b/libc/include/sys/_system_properties.h index 4971a4c..702a4b2 100644 --- a/libc/include/sys/_system_properties.h +++ b/libc/include/sys/_system_properties.h @@ -45,10 +45,10 @@ typedef struct prop_msg prop_msg; /* (4 header words + 28 toc words) = 128 bytes */ /* 128 bytes header and toc + 28 prop_infos @ 128 bytes = 3712 bytes */ -#define PA_COUNT_MAX 28 -#define PA_REGION_COUNT 128 -#define PA_INFO_START 128 -#define PA_SIZE 4096 +#define PA_COUNT_MAX 247 +#define PA_REGION_COUNT 16 +#define PA_INFO_START 1024 +#define PA_SIZE 32768 #define TOC_NAME_LEN(toc) ((toc) >> 24) #define TOC_TO_INFO(area, toc) ((prop_info*) (((char*) area) + ((toc) & 0xFFFFFF))) -- cgit v1.1