Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The simulator isn't a virtual machine or anything like that. It is just a single thread that implements a non-preemptive version of NuttX using setjmp/longjmp to do the context switches.

http://nuttx.org/Documentation/simulation.pngImage RemovedImage Added

The nuttx.rel Blob

...

Pretty kludgey. This just begs for a better solution. If only the simulation supported interrupts...

...

Simulated Interrupts

The current NuttX host simulation has no interrupts and, hence, is non-preemptible. Also, without simulated interrupts, there can be no high-fidelity simulated device drivers or precise timer interrupt.

...