projects
/
mirror_edk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ae7f5
)
UefiCpuPkg MpInitLib: Update return status to follow spec.
author
Eric Dong
<eric.dong@intel.com>
Thu, 6 Jul 2017 01:25:37 +0000
(09:25 +0800)
committer
Eric Dong
<eric.dong@intel.com>
Fri, 7 Jul 2017 00:54:11 +0000
(08:54 +0800)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
UefiCpuPkg/Library/MpInitLib/MpLib.c
patch
|
blob
|
blame
|
history
diff --git
a/UefiCpuPkg/Library/MpInitLib/MpLib.c
b/UefiCpuPkg/Library/MpInitLib/MpLib.c
index df19b43bc03a0ba73dc0effc5802a2279be5bf67..a3eea29d61483eff41dcd28a8c8d4dae15c1e59d 100644
(file)
--- a/
UefiCpuPkg/Library/MpInitLib/MpLib.c
+++ b/
UefiCpuPkg/Library/MpInitLib/MpLib.c
@@
-1584,7
+1584,7
@@
SwitchBSPWorker (
//
\r
MpInitLibWhoAmI (&CallerNumber);
\r
if (CallerNumber != CpuMpData->BspNumber) {
\r
- return EFI_
SUCCESS
;
\r
+ return EFI_
DEVICE_ERROR
;
\r
}
\r
\r
if (ProcessorNumber >= CpuMpData->CpuCount) {
\r