Hi Prakhar,

1. Why are the pages mapped to AP are being zeroed when PGE flag is set for
AP in it's CR4 ?


It is hard to say but my guess would be that the 4 PDPTE registers in
the VMCS are not being properly updated during AP spinup. It would be
helpful to see the assembly instructions in the AP spinup code that
modify %cr0, %cr4 and %cr3 to know for sure.

Further to what Neel is saying, are you setting the PAE bit in CR4 prior to setting PGE in CRO ? Is CR0 being set with a direct write, or a read/modify/write ?

later,

Peter.

_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to