On 05/04/2015 10:55 AM, Paolo Bonzini wrote: > The SMM entry vector will start in a 16-bit real mode code segment, > albeit with 4GB segment limits. So there must be yet another 32-bit > protected mode switching sequence somewhere. So my guess is: > > 1) you can add a 32->64-bit mode world switch there. I know your love > for this kind of code, I guess you can bribe someone to take care of > this part.:)
It would seem that Intel should be able to provide it... there's nothing magical or proprietary about it, and it's only a couple dozen instructions. I'm not quite sure who to ask, though. Really, you need Intel's 64-bit version of PiSmmCpuDxeSmm. At least the SmmInit.{asm,S} files, and ideally all their other SMM support code. Are there any Intel folks on the list who can authorize that? It seems silly for you to have to write it from scratch. -- Brian J. Johnson -------------------------------------------------------------------- My statements are my own, are not authorized by SGI, and do not necessarily represent SGI’s positions. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel