提交 fa663d16 编写于 作者: X xlei1030

格式修改

Signed-off-by: Nxlei1030 <xionglei6@huawei.com>
上级 1bcd280e
...@@ -659,19 +659,19 @@ static int LoadParamFromCmdLine(void) ...@@ -659,19 +659,19 @@ static int LoadParamFromCmdLine(void)
{ {
int ret; int ret;
static const cmdLineInfo cmdLines[] = {{OHOS_BOOT"hardware", CommonDealFun}, static const cmdLineInfo cmdLines[] = {{OHOS_BOOT"hardware", CommonDealFun},
{OHOS_BOOT"bootgroup", CommonDealFun}, {OHOS_BOOT"bootgroup", CommonDealFun},
{OHOS_BOOT"reboot_reason", CommonDealFun}, {OHOS_BOOT"reboot_reason", CommonDealFun},
{OHOS_BOOT"sn", SnDealFun}, {OHOS_BOOT"sn", SnDealFun},
#ifdef STARTUP_INIT_TEST #ifdef STARTUP_INIT_TEST
{OHOS_BOOT"mem", CommonDealFun}, {OHOS_BOOT"mem", CommonDealFun},
{OHOS_BOOT"console", CommonDealFun}, {OHOS_BOOT"console", CommonDealFun},
{OHOS_BOOT"mmz", CommonDealFun}, {OHOS_BOOT"mmz", CommonDealFun},
{OHOS_BOOT"androidboot.selinux", CommonDealFun}, {OHOS_BOOT"androidboot.selinux", CommonDealFun},
{OHOS_BOOT"init", CommonDealFun}, {OHOS_BOOT"init", CommonDealFun},
{OHOS_BOOT"root", CommonDealFun}, {OHOS_BOOT"root", CommonDealFun},
{OHOS_BOOT"uuid", CommonDealFun}, {OHOS_BOOT"uuid", CommonDealFun},
{OHOS_BOOT"rootfstype", CommonDealFun}, {OHOS_BOOT"rootfstype", CommonDealFun},
{OHOS_BOOT"blkdevparts", CommonDealFun}, {OHOS_BOOT"blkdevparts", CommonDealFun},
#endif #endif
}; };
char *data = ReadFileData(PARAM_CMD_LINE); char *data = ReadFileData(PARAM_CMD_LINE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册