mirror of https://github.com/acidanthera/audk.git
IntelFrameworkModulePkg/LegacyBios: return NotFound when IsaIo absent
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
parent
26a7ece721
commit
7053060f5f
|
@ -23,7 +23,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
@param SioPtr Pointer to SIO data.
|
||||
|
||||
@retval EFI_SUCCESS It should always work.
|
||||
@retval EFI_SUCCESS When SIO data is got successfully.
|
||||
@retval EFI_NOT_FOUND When ISA IO interface is absent.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
@ -62,7 +63,7 @@ LegacyBiosBuildSioDataFromIsaIo (
|
|||
&HandleBuffer
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return EFI_SUCCESS;
|
||||
return EFI_NOT_FOUND;
|
||||
}
|
||||
//
|
||||
// Collect legacy information from each of the ISA controllers in the system
|
||||
|
|
Loading…
Reference in New Issue