[if !mso]> [if !mso]>

RE: [EDK DEV] RE: VFR: Questions

Subject: RE: [EDK DEV] RE: VFR: Questions

From: "Samuelraj, Daniel" <Daniel.Samuelraj@lsi.com>

To: "dev@edk.tianocore.org" <dev@edk.tianocore.org>

Date: 2008-07-15 20:12:28

Thanks Ting.

 

#1: Is there a plan to add a new tool for generating image package in EDK?

#2: We have complex structures that we want VFR to handle. We have an .H file which has union, bit-fields, enum, nested structure, unnamed structure, variable size structure etc; we need to use this complex .H file to implement Forms. This header file is used by our controller firmware so we can not get away from this file and create totally new one. Hope this clarifies your question. Is it possible to add support for these in VFR?

 

Thanks,

Daniel


From: Ye, Ting [mailto:ting.ye@intel.com]
Sent: Monday, July 14, 2008 10:01 PM
To: dev@edk.tianocore.org
Cc: Mukherjee, Subhankar
Subject: RE: [EDK DEV] RE: VFR: Questions

 

Daniel,

 

So far as I know, we haven’t provided such tool for generating Image Package in EDK, which might be similar to VFR compiler or StrGather tool.

 

Best Regards,

- Ting


From: Samuelraj, Daniel [mailto:Daniel.Samuelraj@lsi.com]
Sent: Tuesday, July 15, 2008 9:52 AM
To: dev@edk.tianocore.org
Cc: Mukherjee, Subhankar
Subject: RE: [EDK DEV] RE: VFR: Questions

 

Thanks Scott. I will get back with you tomorrow on #2.

#1: Say I have an image (e.g., company logo) which I want browser to display. How would I specify the source of this image?

 

Thanks,

Daniel


From: Wang, Scott [scott.wang@intel.com]
Sent: Monday, July 14, 2008 9:33 PM
To: dev@edk.tianocore.org
Cc: Mukherjee, Subhankar
Subject: RE: [EDK DEV] RE: VFR: Questions

Hi,

 

To answer your 2nd questions:

 

VFR is not intended to be a full-fledge C compiler to parse the complicated programming elements you mentioned. To describe a NV MAP shared between VFR and C file, the simple C structure is sufficient. All we need is the offset and width of a data field in the memory buffer (normally a platform setting). Could you confirm if you use only simple C structure for the NV map? If you .h file shared between .c and .VFR has other irrelevant complex structure definition. I suggest you to break this .h file into two parts as a remedy. Put the simple structure into a single .h file to be included by .VFR so that VFR compiler can parse it.

 

 

I don’t quite understand your 1st questions? Can you elaborate further?

 

 

Regards.

Scott Wang 

"The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter"

 

 


From: Samuelraj, Daniel [mailto:Daniel.Samuelraj@lsi.com]
Sent: Tuesday, July 15, 2008 5:37 AM
To: dev@edk.tianocore.org
Cc: Mukherjee, Subhankar
Subject: [EDK DEV] RE: VFR: Questions

 

Additional questions:

  1. VFR: How to specify the source of image?
  2. Why VFR doesn’t support complete C struct functionality?

 

Thanks,

Daniel


From: Samuelraj, Daniel
Sent: Friday, July 11, 2008 4:48 PM
To: 'dev@edk.tianocore.org'
Cc: Mukherjee, Subhankar
Subject: VFR: Questions

 

Hi,

We learned that VFR doesn’t support Union, bit-fields, enum, variable stricture (e.g., U8 Data[1];), nested structure etc. These are all important items that we want to see in VFR

Is there a plan to support these items in near future?

 

Thanks,

Daniel