31#ifndef _LOS_BOOTARGS_H
32#define _LOS_BOOTARGS_H
36#define BYTES_PER_GBYTE (1 << 30)
37#define BYTES_PER_MBYTE (1 << 20)
38#define BYTES_PER_KBYTE (1 << 10)
39#define COMMAND_LINE_ADDR (LOSCFG_BOOTENV_ADDR * BYTES_PER_KBYTE)
40#define COMMAND_LINE_SIZE 1024
41#define MAX_ARGS_NUM 100
42#ifdef LOSCFG_STORAGE_EMMC
43#define EMMC_SEC_SIZE 512
58#ifdef LOSCFG_BOOTENV_RAM
VOID LOS_FreeCmdLine(VOID)
UINT64 LOS_GetAlignsize(VOID)
INT32 LOS_GetCmdLine(VOID)
读取环境变量bootcmd 来启动内核
INT32 LOS_GetArgValue(CHAR *argName, CHAR **argValue)
INT32 LOS_ParseBootargs(VOID)
解析boot参数
CHAR * OsGetArgsAddr(VOID)
UINT64 LOS_SizeStrToNum(CHAR *value)