diff --git a/kernel/common/los_bootargs.c b/kernel/common/los_bootargs.c index 03868dc7..815a27c4 100644 --- a/kernel/common/los_bootargs.c +++ b/kernel/common/los_bootargs.c @@ -200,7 +200,6 @@ INT32 LOS_GetArgValue(CHAR *argName, CHAR **argValue) { return LOS_NOK; } - UINT64 LOS_GetAlignsize() { return g_alignSize; } diff --git a/kernel/common/los_bootargs.h b/kernel/common/los_bootargs.h index caae9d70..3cb73d0c 100644 --- a/kernel/common/los_bootargs.h +++ b/kernel/common/los_bootargs.h @@ -55,4 +55,7 @@ INT32 LOS_GetArgValue(CHAR *argName, CHAR **argValue); UINT64 LOS_GetAlignsize(VOID); UINT64 LOS_SizeStrToNum(CHAR *value); +#ifdef LOSCFG_BOOTENV_RAM +CHAR *OsGetArgsAddr(VOID); +#endif #endif /* _LOS_BOOTARGS_H */ \ No newline at end of file diff --git a/kernel/common/los_rootfs.h b/kernel/common/los_rootfs.h index dc325541..9f3aebef 100644 --- a/kernel/common/los_rootfs.h +++ b/kernel/common/los_rootfs.h @@ -80,10 +80,5 @@ #endif INT32 OsMountRootfs(VOID); -VOID OsSetCmdLineAddr(UINT64 addr); -UINT64 OsGetCmdLineAddr(VOID); -#ifdef LOSCFG_BOOTENV_RAM -CHAR *OsGetArgsAddr(VOID); -#endif #endif /* _LOS_ROOTFS_H */