mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-26 13:10:56 +00:00
x86_64: use project name in cpuid vendor
The official name is "crosvm", not "CrOSVM". BUG=None TEST=None Change-Id: I21f200d8224c9a8fee53011a63ff4ad165128904 Reviewed-on: https://chromium-review.googlesource.com/976941 Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org>
This commit is contained in:
parent
1776c645c9
commit
064696f4fa
1 changed files with 4 additions and 4 deletions
|
@ -10,11 +10,11 @@ use kvm;
|
|||
use sys_util;
|
||||
|
||||
// Query the CPU vendor. ebx/ecx/edx pack an ASCII string into these 3 regs
|
||||
// in little endian format. We set to "CrOSVMBestVM".
|
||||
// in little endian format. We set to "crosvmBestVM".
|
||||
// https://en.wikipedia.org/wiki/CPUID#EAX=0:_Get_vendor_ID_(including_EAX=1:_Get_CPUID)
|
||||
const VENDOR_EBX_VAL: u32 = 0x4d567473; // MVts
|
||||
const VENDOR_ECX_VAL: u32 = 0x65424d56; // eBMV
|
||||
const VENDOR_EDX_VAL: u32 = 0x534f7243; // SOrC
|
||||
const VENDOR_EBX_VAL: u32 = 0x736f7263; // sorc
|
||||
const VENDOR_ECX_VAL: u32 = 0x4d567473; // MVts
|
||||
const VENDOR_EDX_VAL: u32 = 0x65426d76; // eBmv
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub enum Error {
|
||||
|
|
Loading…
Reference in a new issue