diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-06-12 14:54:02 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-06-14 09:45:39 +0800 |
commit | 7053060f5f9ccc373ccb29607397d0f82c519751 (patch) | |
tree | 9c8a517c6ce2e36f2286d28d2ee6cd24440f846a /IntelFrameworkModulePkg | |
parent | 26a7ece72189cb83b1be4bf529253ca1e7b9cb57 (diff) | |
download | edk2-platforms-7053060f5f9ccc373ccb29607397d0f82c519751.tar.xz |
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>
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r-- | IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacySio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacySio.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacySio.c index 6c7d7d6b9f..9df91d15a3 100644 --- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacySio.c +++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacySio.c @@ -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
|