diff options
Diffstat (limited to 'boot/1.0/default/service.cpp')
-rw-r--r-- | boot/1.0/default/service.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/1.0/default/service.cpp b/boot/1.0/default/service.cpp index f3996efe9c..2b50740f2a 100644 --- a/boot/1.0/default/service.cpp +++ b/boot/1.0/default/service.cpp @@ -17,10 +17,14 @@ #include <android/hardware/boot/1.0/IBootControl.h> #include <hidl/LegacySupport.h> +#include <hwbinder/ProcessState.h> using ::android::hardware::boot::V1_0::IBootControl; using android::hardware::defaultPassthroughServiceImplementation; int main (int /* argc */, char * /* argv */ []) { +#ifdef ARCH_ARM_32 + android::hardware::ProcessState::initWithMmapSize((size_t)8192); +#endif return defaultPassthroughServiceImplementation<IBootControl>(); } |