Re: [edk2] Doubt about IPMI

2013-08-23 Thread Jeffrey Chou
Hi, I also have the experience about IPMI recently. You could look at the EFI Toolkit at http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EFI_Toolkit, there are some kcs protocol source codes have been implemented in the toolkit. Just see the folder of EFI_Toolkit_2.0\protocols\ipmi

[edk2] Strangeness when using simple pointer protocol with gBS->WaitForEvent

2013-08-15 Thread Jeffrey Chou
Hi All, I'd like to drive keyboard/mouse devices and add the WaitForInput of EFI_SIMPLE_POINTER_PROTOCOL into gBS->WaitForEvent(). So I wrote a sample code below. I found if I keep the "*Print(L"\n");*" in my code, both RelativeMovementX and RelativeMovementY could be printed. But once removing "*

Re: [edk2] Using StdLib in UEFI_DRIVER Type

2013-05-14 Thread Jeffrey Chou
then a ShellExecute used the ImageHandle in My UEFI Driver. It works. The flow would be: Main.efi --LoadImage--> UEFI Driver --ShellExecute(with Main.efi's ImageHandle)--> StdLibApp Thanks Jeffrey 2013/5/13 Andrew Fish > > On May 13, 2013, at 2:02 AM, Jeffrey Chou wrote: > &g

Re: [edk2] Using StdLib in UEFI_DRIVER Type

2013-05-13 Thread Jeffrey Chou
rovide > a “standalone” version of StdLib in the future, but it is not currently > scheduled. > > ** ** > > Daryl McDaniel > > *“In the pun, two strings of thought are tangled into one acoustic knot.” > -- Arthur Koestler* > > > > ** ** > > *From:

[edk2] Using StdLib in UEFI_DRIVER Type

2013-05-07 Thread Jeffrey Chou
Hi all, I am trying to use StbLib in an uefi driver module, and it seems the StbLib is only supported on UEFI_APPLICATION. So I have an idea that my uefi driver invoking an uefi application built with StdLib thru ShellExecute or LoadImage. But I am facing a problem that I don't know how to pass au

Re: [edk2] Floating-point and Double Operation in edk2

2013-04-17 Thread Jeffrey Chou
also I've tried to search sample code from entire edk2 source code and did not find reference. For example, I used the gBS->OpenProtocol with EFI_HANDLE ImageHandle in my original code, and I don't know how to do the same OpenProtocol function in new one with StdLib. Thanks. Jeffrey Cho

[edk2] Floating-point and Double Operation in edk2

2013-04-16 Thread Jeffrey Chou
Hi all, I am trying to have an UEFI application which needs floating-point operation and mathematical functions such as log10, exp10 ... etc. But base on UEFI Spec's Calling Conventions, there are no float or double in Data Types. As I know, the StdLib package may help resolving my question, but i