]> git.proxmox.com Git - mirror_edk2.git/commit
EmulatorPkg: Enable CLANG9 tool chain
authorLiming Gao <liming.gao@intel.com>
Thu, 17 Oct 2019 06:55:54 +0000 (14:55 +0800)
committerLiming Gao <liming.gao@intel.com>
Thu, 24 Oct 2019 01:41:34 +0000 (09:41 +0800)
commit2737037a417a97de8153ebc5e4556bdf38f765c6
tree723c01e10795c9a7e2bda35c00c00293af27cd77
parent933681b2084435ec2744e7042e3864cabd4fa879
EmulatorPkg: Enable CLANG9 tool chain

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1603
1. Add WIN_HOST_BUILD macro check for CLANG9 tool chain
build -p EmulatorPkg\EmulatorPkg.dsc -a IA32 -DWIN_HOST_BUILD=TRUE -t CLANG9
build -p EmulatorPkg\EmulatorPkg.dsc -a X64 -DWIN_HOST_BUILD=TRUE -t CLANG9
2. Append CLANG CC and LINK flags to generate windows HOST.
3. Fix WinHost issue to call GetProcessAffinityMask() API.
   The input parameter should be UINTN pointer instead of UINT32 pointer.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
EmulatorPkg/EmulatorPkg.dsc
EmulatorPkg/Win/Host/WinHost.c
EmulatorPkg/Win/Host/WinHost.inf