mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[BOOTLIB] Disable some x86 / x64 specific code for other architectures
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user