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

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

From: ranga rao <ranga.gnv@gmail.com>

To: "Gao, Liming" <liming.gao@intel.com>

Date: 2013-06-21 19:06:31

Thanks Liming for your response, it looks to be a BIOS issue.
I don't see the same behaviour with some other BIOS Vendor

Ido handle HII Access callback with Change/Changed Actions and others return as Unsupported



On Fri, Jun 21, 2013 at 10:39 AM, Gao, Liming <liming.gao@intel.com> wrote:

Hi,

Have you checked the CallBack action type in your Config Access CallBack function?

When Form is showed, Browser will trig HiiConfigAccess->CallBack() on FORM_OPEN, RETERIEVE action. If this question is typed, then Browser will trig HiiConfigAccess->CallBack() on CHANING and CHANGED action. When From is closed, Browser will trig FORM_CLOSE. What action type will be handled by your CallBack() function? If your CallBack() function only handle some of them, you need to check Action type first. For the unexpected action, 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.gnv@gmail.com]
Sent: Friday, June 14, 2013 7:03 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Screen with HII forms and callback is looping

Am sorry for the typos

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 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 <ranga.gnv@gmail.com> wrote:

Hello All

My OptionROM hasHII codewhich access Hii Config access callback

Based on the Question ID in FORM_CALLBACKspecific function is called

For some reason during this callback mechanism the HII screen is on/off

(flickering) and is never coming out of itunless there is key press(Esc mutiple times)

My option 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


--

Thanks
Ranga




--

Thanks
Ranga




--
Thanks
Ranga