[edk2] FreePool error: MdeModulePkg\Core\Dxe\Mem\Pool.c(425): CR has Bad Signature

2014-07-08 Thread WANG Siyuan
Dear All, I use AllocateZeroPool to allocate memory and use FreePool to free: UINT8 *buff = (UINT8 *)AllocateZeroPool(len); FreePool(buff); But I got this error: ASSERT MdeModulePkg\Core\Dxe\Mem\Pool.c(425): CR has Bad Signature What is the problem? Can I use other method to do this? I use VC t

[edk2] How to print string using DEBUG

2014-07-07 Thread WANG Siyuan
Hi, I want to print a string by DEBUG: const char *testc = "1234567890"; DEBUG ((EFI_D_INFO , "test string: %s\n", testc)); I got this output: test string: 13579 How to print string using DEBUG?

[edk2] How to add memory range to gMemoryMap

2014-06-06 Thread WANG Siyuan
==0x11FD7BFFF ConvertRange: Entry->Start==0x11FD7C000, Entry->End==0x11FE5 ConvertRange: Entry->Start==0x11FE6, Entry->End==0x11FE7BFFF ConvertRange: Entry->Start==0x11FE7C000, Entry->End==0x11FFF ConvertPages: failed to

[edk2] How to add smm support to OVMF

2014-04-26 Thread WANG Siyuan
e how to add these two protocols. Does anybody ever added smm support to OVMF? Yours sincerely, WANG Siyuan -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Sof

Re: [edk2] How to load DXE_SMM_DRIVER in edk2

2014-04-25 Thread WANG Siyuan
o fake EFI_SMM_ACCESS2_PROTOCOL and EFI_SMM_CONTROL2_PROTOCOL in emulator? Thank you very much! Yours sincerely, WANG Siyuan On Fri, Apr 25, 2014 at 7:05 PM, Laszlo Ersek wrote: > On 04/25/14 12:42, WANG Siyuan wrote: > > Hi, > > I want to load load DXE_SMM_DRIVER in Duet. > > > > As far

[edk2] How to load DXE_SMM_DRIVER in edk2

2014-04-25 Thread WANG Siyuan
*PiSmmCore*, *PiSmmCore* registers *SmmDriverDispatchHandler*, *SmmDriverDispatchHandler* dispatch DXE_SMM_DRIVER drivers. Does this correct? Yours sincerely, WANG Siyuan -- Start Your Social Network Today - Download eXo Platform

Re: [edk2] can OVMF boot an OS in qemu?

2012-12-05 Thread WANG Siyuan
blank. On Wed, Dec 5, 2012 at 1:38 AM, Laszlo Ersek wrote: > On 12/04/12 16:20, WANG Siyuan wrote: > > Hi, > > I have built > > OVMF( > http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=How_to_run_OVMF) > > and run in qemu. a uefi shell could start. >

[edk2] can OVMF boot an OS in qemu?

2012-12-04 Thread WANG Siyuan
an OS with OVMF? -- Yours sincerely, WANG Siyuan -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and foc

[edk2] how to use UDK(UEFI development Kit) ?

2012-12-03 Thread WANG Siyuan
, WANG Siyuan -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services