Updated patches:
remote: http://review.coreboot.org/3204 remote: http://review.coreboot.org/3205 remote: http://review.coreboot.org/3206 remote: http://review.coreboot.org/3207
On Mon, May 6, 2013 at 9:26 AM, Aaron Durbin adurbin@chromium.org wrote:
On Fri, May 3, 2013 at 4:27 PM, Aaron Durbin adurbin@chromium.org wrote:
Hi,
I just uploaded some patches that implement the ability to cooperatively multitask on the boot cpu. The patches still need some cleaning up, but I wanted to start the conversation. Fwiw, Ron claims he needs this. So blame him. This notion does allow for people to write state machines using the callbacks and can still rely on synchronous programming.
Patches are here: remote: http://review.coreboot.org/3191 remote: http://review.coreboot.org/3192 remote: http://review.coreboot.org/3193
I'm going to work on a revised set of patches that makes things less ugly. I'll also attempt to split out the arch-specific code bits so that adding arm support, for instance, should be easier. The current behavior of the patches does not please me because it changes the behavior of the boot sequence without the user knowing. A more explicit opt-in for creating threads will be employed.
-Aaron