real-xinu/xinu-bbb

Building and running user programs

Closed this issue · 3 comments

Chapter 2 of the book provides several example programs, all of which seem to be user-level programs with a separate main. In the book or in the code, I couldn't find any documentation/examples on how to run such a program.

Could you provide an example of how to do this?

I ended up "converting" the example programs into shell commands(ie. as xsh_* functions). Is there a better way to do this?

Thanks :)