mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
[Boottime] add syslog info in system bootup stages
N/A Add syslog in nuttx kernel entry and init start entry. Change-Id: I014c58528e6f474d68d9664224a3c50937967a04 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
@@ -251,6 +251,7 @@ static inline void nx_start_application(void)
|
||||
*/
|
||||
|
||||
sinfo("Starting init thread\n");
|
||||
syslog(LOG_INFO, "Starting init thread\n");
|
||||
|
||||
#ifdef CONFIG_BUILD_PROTECTED
|
||||
DEBUGASSERT(USERSPACE->us_entrypoint != NULL);
|
||||
|
||||
@@ -373,6 +373,7 @@ void nx_start(void)
|
||||
int i;
|
||||
|
||||
sinfo("Entry\n");
|
||||
syslog(LOG_INFO, "NuttX RTOS Initializtion Entry\n");
|
||||
|
||||
/* Boot up is complete */
|
||||
|
||||
@@ -825,6 +826,7 @@ void nx_start(void)
|
||||
/* When control is return to this point, the system is idle. */
|
||||
|
||||
sinfo("CPU0: Beginning Idle Loop\n");
|
||||
syslog(LOG_INFO, "CPU0: Beginning Idle Loop\n");
|
||||
for (; ; )
|
||||
{
|
||||
/* Perform any processor-specific idle state operations */
|
||||
|
||||
Reference in New Issue
Block a user