aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi/hmat.c
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-07-14 14:32:24 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-21 11:31:16 +0300
commit9b4b4e510bcb8b1c3c4789615dce3b520aa1f1d3 (patch)
treee04f03cda7af4a085d547f58113f9c5b0adc99d7 /hw/acpi/hmat.c
parent6eedbb5b0c2a1c79d377da9a08956f896ad66beb (diff)
hw/other: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/acpi/hmat.c')
-rw-r--r--hw/acpi/hmat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/hmat.c b/hw/acpi/hmat.c
index 3a6d51282a..2d5e199ba9 100644
--- a/hw/acpi/hmat.c
+++ b/hw/acpi/hmat.c
@@ -82,7 +82,7 @@ static void build_hmat_lb(GArray *table_data, HMAT_LB_Info *hmat_lb,
uint32_t base;
/* Length in bytes for entire structure */
uint32_t lb_length
- = 32 /* Table length upto and including Entry Base Unit */
+ = 32 /* Table length up to and including Entry Base Unit */
+ 4 * num_initiator /* Initiator Proximity Domain List */
+ 4 * num_target /* Target Proximity Domain List */
+ 2 * num_initiator * num_target; /* Latency or Bandwidth Entries */