mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-12 09:54:36 +01:00
fix bug with double and
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
0fc7980fa8
commit
89c685e15f
@ -835,7 +835,7 @@ InitializeMpSupport (
|
||||
// mNumberOfProcessors = NumberOfProcessors;
|
||||
|
||||
UINT64 msr = AsmReadMsr64 (MSR_CORE_THREAD_COUNT);
|
||||
mNumberOfProcessors = msr && 0xFF;
|
||||
mNumberOfProcessors = msr & 0xFF;
|
||||
DEBUG ((DEBUG_INFO, "Detect CPU count: %d\n", mNumberOfProcessors));
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user