Displaying 4 results from an estimated 4 matches for "c_vendor".
Did you mean:
r_vendor
2019 May 15
1
[PATCH] Add support for Hygon Dhyana processor
...)
diff --git a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c
index 2abd0bda..0681dbce 100644
--- a/com32/gpllib/cpuid.c
+++ b/com32/gpllib/cpuid.c
@@ -60,6 +60,11 @@ static struct cpu_dev amd_cpu_dev = {
.c_ident = {"AuthenticAMD"}
};
+static struct cpu_dev hygon_cpu_dev = {
+ .c_vendor = "Hygon",
+ .c_ident = {"HygonGenuine"}
+};
+
static struct cpu_dev intel_cpu_dev = {
.c_vendor = "Intel",
.c_ident = {"GenuineIntel"}
@@ -149,6 +154,7 @@ void init_cpu_devs(void)
cpu_devs[X86_VENDOR_RISE] = &rise_cpu_dev;
cpu_dev...
2011 Apr 02
2
[patch] ~420 seconds in cpu_detect
...print_timer(et, "family-vendor-model-stepping");
/* THIS TAKES 420 seconds
it blows up cuz c->x86_vendor is 255, > X86_VENDOR_NUM,
so code is overrunning memory - lucky result wasnt more severe.
strlcpy(cpu->vendor, cpu_devs[c->x86_vendor]->c_vendor,
sizeof(cpu->vendor));
*/
strlcpy(cpu->model, c->x86_vendor_id, sizeof(cpu->vendor));
strlcpy(cpu->model, c->x86_model_id, sizeof(cpu->model));
print_timer(et, "family-vendor strings");
cpu->num_cores = c->x86_num_cores;
cpu->l1...
2011 Apr 02
2
[patch] ~420 seconds in cpu_detect
...print_timer(et, "family-vendor-model-stepping");
/* THIS TAKES 420 seconds
it blows up cuz c->x86_vendor is 255, > X86_VENDOR_NUM,
so code is overrunning memory - lucky result wasnt more severe.
strlcpy(cpu->vendor, cpu_devs[c->x86_vendor]->c_vendor,
sizeof(cpu->vendor));
*/
strlcpy(cpu->model, c->x86_vendor_id, sizeof(cpu->vendor));
strlcpy(cpu->model, c->x86_model_id, sizeof(cpu->model));
print_timer(et, "family-vendor strings");
cpu->num_cores = c->x86_num_cores;
cpu->l1...
2020 Sep 16
0
[RFC PATCH] x86_64: Add support for Hygon Dhyana processor
...)
diff --git a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c
index 2abd0bda..0681dbce 100644
--- a/com32/gpllib/cpuid.c
+++ b/com32/gpllib/cpuid.c
@@ -60,6 +60,11 @@ static struct cpu_dev amd_cpu_dev = {
.c_ident = {"AuthenticAMD"}
};
+static struct cpu_dev hygon_cpu_dev = {
+ .c_vendor = "Hygon",
+ .c_ident = {"HygonGenuine"}
+};
+
static struct cpu_dev intel_cpu_dev = {
.c_vendor = "Intel",
.c_ident = {"GenuineIntel"}
@@ -149,6 +154,7 @@ void init_cpu_devs(void)
cpu_devs[X86_VENDOR_RISE] = &rise_cpu_dev;
cpu_dev...