summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-05-21 11:20:42 +0100
committerNarayan Kamath <narayan@google.com>2014-05-21 11:20:42 +0100
commit7cdbbcabda9906910548954f0a35cdea366ef467 (patch)
treede244165a98dd33fbf720c536674a871111cf146 /rootdir
parent9e0a62487b9946c0403d6c4282010d28ae0b193e (diff)
downloadsystem_core-7cdbbcabda9906910548954f0a35cdea366ef467.tar.gz
system_core-7cdbbcabda9906910548954f0a35cdea366ef467.tar.bz2
system_core-7cdbbcabda9906910548954f0a35cdea366ef467.zip
Add a zygote 64/32 bit config.
64 bit zygote is the "primary" and the system server is run as a 64 bit process. Change-Id: Ie1c2b0809faa92937bc407dd66e7a606ebb4f8f3
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.zygote64_32.rc12
1 files changed, 12 insertions, 0 deletions
diff --git a/rootdir/init.zygote64_32.rc b/rootdir/init.zygote64_32.rc
new file mode 100644
index 000000000..979ab3b53
--- /dev/null
+++ b/rootdir/init.zygote64_32.rc
@@ -0,0 +1,12 @@
+service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
+ class main
+ socket zygote stream 660 root system
+ onrestart write /sys/android_power/request_state wake
+ onrestart write /sys/power/state on
+ onrestart restart media
+ onrestart restart netd
+
+service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
+ class main
+ socket zygote_secondary stream 660 root system
+ onrestart restart zygote