31 lines
1.5 KiB
Diff
31 lines
1.5 KiB
Diff
diff -Naur --no-dereference a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
|
|
--- a/hw/acpi/aml-build.c 2023-07-04 11:03:21.555219247 +0000
|
|
+++ b/hw/acpi/aml-build.c 2023-07-04 11:39:20.297679935 +0000
|
|
@@ -1724,11 +1724,11 @@
|
|
build_append_int_noprefix(array, 0, 4); /* Length */
|
|
build_append_int_noprefix(array, desc->rev, 1); /* Revision */
|
|
build_append_int_noprefix(array, 0, 1); /* Checksum */
|
|
- build_append_padded_str(array, desc->oem_id, 6, '\0'); /* OEMID */
|
|
+ build_append_padded_str(array, ACPI_BUILD_APPNAME6, 6, '\0'); /* OEMID */ //desc->oem_id
|
|
/* OEM Table ID */
|
|
- build_append_padded_str(array, desc->oem_table_id, 8, '\0');
|
|
+ build_append_padded_str(array, ACPI_BUILD_APPNAME8, 8, '\0'); //desc->oem_table_id
|
|
build_append_int_noprefix(array, 1, 4); /* OEM Revision */
|
|
- g_array_append_vals(array, ACPI_BUILD_APPNAME8, 4); /* Creator ID */
|
|
+ g_array_append_vals(array, "PTL ", 4); /* Creator ID */
|
|
build_append_int_noprefix(array, 1, 4); /* Creator Revision */
|
|
}
|
|
|
|
diff -Naur --no-dereference a/hw/acpi/vmgenid.c b/hw/acpi/vmgenid.c
|
|
--- a/hw/acpi/vmgenid.c 2023-07-04 12:01:31.057362700 +0000
|
|
+++ b/hw/acpi/vmgenid.c 2023-07-20 17:00:52.308762303 +0000
|
|
@@ -25,6 +25,8 @@
|
|
void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid,
|
|
BIOSLinker *linker, const char *oem_id)
|
|
{
|
|
+ //FUCK YOU~~~
|
|
+ return;
|
|
Aml *ssdt, *dev, *scope, *method, *addr, *if_ctx;
|
|
uint32_t vgia_offset;
|
|
QemuUUID guid_le;
|