Could you give more description for you Callback behavior? What thing are done
by your Callback() function? Update question value or Update HII Package data?
For action Changing/Changed, it will be trigged when its question is entered.
It shouldn’t be trigged always. So, it should not cause Form be repainted again
and again unless your question has the refresh attribute.
Thanks
Liming
From: ranga rao [mailto:[email protected]]
Sent: Friday, June 21, 2013 1:37 PM
To: Gao, Liming
Cc: [email protected]
Subject: Re: [edk2] Screen with HII forms and callback is looping
Thanks Liming for your response, it looks to be a BIOS issue.
I don't see the same behaviour with some other BIOS Vendor
I do handle HII Access callback with Change/Changed Actions and others return
as Unsupported
On Fri, Jun 21, 2013 at 10:39 AM, Gao, Liming
<[email protected]<mailto:[email protected]>> 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:[email protected]<mailto:[email protected]>]
Sent: Friday, June 14, 2013 7:03 PM
To: [email protected]<mailto:[email protected]>
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
<[email protected]<mailto:[email protected]>> wrote:
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 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
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel