mirror of
https://github.com/reactos/reactos.git
synced 2025-06-27 16:29:43 +00:00
[BOOTLIB] Disable some x86 / x64 specific code for other architectures
This commit is contained in:
parent
9592728f55
commit
a380a61605
1 changed files with 4 additions and 0 deletions
|
@ -943,6 +943,7 @@ BlArchGetCpuVendor (
|
||||||
|
|
||||||
/* Get the CPU Vendor */
|
/* Get the CPU Vendor */
|
||||||
BlArchCpuId(0, 0, &CpuInfo);
|
BlArchCpuId(0, 0, &CpuInfo);
|
||||||
|
#if defined(_M_IX86) || defined(_M_X64)
|
||||||
Temp = CpuInfo.Ecx;
|
Temp = CpuInfo.Ecx;
|
||||||
CpuInfo.Ecx = CpuInfo.Edx;
|
CpuInfo.Ecx = CpuInfo.Edx;
|
||||||
CpuInfo.Edx = Temp;
|
CpuInfo.Edx = Temp;
|
||||||
|
@ -974,6 +975,9 @@ BlArchGetCpuVendor (
|
||||||
return CPU_RISE;
|
return CPU_RISE;
|
||||||
}
|
}
|
||||||
#endif // _M_IX86
|
#endif // _M_IX86
|
||||||
|
#else // defined(_M_IX86) || defined(_M_X64)
|
||||||
|
EfiPrintf(L"BlArchGetCpuVendor not implemented for this platform.\r\n");
|
||||||
|
#endif
|
||||||
/* Other */
|
/* Other */
|
||||||
return CPU_UNKNOWN;
|
return CPU_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue