mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
goldfish: sync with qemu do rpmsg_syslog init at goldfish
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -41,6 +41,16 @@
|
|||||||
# include <nuttx/sched_note.h>
|
# include <nuttx/sched_note.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <nuttx/syslog/syslog_rpmsg.h>
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Private Data
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifdef CONFIG_SYSLOG_RPMSG
|
||||||
|
static char g_syslog_rpmsg_buf[4096];
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -82,6 +92,10 @@ void arm_boot(void)
|
|||||||
|
|
||||||
arm_earlyserialinit();
|
arm_earlyserialinit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_SYSLOG_RPMSG
|
||||||
|
syslog_rpmsg_init_early(g_syslog_rpmsg_buf, sizeof(g_syslog_rpmsg_buf));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_ARM_PSCI) && defined(CONFIG_SMP)
|
#if defined(CONFIG_ARM_PSCI) && defined(CONFIG_SMP)
|
||||||
|
|||||||
Reference in New Issue
Block a user