mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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 */
|
||||
BlArchCpuId(0, 0, &CpuInfo);
|
||||
#if defined(_M_IX86) || defined(_M_X64)
|
||||
Temp = CpuInfo.Ecx;
|
||||
CpuInfo.Ecx = CpuInfo.Edx;
|
||||
CpuInfo.Edx = Temp;
|
||||
|
@ -974,6 +975,9 @@ BlArchGetCpuVendor (
|
|||
return CPU_RISE;
|
||||
}
|
||||
#endif // _M_IX86
|
||||
#else // defined(_M_IX86) || defined(_M_X64)
|
||||
EfiPrintf(L"BlArchGetCpuVendor not implemented for this platform.\r\n");
|
||||
#endif
|
||||
/* Other */
|
||||
return CPU_UNKNOWN;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue