mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Add boundary check against APIC ID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10757 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fd627b160d
commit
6c45642e2b
@ -1272,6 +1272,8 @@ SendInitSipiSipi (
|
||||
UINT32 VectorNumber;
|
||||
UINT32 DeliveryMode;
|
||||
|
||||
ASSERT (ApicID < MAX_CPU_NUMBER);
|
||||
|
||||
mExchangeInfo->ApFunction = ApFunction;
|
||||
mExchangeInfo->ProcessorNumber[ApicID] = (UINT32) ProcessorNumber;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user