Re: [edk2] Screen with HII forms and callback is looping

2013-06-20 Thread ranga rao
gt; you just need to return EFI_UNSUPPORTED. You can refer to > MdeModulePkg\Universal\PlatformDriOverrideDxe\PlatDriOverrideDxe.c > PlatOverMngrCallback() function. **** > > ** ** > > Thanks > > Liming > > *From:* ranga rao [mailto:ranga@gmail.com] > *Se

Re: [edk2] Screen with HII forms and callback is looping

2013-06-14 Thread ranga rao
there is key press(Esc mutiple times) My optionrom is not handling keyboard input (or) EFI_KEY events Please provide your inputs if any one has seen such a behaviour with HII VFR files and Config access callback On Fri, Jun 14, 2013 at 4:29 PM, ranga rao wrote: > Hello All > > My Opti

[edk2] Screen with HII forms and callback is looping

2013-06-14 Thread ranga rao
Hello All My OptionROM has HII code which access Hii Config access callback Based on the Question ID in FORM_CALLBACK specific function is called For some reason during this callback mechanism the HII screen is on/off (flickering) and is never coming out of it unless there is key press(Esc mutipl

Re: [edk2] unit testing...how to?

2013-06-12 Thread ranga rao
UEFI SCT is a good option for DXE drivers & Applications. SCT has test cases for each of the UEFI driver model protocols defined in 2.3.1 You can build the SCT and you need to provide the driver handle & controller handle so that SCT can detect your driver On Wed, Jun 12, 2013 at 10:20 PM, Thoma

Re: [edk2] Build failed with compiler flag /TP

2013-06-07 Thread ranga rao
then you need to link against an entry > point lib that will contain _ModuleEntryPoint. There will be a lib function > that is generated in the AutoGen.c file that will contain a call to > InitalizeOptionROM. > > > Andrew Fish > > > On Jun 7, 2013, at 8:45 AM, ranga r

Re: [edk2] Build failed with compiler flag /TP

2013-06-07 Thread ranga rao
On Fri, Jun 7, 2013 at 8:54 PM, Andrew Fish wrote: > Fix the function prototype to the correct API. This is enforced in edk2 > since yourentry point is called from a library. > > You were just getting lucky it worked in the EDK. > > Sent from my iPhone > > On Jun 7, 20

[edk2] Build failed with compiler flag /TP

2013-06-07 Thread ranga rao
Hi, I have C source which I *have been* building using EDK 1.06. The variables in the code are not declared in the beginning of the function, and I could able to build the Code with /TP flag The same code is failing on EDK II(UDK2010.UP4) When I attempted to build this using UDK 2010 UP4 w

[edk2] Build Error on UDK2010.SP1 (or) UDK2010.SR1

2013-05-31 Thread ranga rao
Dear All While i was i trying to build a driver/lib with UDK2010.UP4 am running into the below error The include directory for the EDK II module in this line is invalid C:\e swrlib\driver_common\SWR_Driver_R5_Univ\Driver\osl\efi specified in CC FLAGS ' nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICO