Intel® Arria® 10 SoC UEFI Boot Loader User Guide

ID 683536
Date 12/15/2017
Document Table of Contents Type and Macro Names

  1. Use all capital letters for both #define and typedef declarations. This clearly differentiates static declarations from dynamic data types.
    UINT32 UefiVariable
  2. Each word of a concept shall be separated by an underscore character. The underscore effectively separates the words, making the names more readable.
    typedef struct MyStruct {
    int one;
    int two;
    int three;
    } MY_STRUCT;
  3. The use of the _t suffix, designating a type, is not allowed.
  4. The names of guard macros shall end with an underscore character.
    #ifndef FILE_NAME_H_ 
    #define FILE_NAME_H_