From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.2731.1588057338787952898 for ; Tue, 28 Apr 2020 00:02:19 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: guomin.jiang@intel.com) IronPort-SDR: yd5mUx0jiZJBQk5dmivBEhd+X92IRCy2dWH6OEAL+YsG4dt8TgMUmF888f8QeFFpTXX/XddJYF 8rVc+ff5R0Zg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 00:01:17 -0700 IronPort-SDR: 4EJJIKSbfnXvfSLSd+aavrjNPaFZofmS8od3ZhaKNUQ94BSVq/bMgJTgrH0Stc86RRXd0nTQ6x Wfje8G8hhSLw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,327,1583222400"; d="scan'208";a="292764364" Received: from guominji-mobl.ccr.corp.intel.com ([10.238.5.173]) by fmsmga002.fm.intel.com with ESMTP; 28 Apr 2020 00:01:16 -0700 From: "Guomin Jiang" To: devel@edk2.groups.io Subject: [PATCH v3 0/2] Define the unique _fltused in BaseLib Date: Tue, 28 Apr 2020 15:01:13 +0800 Message-Id: <20200428070115.830-1-guomin.jiang@intel.com> X-Mailer: git-send-email 2.25.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Out of edk2 may need _fltused and may confict with edk2, define the unique to provide the _fltused and expect to avoid build error result by missing _fltused symbol Guomin Jiang (2): MdePkg/BaseLib: Add _fltused to feed MSVC compiler CryptoPkg/IntrinsicLib: Remove _fltused to avoid duplication CryptoPkg/Library/IntrinsicLib/MemoryIntrinsics.c | 12 +----------- MdePkg/Library/BaseLib/BaseLib.inf | 3 ++- MdePkg/Library/BaseLib/FltUsed.c | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 MdePkg/Library/BaseLib/FltUsed.c -- 2.25.1.windows.1