public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: devel@edk2.groups.io
Cc: Eric Dong <eric.dong@intel.com>, Ray Ni <ray.ni@intel.com>,
	Rahul Kumar <rahul1.kumar@intel.com>
Subject: [Patch 2/3] UefiCpuPkg: Include <stdint.h> for host based unit tests
Date: Wed,  9 Feb 2022 18:41:52 -0800	[thread overview]
Message-ID: <20220210024153.1894-3-michael.d.kinney@intel.com> (raw)
In-Reply-To: <20220210024153.1894-1-michael.d.kinney@intel.com>

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2853

Update cmocka to a version that supports longer log messages.
This update requires <stdint.h> to be included before <cmocka.h>.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
---
 UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.h b/UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.h
index 57e656c5550e..c120c3634b3a 100644
--- a/UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.h
+++ b/UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.h
@@ -13,6 +13,7 @@
 #include <string.h>
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 #include <time.h>
-- 
2.32.0.windows.1


  parent reply	other threads:[~2022-02-10  2:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10  2:41 [Patch 0/3] Update cmocka submodule to 5a4b15870efa Michael D Kinney
2022-02-10  2:41 ` [Patch 1/3] MdeModulePkg: Include <stdint.h> for host based unit tests Michael D Kinney
2022-02-10  2:41 ` Michael D Kinney [this message]
2022-02-10  2:44   ` [Patch 2/3] UefiCpuPkg: " Ni, Ray
2022-02-10  2:41 ` [Patch 3/3] UnitTestFrameworkPkg: Update cmocka submodule to 5a4b15870efa Michael D Kinney
2022-02-11 16:38 ` [edk2-devel] [Patch 0/3] " thomas.j.rydman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220210024153.1894-3-michael.d.kinney@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox