aboutsummaryrefslogtreecommitdiff
path: root/hw/xive.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2019-10-01 08:59:46 +0200
committerOliver O'Halloran <oohall@gmail.com>2019-11-04 10:52:47 +1100
commit995572281435c1f59f4e6dd33053bfea1c4a7720 (patch)
treebad6a73cfac1b24569830ccf3d7cd9810c87f982 /hw/xive.c
parentece4109b5022f6fc9efa2e1325ece761ddbd943f (diff)
downloadskiboot-995572281435c1f59f4e6dd33053bfea1c4a7720.zip
skiboot-995572281435c1f59f4e6dd33053bfea1c4a7720.tar.gz
skiboot-995572281435c1f59f4e6dd33053bfea1c4a7720.tar.bz2
xive/p9: introduce header files for the registers
This is moving the definitions of the registers of the P9 XIVE interrupt controller and the P9 XIVE internal structures in a specific header file and moving the definitions related to the thread interrupt context area to a common file. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw/xive.c')
-rw-r--r--hw/xive.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/xive.c b/hw/xive.c
index 96a9bc6..ec71932 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -1,8 +1,9 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * XIVE - P9 interrupt controller
+ * XIVE: eXternal Interrupt Virtualization Engine. POWER9 interrupt
+ * controller
*
- * Copyright 2016-2019 IBM Corp.
+ * Copyright (c) 2016-2019, IBM Corporation.
*/
#include <skiboot.h>
@@ -10,6 +11,7 @@
#include <chip.h>
#include <io.h>
#include <xive.h>
+#include <xive-p9-regs.h>
#include <xscom-p9-regs.h>
#include <interrupts.h>
#include <timebase.h>