File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed
Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ extern int g_eic7700x_boot_hart;
5959 * Name: setintstack
6060 *
6161 * Description:
62- * Set the current stack pointer to the "top" the correct interrupt stack
63- * for the current CPU.
62+ * Set the current stack pointer to the "top" of the correct interrupt
63+ * stack for the current CPU.
6464 *
6565 ****************************************************************************/
6666
Original file line number Diff line number Diff line change 6565 * IDLE thread stack. Size determined by CONFIG_IDLETHREAD_STACKSIZE.
6666 * Heap. Extends to the end of User SRAM.
6767 *
68- * The following memory map is assumed for the protect build.
69- * The kernel and user space have it's own dedicated heap space .
68+ * The following memory map is assumed for the protected build.
69+ * The kernel and user space have their own dedicated heap spaces .
7070 *
7171 * User .data region Size determined at link time
7272 * User .bss region Size determined at link time
Original file line number Diff line number Diff line change @@ -300,30 +300,28 @@ void eic7700x_start_s(int mhartid)
300300 goto cpux ;
301301 }
302302
303- /* Boot Hart starts here */
303+ /* Boot Hart starts here. Init the UART Driver. */
304304
305305 showprogress ('A' );
306306
307307#ifdef USE_EARLYSERIALINIT
308308 riscv_earlyserialinit ();
309309#endif
310310
311- showprogress ('B' );
312-
313- /* Do board initialization */
314-
315- showprogress ('C' );
316-
317311 /* Setup page tables for kernel and enable MMU */
318312
313+ showprogress ('B' );
319314 eic7700x_mm_init ();
320315
321- /* Call nx_start() */
316+ /* Start NuttX */
322317
318+ showprogress ('C' );
323319 nx_start ();
324320
325321cpux :
326322
323+ /* Non-Boot Hart starts here. Init the CPU for the Hart. */
324+
327325#ifdef CONFIG_SMP
328326 riscv_cpu_boot (mhartid );
329327#endif
You can’t perform that action at this time.
0 commit comments