Hi, Yang,
I am glad to see that you have successfully completed your project and
that you are contributing code to NuttX.
For upstream, if each patch is small and independent, you can send PR
directly to:
https://github.com/apache/incubator-nuttx
Or Greg could create a branch so you can do the work on that before it is ready.
Separate PRs for each major functional change would make things easier
too. I think that the basic x86_64 change could come in after some
review. But I don't understand how the Linux/Jailhouse code with fit
into the NuttX repositories.
Perhaps we should create a branch in the upstream repository where we
can review the code, check for coding style, review interfaces, make
updates, etc. That when we all agree, merge the changes directly to master.
In the past, NuttX supported the RGMP project:
http://rgmp.sourceforge.net/wiki/index.php/Main_Page and
http://rgmp.sourceforge.net/wiki/index.php/Running_NuttX_on_RGMP That
was a different project but similar in that it had a NuttX component and
a Linux component: It ran NuttX on one CPU of a multi-core CPU and
Linux on another. RGMP provided the inter-CPU, inter-OS interface.
In that case, the NuttX RGMP support was in the NuttX repository but the
Linux RGMP support was elsewhere (you can still see the old NuttX RGMP
files here:
https://bitbucket.org/patacongo/obsoleted/src/83e33485517f2af145720b4ecd8a91158ccf506e/ChangeLog#lines-171).
Perhaps we will need to make some separation of functionality like
that? I don't know what architectural separation you use now. I would
have to learn a lot more to give advice.
Greg