On Fri, 12 Sep, at 09:09:04PM, tejas khatiwala wrote: > Hi there, > > I have developed code in EFI BIOS based on x86_64 platform, where BIOS > downloads a bzImage.efi, does a LoadImage() and then StartImage(). It works > fine most of the times. Both the BIOS and bzImage.efi images changes as I > develop more stuff. Recently, I came across this problem where my > bzImage.efi wouldn't work. That is, BIOS would download it, does > LoadImage() and StartImage(); but after that it gets stuck. By stuck, I > mean, it looks like it is in some infinite loop. I haven't instrumented my > bzImage.efi to see if it is actually stuck there or in BIOS. > > Funny part is, if I change my BIOS or bzImage.efi a little, the bzImage.efi > would start working. By change, I'd add gBS->Stall() right before > StartImage(). > > It looks like the memory layout of BIOS or bzImage.efi is at play. Can > somebody please advice me as to what could be wrong?
Does any other change make your bzImage.efi work? It sounds more like timing issue than something related to the memory map. -- Matt Fleming, Intel Open Source Technology Center ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
