diff --git a/kernel/common/los_bootargs.c b/kernel/common/los_bootargs.c index 03868dc7faae4786afcef678e53d1de835c0b214..815a27c43c38231b331a6937245663f70ee564d6 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 caae9d7084275113a8432dffb90de81474fa280a..3cb73d0c1b0afc45c11b720558ecf6939add8c1e 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 dc32554115e5bbe29f12e059b98b25255787a051..9f3aebefbd0eda5bf0eb7e3caadff921b625717d 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 */