[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 18/33] hw/timer/hpet: Include "exec/address-spaces.h"

From: Laurent Vivier
Subject: [PULL 18/33] hw/timer/hpet: Include "exec/address-spaces.h"
Date: Mon, 9 Mar 2020 16:08:22 +0100

From: Philippe Mathieu-Daudé <address@hidden>

hw/timer/hpet.c calls address_space_stl_le() declared in
"exec/address-spaces.h". Include it.

This fixes (when modifying unrelated headers):

  hw/timer/hpet.c:210:31: error: use of undeclared identifier 
          address_space_stl_le(&address_space_memory, timer->fsb >> 32,

Acked-by: John Snow <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
 hw/timer/hpet.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c
index 4f30dd50a40a..380acfa7c8a5 100644
--- a/hw/timer/hpet.c
+++ b/hw/timer/hpet.c
@@ -36,6 +36,7 @@
 #include "hw/rtc/mc146818rtc_regs.h"
 #include "migration/vmstate.h"
 #include "hw/timer/i8254.h"
+#include "exec/address-spaces.h"
 //#define HPET_DEBUG
 #ifdef HPET_DEBUG

reply via email to

[Prev in Thread] Current Thread [Next in Thread]