Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: cd3692b11ed3c760acc1015ac19785b9a36054e8
      
https://github.com/tianocore/edk2/commit/cd3692b11ed3c760acc1015ac19785b9a36054e8
  Author: Satya Yarlagadda <satya.p.yarlaga...@intel.com>
  Date:   2016-09-20 (Tue, 20 Sep 2016)

  Changed paths:
    M IntelFsp2Pkg/Tools/GenCfgOpt.py

  Log Message:
  -----------
  IntelFsp2Pkg: Align #Pragma in UPD header files to rest of EDK2 Pkgs

Changed the GenCfgOpt.py script to insert pragma pack(1) instead of
pragma pack (push, 1) in the upd header files generated during fsp build.
This is to align with rest of the EDKII pkgs pragma pack usage.

Also, this scripts generates UnusedUpdSpace for UPD address gaps.
Currently it uses UIN16/UINT32/UINT64 for 2/4/8 bytes instead of UINT8[],
thus causing upd space waste to have Natural Alignment. Hence changed the
script to use UINT8[] for any unusedUpd fields above 1 byte.

Cc: Maurice Ma <maurice...@intel.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Giri P Mudusuru <giri.p.mudus...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Satya Yarlagadda <satya.p.yarlaga...@intel.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com>


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to