]> Git Repo - qemu.git/commitdiff
ppc/psi: cleanup definitions
authorCédric Le Goater <[email protected]>
Thu, 5 Dec 2019 18:44:52 +0000 (19:44 +0100)
committerDavid Gibson <[email protected]>
Mon, 16 Dec 2019 23:39:48 +0000 (10:39 +1100)
Signed-off-by: Cédric Le Goater <[email protected]>
Message-Id: <20191205184454[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/pnv_psi.c

index 7e725aaf2bd50fe74c043112d8e30f14481f7742..e6c266ac4a94eb466ff0e0dacac7ed4c1010f7f0 100644 (file)
@@ -608,9 +608,12 @@ static const TypeInfo pnv_psi_power8_info = {
 #define   PSIHB9_IRQ_METHOD             PPC_BIT(0)
 #define   PSIHB9_IRQ_RESET              PPC_BIT(1)
 #define PSIHB9_ESB_CI_BASE              0x60
-#define   PSIHB9_ESB_CI_VALID           1
+#define   PSIHB9_ESB_CI_64K             PPC_BIT(1)
+#define   PSIHB9_ESB_CI_ADDR_MASK       PPC_BITMASK(8, 47)
+#define   PSIHB9_ESB_CI_VALID           PPC_BIT(63)
 #define PSIHB9_ESB_NOTIF_ADDR           0x68
-#define   PSIHB9_ESB_NOTIF_VALID        1
+#define   PSIHB9_ESB_NOTIF_ADDR_MASK    PPC_BITMASK(8, 60)
+#define   PSIHB9_ESB_NOTIF_VALID        PPC_BIT(63)
 #define PSIHB9_IVT_OFFSET               0x70
 #define   PSIHB9_IVT_OFF_SHIFT          32
 
This page took 0.022272 seconds and 4 git commands to generate.