Android INIT process (2); Initialization language (init. Rc) Parsing
The software version used in this article
Android: 4.2.2
Linux Kernel: 3.1.10
This article and several subsequent articles will analyze the initialization (init) process of Android
Features OverviewThe init process is the first process launched by the Android kernel, with a process number (PID) of 1, which is the ancestor of all the processes in the Android system, so it is shouldering the important responsibility of system
Android-init process (1)
The init process is the first process pid started by android. 1. It mainly does the following:
* Parse the configuration file
* Perform the early_init init early_boot boot operation based on the configuration file.
* Set
Tian haili @ csdn
This article analyzes how to parse the init. RC file in Android, focuses on Parsing in on action, and summarizes the syntax specification of init. RC from the parsing process.
Parsing init. RC is performed in parse_config (): [
C language: implement the init () function to initialize the array, implement empty () to clear the array, and implement the reverse () function to reverse the array element.
# Include void init (int arr [], int len) {int I = 0; printf
This article analyzes the startup of the Linux-Android system. The following article focuses on the analysis of the functions before start_kernel () is called during Linux Startup, at the same time, I also gave an overview of the Code flow after the
Android Startup Process Analysis (8) parsing the init. rc action, androidinit. rc
######################################## #####
This article is original in extreme cold ice. For more information, see the source.
#####################################
: This article mainly introduces the init. PHP file in ecshop. if you are interested in the PHP Tutorial, please refer to it.
Detailed description of the init. php file in ecshop
Under the Directory des/init. php
For work reasons, secondary
The init process is the first process that Android starts with a process PID of 1. It mainly does the following several things:* Parse configuration file* Operation according to the configuration file early_init init early_boot boot* Set Property
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.