]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/i386/acpi-build.c
hw/i386: Use the IEC binary prefix definitions
[mirror_qemu.git] / hw / i386 / acpi-build.c
index 9bc6d97ea1b98d07c12568b217c36e2e3ba7ca7c..796de91bf3543d5eb59d45c7863ed258626d39fc 100644 (file)
@@ -2248,8 +2248,8 @@ build_tpm2(GArray *table_data, BIOSLinker *linker, GArray *tcpalog)
                  (void *)tpm2_ptr, "TPM2", sizeof(*tpm2_ptr), 4, NULL, NULL);
 }
 
-#define HOLE_640K_START  (640 * 1024)
-#define HOLE_640K_END   (1024 * 1024)
+#define HOLE_640K_START  (640 * KiB)
+#define HOLE_640K_END   (1 * MiB)
 
 static void build_srat_hotpluggable_memory(GArray *table_data, uint64_t base,
                                            uint64_t len, int default_node)