hexware-kernel/patches/qemu/9004-antidetect-hw-arm.patch

48 lines
1.6 KiB
Diff

diff -Naur --no-dereference a/hw/arm/nseries.c b/hw/arm/nseries.c
--- a/hw/arm/nseries.c
+++ b/hw/arm/nseries.c
@@ -849,7 +849,7 @@
memset(p, 0, 0x3000);
- strcpy((void *) (p + 0), "QEMU N800");
+ strcpy((void *) (p + 0), "ASUS N800");
strcpy((void *) (p + 8), "F5");
@@ -1152,7 +1152,7 @@
stw_p(w++, OMAP_TAG_LCD); /* u16 tag */
stw_p(w++, 36); /* u16 len */
- strcpy((void *) w, "QEMU LCD panel"); /* char panel_name[16] */
+ strcpy((void *) w, "ASUS LCD panel"); /* char panel_name[16] */
w += 8;
strcpy((void *) w, "blizzard"); /* char ctrl_name[16] */
w += 8;
@@ -1272,11 +1272,11 @@
stw_p(w++, 24); /* u16 len */
strcpy((void *) w, "hw-build"); /* char component[12] */
w += 6;
- strcpy((void *) w, "QEMU ");
+ strcpy((void *) w, "ASUS ");
pstrcat((void *) w, 12, qemu_hw_version()); /* char version[12] */
w += 6;
- tag = (model == 810) ? "1.1.10-qemu" : "1.1.6-qemu";
+ tag = (model == 810) ? "1.1.10-asus" : "1.1.6-asus";
stw_p(w++, OMAP_TAG_VERSION_STR); /* u16 tag */
stw_p(w++, 24); /* u16 len */
strcpy((void *) w, "nolo"); /* char component[12] */
diff -Naur --no-dereference a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
--- a/hw/arm/sbsa-ref.c
+++ b/hw/arm/sbsa-ref.c
@@ -874,7 +874,7 @@
};
mc->init = sbsa_ref_init;
- mc->desc = "QEMU 'SBSA Reference' ARM Virtual Machine";
+ mc->desc = "ASUS 'SBSA Reference' ARM Real Machine";
mc->default_cpu_type = ARM_CPU_TYPE_NAME("neoverse-n1");
mc->valid_cpu_types = valid_cpu_types;
mc->max_cpus = 512;