From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 2C06E94105C for ; Wed, 21 Feb 2024 03:16:15 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=FWrRc/ZyHyKJHKJ8+fM4soXepKe2D6YzlQJHft5XXZg=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1708485373; v=1; b=nPeOJ55ZZSgaqpkrvkb8c3R6BRNXRroKxuu+1bA/GzozLBUqpoAV81D0VfFKAab5oGwIO4pM UIFQJD0iqJmfYQ+aMa7B9eaOjq6YJD9+7s5mXw9iq9p3FZXecO92ePy9V7UbskpWvpBVDe5jWtD +3803jtXOSgKkLspFv/eyvyQ= X-Received: by 127.0.0.2 with SMTP id 6glmYY7687511xZbiqJyWBdf; Tue, 20 Feb 2024 19:16:13 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by mx.groups.io with SMTP id smtpd.web10.5256.1708485373256494004 for ; Tue, 20 Feb 2024 19:16:13 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10990"; a="2778742" X-IronPort-AV: E=Sophos;i="6.06,174,1705392000"; d="scan'208";a="2778742" X-Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 19:16:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,174,1705392000"; d="scan'208";a="4950255" X-Received: from babios001.gar.corp.intel.com ([10.223.9.189]) by fmviesa009.fm.intel.com with ESMTP; 20 Feb 2024 19:16:11 -0800 From: "Gahan" To: devel@edk2.groups.io Cc: Gahan Saraiya , Ray Ni Subject: [edk2-devel] [edk2-platforms][PATCH V3] OptionRomPkg: Update for UEFI spec v2.9 - mantis #1866 Date: Wed, 21 Feb 2024 08:45:49 +0530 Message-Id: <9d5fd189126c8af4d63397b25cfd8425026dad6a.1708484010.git.gahan.saraiya@intel.com> MIME-Version: 1.0 Precedence: Bulk 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,gahan.saraiya@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: B2ZwanEygBTgt605sZWBUuiex7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=nPeOJ55Z; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4689=0D =0D Bug 4689 - GetInfo() of Adapter Information Protocol=0D should have a provision for IHV to return no data for=0D UEFI Spec compliance 2.9 [mantis #1866]=0D =0D Cc: Ray Ni =0D Signed-off-by: Gahan Saraiya =0D ---=0D Drivers/OptionRomPkg/UndiRuntimeDxe/Undi32.h | 17 +++++++++--------=0D 1 file changed, 9 insertions(+), 8 deletions(-)=0D =0D diff --git a/Drivers/OptionRomPkg/UndiRuntimeDxe/Undi32.h b/Drivers/OptionR= omPkg/UndiRuntimeDxe/Undi32.h=0D index 31c55a8e11..45c1f41414 100644=0D --- a/Drivers/OptionRomPkg/UndiRuntimeDxe/Undi32.h=0D +++ b/Drivers/OptionRomPkg/UndiRuntimeDxe/Undi32.h=0D @@ -350,23 +350,24 @@ VOID PxeUpdate (NIC_DATA_INSTANCE *NicPtr, PXE_SW_UND= I *PxePtr);=0D =0D This function returns information of type InformationType from the adapt= er.=0D If an adapter does not support the requested informational type, then=0D - EFI_UNSUPPORTED is returned.=0D + EFI_UNSUPPORTED is returned.=0D =0D @param[in] This A pointer to the EFI_ADAPTER_INFORMAT= ION_PROTOCOL instance.=0D @param[in] InformationType A pointer to an EFI_GUID that defines= the contents of InformationBlock.=0D - @param[out] InforamtionBlock The service returns a pointer to the = buffer with the InformationBlock=0D + @param[out] InformationBlock The service returns a pointer to the = buffer with the InformationBlock=0D structure which contains details abou= t the data specific to InformationType.=0D - @param[out] InforamtionBlockSize The driver returns the size of the In= formationBlock in bytes.=0D + @param[out] InformationBlockSize The driver returns the size of the In= formationBlock in bytes.=0D =0D @retval EFI_SUCCESS The InformationType information was r= etrieved.=0D @retval EFI_UNSUPPORTED The InformationType is not known.=0D + @retval EFI_NOT_FOUND Information is not available for the = requested information type.=0D @retval EFI_DEVICE_ERROR The device reported an error.=0D @retval EFI_OUT_OF_RESOURCES The request could not be completed du= e to a lack of resources.=0D - @retval EFI_INVALID_PARAMETER This is NULL.=0D - @retval EFI_INVALID_PARAMETER InformationBlock is NULL.=0D + @retval EFI_INVALID_PARAMETER This is NULL.=0D + @retval EFI_INVALID_PARAMETER InformationBlock is NULL.=0D @retval EFI_INVALID_PARAMETER InformationBlockSize is NULL.=0D =0D -**/=0D +**/=0D EFI_STATUS=0D EFIAPI=0D UndiAipGetInfo (=0D @@ -396,7 +397,7 @@ UndiAipGetInfo (=0D @retval EFI_INVALID_PARAMETER InformationBlock is NULL.=0D @retval EFI_WRITE_PROTECTED The InformationType cannot be modifie= d using EFI_ADAPTER_INFO_SET_INFO().=0D =0D -**/=0D +**/=0D EFI_STATUS=0D EFIAPI=0D UndiAipSetInfo (=0D @@ -427,7 +428,7 @@ UndiAipSetInfo (=0D @retval EFI_INVALID_PARAMETER InfoTypesBufferCount is NULL.=0D @retval EFI_OUT_OF_RESOURCES There is not enough pool memory to sto= re the results.=0D =0D -**/=0D +**/=0D EFI_STATUS=0D EFIAPI=0D UndiAipGetSupportedTypes (=0D --=0D 2.39.2.windows.1=0D =0D -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115702): https://edk2.groups.io/g/devel/message/115702 Mute This Topic: https://groups.io/mt/104482288/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-