public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* System hang when using SetMemoryAttributes
@ 2016-09-25 19:01 Michael Zimmermann
  2016-09-26  6:35 ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Zimmermann @ 2016-09-25 19:01 UTC (permalink / raw)
  To: edk2-devel@lists.01.org, Ard Biesheuvel, Leif Lindholm

Hi,

which side effects can SetMemoryAttributes have?
I have a device where setting the framebuffer(which is part of DRAM)
to EFI_MEMORY_UC makes UEFI hang later on(when already outside the lcd
driver).

If I do the same on a memory range allocated with AllocateAnyPages instead
of AllocateAddress UEFI boots just fine(but ofc, the screen doesn't work).

Unfortunately I don't have UART on that device but I'm sure there's no
assert because I configured DebugLib to reboot the device in that case -
which never happens, it's just stuck when the console drivers(TerminalDxe
etc) initialize later on.

Thanks
Michael


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-09-26 20:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-25 19:01 System hang when using SetMemoryAttributes Michael Zimmermann
2016-09-26  6:35 ` Ard Biesheuvel
2016-09-26  7:13   ` Michael Zimmermann
2016-09-26  7:44     ` Michael Zimmermann
2016-09-26 10:23       ` Ard Biesheuvel
2016-09-26 12:44         ` Michael Zimmermann
2016-09-26 12:47           ` Ard Biesheuvel
2016-09-26 12:52             ` Michael Zimmermann
2016-09-26 17:00               ` Ard Biesheuvel
2016-09-26 20:25                 ` Michael Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox