15.03.2015 Views

SetupDesignGuide.pdf - Firmware Encoding Index

SetupDesignGuide.pdf - Firmware Encoding Index

SetupDesignGuide.pdf - Firmware Encoding Index

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table of Contents<br />

1 Introduction......................................................................................................... 7<br />

1.1 Scope .................................................................................................................... 7<br />

1.2 Target Audience .................................................................................................... 7<br />

1.3 Related Information ............................................................................................... 7<br />

1.4 Terms .................................................................................................................... 8<br />

1.5 Conventions Used in This Document .................................................................. 10<br />

1.5.1 1.5.2 Data Structure Descriptions..................................................................... 10<br />

Protocol Descriptions............................................................................... 10<br />

1.5.3 Procedure Descriptions ........................................................................... 10<br />

1.5.4 Pseudo-Code Conventions...................................................................... 11<br />

1.5.5 Typographic Conventions........................................................................ 11<br />

2 Setup Infrastructure Overview ........................................................................ 13<br />

2.1 Components of the Setup Infrastructure.............................................................. 13<br />

2.1.1 VFR/IFR................................................................................................... 13<br />

2.1.2 2.1.3<br />

Strings ..................................................................................................... 13<br />

Fonts........................................................................................................ 14<br />

2.1.4 EFI Driver (Containing Setup Data) ......................................................... 15<br />

2.1.5 HII Database............................................................................................ 16<br />

2.1.6 Configuration Driver................................................................................. 16<br />

2.2<br />

2.3<br />

2.4<br />

Composition of VFR and String data................................................................... 16<br />

How multiple language support is handled.......................................................... 17<br />

Storing Configuration Settings............................................................................. 18<br />

2.5 O/S Runtime Utilization ....................................................................................... 19<br />

2.6 How to get hardware information in setup........................................................... 20<br />

2.6.1 2.6.2 Single Iteration Hardware Interaction ...................................................... 20<br />

Multiple Iteration Hardware Interaction.................................................... 21<br />

2.7 Setup Infrastructure Overview Graphic ............................................................... 22<br />

3<br />

Setup Build Infrastructure ............................................................................... 24<br />

3.1 Setup Build Infrastructure Elements.................................................................... 24<br />

3.1.1 VFR Compiler .......................................................................................... 24<br />

3.1.2 NVRAM Mapping File .............................................................................. 24<br />

3.1.3 String Definitions...................................................................................... 25<br />

3.1.4 IFR Header Files...................................................................................... 25<br />

4 VFR Programming Language .......................................................................... 27<br />

4.1 BNF of VFR ......................................................................................................... 27<br />

4.2 VFR Programming Keywords.............................................................................. 29<br />

4.2.1 4.2.2 // (comment marker) ................................................................................ 29<br />

#define..................................................................................................... 29<br />

4.2.3 #include ................................................................................................... 29<br />

4.2.4 #strlang.................................................................................................... 29<br />

4.2.5 #strdef...................................................................................................... 29<br />

4.2.6 formset / endformset................................................................................ 30<br />

4.2.7 nvstorage................................................................................................. 30<br />

Version 0.92 1/19/00 iv

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!