mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[EX]
- Fix calculation of PCR pointer from PRCB pointer svn path=/trunk/; revision=44424
This commit is contained in:
parent
7bc1b745e3
commit
cef0db194e
1 changed files with 1 additions and 1 deletions
|
@ -1253,7 +1253,7 @@ QSI_DEF(SystemInterruptInformation)
|
||||||
for (i = 0; i < KeNumberProcessors; i++)
|
for (i = 0; i < KeNumberProcessors; i++)
|
||||||
{
|
{
|
||||||
Prcb = KiProcessorBlock[i];
|
Prcb = KiProcessorBlock[i];
|
||||||
Pcr = CONTAINING_RECORD(Prcb, KPCR, Prcb);
|
Pcr = (PKPCR)CONTAINING_RECORD(Prcb, KIPCR, PrcbData);
|
||||||
#ifdef _M_ARM // This code should probably be done differently
|
#ifdef _M_ARM // This code should probably be done differently
|
||||||
sii->ContextSwitches = Pcr->ContextSwitches;
|
sii->ContextSwitches = Pcr->ContextSwitches;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue