chore: add a mini config for qemu arm virt

support turn off as many features as possible.
current only libc and posix and bsd can not be turned off.

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I1e97570c67593207a56dc11f357eca4b4a018bfd
This commit is contained in:
Caoruihong
2021-06-05 17:40:22 +08:00
parent e59693e7fa
commit 744b2021b2
16 changed files with 97 additions and 49 deletions

View File

@@ -85,6 +85,7 @@ STATIC VOID UartOutput(const CHAR *str, UINT32 len, BOOL isLock)
#endif
}
#ifdef LOSCFG_PLATFORM_CONSOLE
STATIC VOID ConsoleOutput(const CHAR *str, UINT32 len)
{
ssize_t writen = 0;
@@ -100,6 +101,7 @@ STATIC VOID ConsoleOutput(const CHAR *str, UINT32 len)
toWrite -= cnt;
}
}
#endif
VOID OutputControl(const CHAR *str, UINT32 len, OutputType type)
{