mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
- Fix comparsion that I broke with my last commit.
svn path=/trunk/; revision=12328
This commit is contained in:
parent
32dfb00066
commit
373381ed59
|
@ -296,7 +296,7 @@ KeInit1(PCHAR CommandLine, PULONG LastKernelAddress)
|
||||||
* Make the detection of the noexecute feature more portable.
|
* Make the detection of the noexecute feature more portable.
|
||||||
*/
|
*/
|
||||||
if(KPCR->PrcbData.CpuType == 0xf &&
|
if(KPCR->PrcbData.CpuType == 0xf &&
|
||||||
0 == memcpy("AuthenticAMD", KPCR->PrcbData.VendorString, 12))
|
RtlCompareMemory("AuthenticAMD", KPCR->PrcbData.VendorString, 8) == 8)
|
||||||
{
|
{
|
||||||
if (NoExecute)
|
if (NoExecute)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue