Skip to content

Commit

Permalink
NuttX Shell starts OK yay! nx_start: CPU0: Beginning Idle Loop
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Jan 19, 2024
1 parent 9536e86 commit bb305e8
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,20 @@ priv=M mstatus=0000000a000400a1 cycles=79648467
tinyemu: Unknown mcause 2, quitting
```

TODO: ECALL from User Mode to Machine Mode! Why not Supervisor Mode?
ECALL from User Mode to Machine Mode! Not Supervisor Mode!

[Set exception and interrupt delegation for S-mode](https://github.com/lupyuen/ox64-tinyemu/commit/9536e86217bcccbe15272dc4450eac9fab173b03)

```text
work_start_lowpri: Starting low-priority kernel worker thread(s)
nx_start_application: Starting init task: /system/bin/init
up_exit: TCB=0x504098d0 exiting
NuttShell (NSH) NuttX-12.4.0
nsh>
nx_start: CPU0: Beginning Idle Loop
```

NuttX Shell starts OK yay!

# TinyEMU

Expand Down

0 comments on commit bb305e8

Please sign in to comment.