Home
last modified time | relevance | path

Searched refs:bootDevice (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-boot-deviceboot.md237 … int ret = GetProcCmdlineValue("default_boot_device", buffer, bootDevice, CMDLINE_VALUE_LEN_MAX);
240 …_boot_device`的值应该是`soc/10100000.himci.eMMC`,也就对应了system分区设备所在目录,这一值存放在了bootDevice这个全局变量当中,将在后续创建sy…
273 if ((parent != NULL) && STRINGEQUAL(parent, bootDevice)) {
284 - bootDevice: 存放`bootargs`中`default_boot_device`值的字符串。
289 而只有匹配到设备目录为bootDevice中路径的设备时,才会创建平台无关目录的软链接。
295 因此在处理内核上报的该设备uevent消息时,会与bootDevice中的路径`soc/10100000.himci.eMMC`相匹配,因此而创建相应的软链接,这一软连接的路径是:
/ohos5.0/base/startup/init/ueventd/include/
H A Dueventd.h73 extern char bootDevice[CMDLINE_VALUE_LEN_MAX];
/ohos5.0/base/startup/init/ueventd/
H A Dueventd.c40 char bootDevice[CMDLINE_VALUE_LEN_MAX] = { 0 }; variable
379 int ret = GetParameterFromCmdLine("default_boot_device", bootDevice, CMDLINE_VALUE_LEN_MAX); in RetriggerUevent()
H A Dueventd_device_handler.c264 if (STRINGEQUAL(parent, bootDevice)) { in BuildDeviceSymbolLinks()
276 INIT_LOGI("%s and %s is not match", parent, bootDevice); in BuildDeviceSymbolLinks()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-boot-deviceboot.md237 … int ret = GetProcCmdlineValue("default_boot_device", buffer, bootDevice, CMDLINE_VALUE_LEN_MAX);
240 …`soc/10100000.himci.eMMC`. The value is stored in the global variable `bootDevice` and will be mat…
273 if ((parent != NULL) && STRINGEQUAL(parent, bootDevice)) {
284 - `bootDevice`: a string that stores the value of `default_boot_device` in `bootargs`.
289 … A platform-irrelevant soft link is created only when the device path matches that in `bootDevice`.
295 …of the device, the init process compares the device path with that in `bootDevice`, that is, `soc/…