public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* How to retrieve HII form's default value
@ 2018-05-18  2:09 methavanitpong.pipat
  2018-05-18  8:50 ` Gao, Liming
  0 siblings, 1 reply; 5+ messages in thread
From: methavanitpong.pipat @ 2018-05-18  2:09 UTC (permalink / raw)
  To: edk2-devel; +Cc: ard.biesheuvel

Hi,

I'm working on changing SynQuacer/PlatformDxe initial HII configuration. 

In the current implementation, SynQuacerPlatformSettings HII variable doesn't set its initial value from PcdPlatfromSettings. 

* PcdPlatformSettings is initially set with value in dsc at build time

    * https://github.com/tianocore/edk2-platforms/blob/master/Platform/Socionext/DeveloperBox/DeveloperBox.dsc#L439

* SynQuacerPlatformSettings is initially set to zeros at run time

    * https://github.com/tianocore/edk2-platforms/blob/master/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.c#L246

They are unsync, but are both initially assigned to 0 independently.

What I want to do with this issue is

* Set initial SynQuacerPlatformSettings value from its
  SYNQUACER_PLATFORM_FORMSET_GUID form's default value
* Set initial PcdPlatformSettings value from its
  SYNQUACER_PLATFORM_FORMSET_GUID form's default value

Could anyone give me an advice on retrieving default value from a HII form and assign in C and DSC files?


Thanks,
--
Pipat Methavanitpong
Software Developer, S-Project 3
Socionext Inc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-21  1:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-18  2:09 How to retrieve HII form's default value methavanitpong.pipat
2018-05-18  8:50 ` Gao, Liming
2018-05-21  0:24   ` methavanitpong.pipat
2018-05-21  0:57     ` Gao, Liming
2018-05-21  1:21       ` methavanitpong.pipat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox