From nobody Wed May 8 07:48:05 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78182+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78182+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1627340180; cv=none; d=zohomail.com; s=zohoarc; b=gLMCWFtS+mZa3La2/P31v1u55ifrDAgXm+FiFoM+fy0ubIfpHWAYnZmz4SUYcRDlOfMb8B+RNKiJcDcjCn3ZG6wvgn+CcOdf8EHglv4iq/m6vpjtXXF/SgjgkcpzajDVULV+JMyiKpsMSbt5K6GjcEJ7svfufKMBWzuQWxN7kQc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1627340180; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=MSm4ZQ3GLLEI9tfVeUwoVTcRkMKR8SR6DIxV7tgZm+I=; b=LYf4AQNxM8UW0fmhyZE4Mzs5vAr4Jt68FaKq70XXToLq2anBHPUH1Cec5/tlLXByCCifInEqPqDIsxkSihZHN9/g16itzaXA3TFhsQMu1gsYvQd/7zCPI+dzGZdADZKy3m8QYR/qF3hrgxK9ejtynlVbomRPo96oMWWmCvWknPs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78182+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1627340180768585.6484954773766; Mon, 26 Jul 2021 15:56:20 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id tqVEYY1788612xeLaHWJcb9L; Mon, 26 Jul 2021 15:56:20 -0700 X-Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by mx.groups.io with SMTP id smtpd.web11.4145.1627340179298037643 for ; Mon, 26 Jul 2021 15:56:19 -0700 X-Received: by mail-qk1-f169.google.com with SMTP id 129so10572623qkg.4 for ; Mon, 26 Jul 2021 15:56:19 -0700 (PDT) X-Gm-Message-State: LvxHfvgdCbSe6evaFs1Xjpv9x1787277AA= X-Google-Smtp-Source: ABdhPJzrH4+WiEZxPWZtfUHqxh62g+JGrv80YuaqFVUkynPQaJ4h0ANAXXFxc+8JnfMoKlCC3F/rEg== X-Received: by 2002:a05:620a:1907:: with SMTP id bj7mr15982812qkb.315.1627340178300; Mon, 26 Jul 2021 15:56:18 -0700 (PDT) X-Received: from benjamind-benjamindomain.. ([2607:f2c0:e98c:24:b292:d49f:6437:7090]) by smtp.gmail.com with ESMTPSA id s3sm738689qke.85.2021.07.26.15.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 15:56:17 -0700 (PDT) From: "Benjamin Doron" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [edk2-platforms][PATCH v1] MinPlatformPkg/Test/TestPointCheckLib: Correctly print memory map entry Date: Mon, 26 Jul 2021 18:56:03 -0400 Message-Id: <20210726225603.303379-1-benjamin.doron00@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,benjamin.doron00@gmail.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1627340180; bh=e50ln4U96KusAwBaxRLhvA03GZbyoO710P7MXj26xyw=; h=Cc:Date:From:Reply-To:Subject:To; b=B0YlEcdtS2jwmQcTAwo0Hq1r8h4JOdMyyZKqkqh5eeI8blZVDb+rOA7pJsTV8LnSYkH OTp0FurHxJY1A5iI2zeLT2RrFyV/Po9cqMMSujWOTpUTrU3WHqJ+5uIycDWdzRDzNcCRm nu02xckL9CkZecIPXU5t2Nc7OItCDbfaDUY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1627340182467100002 Content-Type: text/plain; charset="utf-8" In the case that there are too many EfiRuntimeServicesData entries, this was incorrectly printing the number of EfiRuntimeServicesCode entries. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Benjamin Doron Reviewed-by: Chasel Chiu Reviewed-by: Nate DeSimone --- Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemor= yMap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/D= xeCheckMemoryMap.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCh= eckLib/DxeCheckMemoryMap.c index fce44bf73e9d..b8ebac8fe304 100644 --- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheck= MemoryMap.c +++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheck= MemoryMap.c @@ -135,7 +135,7 @@ TestPointCheckUefiMemoryMapEntry ( DEBUG ((DEBUG_ERROR, "EfiRuntimeServicesCode entry - %d\n", EntryCount= [EfiRuntimeServicesCode])); } if (EntryCount[EfiRuntimeServicesData] > 1) { - DEBUG ((DEBUG_ERROR, "EfiRuntimeServicesData entry - %d\n", EntryCount= [EfiRuntimeServicesCode])); + DEBUG ((DEBUG_ERROR, "EfiRuntimeServicesData entry - %d\n", EntryCount= [EfiRuntimeServicesData])); } if (EntryCount[EfiACPIMemoryNVS] > 1) { DEBUG ((DEBUG_ERROR, "EfiACPIMemoryNVS entry - %d\n", EntryCount[EfiAC= PIMemoryNVS])); @@ -300,4 +300,4 @@ TestPointCheckUefiMemoryMap ( Done: DEBUG ((DEBUG_INFO, "=3D=3D=3D=3D TestPointCheckUefiMemoryMap - Exit\n")= ); return Status; -} \ No newline at end of file +} --=20 2.31.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78182): https://edk2.groups.io/g/devel/message/78182 Mute This Topic: https://groups.io/mt/84470584/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-