diff options
author | Dongyan Qian <dongyan0314@gmail.com> | 2024-07-16 23:29:22 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-17 19:33:57 +0000 |
commit | 0adc868b362873eb7c749f3ac6c38f9e293af10d (patch) | |
tree | 836a8c19f917c540a6b4cd5aebc3e706bdfb9209 /ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c | |
parent | 11c50d6ca10a1410c2db187078fa7139e29e3042 (diff) | |
download | edk2-0adc868b362873eb7c749f3ac6c38f9e293af10d.zip edk2-0adc868b362873eb7c749f3ac6c38f9e293af10d.tar.gz edk2-0adc868b362873eb7c749f3ac6c38f9e293af10d.tar.bz2 |
MdePkg/BaseLib: Optimize LOONGARCH64 csr usage
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4812
When the Select is out of support, use method break exception
instead of method return -1, avoid unknown errors caused by untimely
detection.
Cc: Chao Li <lichao@loongson.cn>
Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c')
0 files changed, 0 insertions, 0 deletions