Skip to content

Commit

Permalink
hppa: move device headers from hppa_sys.h into individual .c files
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20220504092600.10048-42-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  • Loading branch information
mcayland committed May 8, 2022
1 parent 8e81ffe commit 134ba73
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hw/hppa/hppa_sys.h
Expand Up @@ -3,10 +3,7 @@
#ifndef HW_HPPA_SYS_H
#define HW_HPPA_SYS_H

#include "hw/pci/pci.h"
#include "hw/pci/pci_host.h"
#include "hw/boards.h"
#include "hw/intc/i8259.h"

#include "hppa_hardware.h"

Expand Down
4 changes: 4 additions & 0 deletions hw/hppa/lasi.h
Expand Up @@ -12,6 +12,10 @@
#ifndef LASI_H
#define LASI_H

#include "exec/address-spaces.h"
#include "hw/pci/pci_host.h"
#include "hw/boards.h"

#define TYPE_LASI_CHIP "lasi-chip"
OBJECT_DECLARE_SIMPLE_TYPE(LasiState, LASI_CHIP)

Expand Down
2 changes: 2 additions & 0 deletions hw/hppa/machine.c
Expand Up @@ -16,9 +16,11 @@
#include "hw/timer/i8254.h"
#include "hw/char/serial.h"
#include "hw/char/parallel.h"
#include "hw/intc/i8259.h"
#include "hw/input/lasips2.h"
#include "hw/net/lasi_82596.h"
#include "hw/nmi.h"
#include "hw/pci/pci.h"
#include "hw/pci-host/dino.h"
#include "lasi.h"
#include "hppa_sys.h"
Expand Down
3 changes: 3 additions & 0 deletions hw/hppa/pci.c
Expand Up @@ -6,6 +6,9 @@
#include "qemu/osdep.h"
#include "hppa_sys.h"
#include "qemu/log.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_host.h"
#include "hw/intc/i8259.h"
#include "trace.h"


Expand Down

0 comments on commit 134ba73

Please sign in to comment.