From 14bd753aa8beb49af887c8d0aedaefa446409760 Mon Sep 17 00:00:00 2001 From: chenjing Date: Tue, 20 Jul 2021 19:28:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20OsGetArgsAddr=E5=A3=B0=E6=98=8E=E6=89=80?= =?UTF-8?q?=E5=9C=A8=E5=A4=B4=E6=96=87=E4=BB=B6=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #I41MWM Signed-off-by: chenjing Change-Id: Iad136b3b8b63fed63fa69c594ec39bd90d5513b7 --- kernel/common/los_bootargs.c | 1 - kernel/common/los_bootargs.h | 3 +++ kernel/common/los_rootfs.h | 5 ----- 3 files changed, 3 insertions(+), 6 deletions(-) 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 */ -- GitLab