Android 启动流程 -- Init⚓︎
基于 Android android-14.0.0_r28 的源代码
源码路径
system/core/init/ | |
---|---|
一、概述
init 进程是 Linux 系统中用户空间的第一个进程,进程号固定为 1。
Kernel 启动后,在用户空间启动 init 进程,并调用 main.cpp
中的 main() 方法.
基于 Android android-14.0.0_r28 的源代码
源码路径
system/core/init/ | |
---|---|
一、概述
init 进程是 Linux 系统中用户空间的第一个进程,进程号固定为 1。
Kernel 启动后,在用户空间启动 init 进程,并调用 main.cpp
中的 main() 方法.