[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 29/30] tpm: use the BYTE-based definitions
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH 29/30] tpm: use the BYTE-based definitions |
Date: |
Thu, 15 Feb 2018 01:28:59 -0300 |
It ease code review, unit is explicit.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
include/hw/acpi/tpm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/hw/acpi/tpm.h b/include/hw/acpi/tpm.h
index 96fd3a92f7..751567a73a 100644
--- a/include/hw/acpi/tpm.h
+++ b/include/hw/acpi/tpm.h
@@ -71,7 +71,7 @@ REG32(CRB_DATA_BUFFER, 0x80)
#define TPM_CRB_ADDR_CTRL (TPM_CRB_ADDR_BASE + A_CRB_CTRL_REQ)
#define TPM_CRB_R_MAX R_CRB_DATA_BUFFER
-#define TPM_LOG_AREA_MINIMUM_SIZE (64 * 1024)
+#define TPM_LOG_AREA_MINIMUM_SIZE (64 * K_BYTE)
#define TPM_TCPA_ACPI_CLASS_CLIENT 0
#define TPM_TCPA_ACPI_CLASS_SERVER 1
--
2.16.1
- [Qemu-devel] [PATCH 24/30] hw/ipack: use the BYTE-based definitions, (continued)
- [Qemu-devel] [PATCH 24/30] hw/ipack: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
- [Qemu-devel] [PATCH 25/30] hw/scsi: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
- [Qemu-devel] [PATCH 22/30] hw/display: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
- [Qemu-devel] [PATCH 26/30] hw/smbios: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
- [Qemu-devel] [PATCH 27/30] vfio/pci: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
- [Qemu-devel] [PATCH 28/30] ivshmem: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
- [Qemu-devel] [PATCH 29/30] tpm: use the BYTE-based definitions,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH 30/30] xen: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14