mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 08:39:05 +00:00
[NMIDEBUG]
Fix compilation with MSVC svn path=/branches/cmake-bringup/; revision=50712
This commit is contained in:
parent
8e32abe55c
commit
a7014019f3
|
@ -21,7 +21,14 @@ NmiClearFlag(VOID)
|
||||||
{
|
{
|
||||||
((PCHAR)&KiBugCheckData[4])[0] -= (NmiBegin[3] | NmiBegin[7]);
|
((PCHAR)&KiBugCheckData[4])[0] -= (NmiBegin[3] | NmiBegin[7]);
|
||||||
((PCHAR)&KiBugCheckData[4])[3] |= 1;
|
((PCHAR)&KiBugCheckData[4])[3] |= 1;
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
__asm
|
||||||
|
{
|
||||||
|
rcr KiBugCheckData[4], 8
|
||||||
|
}
|
||||||
|
#else
|
||||||
__asm__("rcrl %b[shift], %k[retval]" : [retval] "=rm" (KiBugCheckData[4]) : "[retval]" (KiBugCheckData[4]), [shift] "Nc" (8));
|
__asm__("rcrl %b[shift], %k[retval]" : [retval] "=rm" (KiBugCheckData[4]) : "[retval]" (KiBugCheckData[4]), [shift] "Nc" (8));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
|
Loading…
Reference in a new issue