Thankfully, I regained my sanity before going that far. The "a second CPU started" example at:
https://github.com/cirosantilli/x86-bare-metal-examples/tree... though. I think some of the projects under
https://github.com/cirosantilli/x86-bare-metal-examples/tree... did it though.