tco-test.c (a6b6414f0cf04636dc3d0c21ea4a2f19b7629c93) tco-test.c (fbae27e857061e1098c21944c81bd025c8946c62)
1/*
2 * QEMU ICH9 TCO emulation tests
3 *
4 * Copyright (c) 2015 Paulo Alcantara <pcacjr@zytor.com>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10#include "qemu/osdep.h"
11
12#include "libqtest.h"
13#include "libqos/pci.h"
14#include "libqos/pci-pc.h"
15#include "qapi/qmp/qdict.h"
16#include "hw/pci/pci_regs.h"
17#include "hw/i386/ich9.h"
18#include "hw/acpi/ich9.h"
1/*
2 * QEMU ICH9 TCO emulation tests
3 *
4 * Copyright (c) 2015 Paulo Alcantara <pcacjr@zytor.com>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10#include "qemu/osdep.h"
11
12#include "libqtest.h"
13#include "libqos/pci.h"
14#include "libqos/pci-pc.h"
15#include "qapi/qmp/qdict.h"
16#include "hw/pci/pci_regs.h"
17#include "hw/i386/ich9.h"
18#include "hw/acpi/ich9.h"
19#include "hw/acpi/tco.h"
19#include "hw/acpi/ich9_tco.h"
20
21#define RCBA_BASE_ADDR 0xfed1c000
22#define PM_IO_BASE_ADDR 0xb000
23
24enum {
25 TCO_RLD_DEFAULT = 0x0000,
26 TCO_DAT_IN_DEFAULT = 0x00,
27 TCO_DAT_OUT_DEFAULT = 0x00,

--- 442 unchanged lines hidden ---
20
21#define RCBA_BASE_ADDR 0xfed1c000
22#define PM_IO_BASE_ADDR 0xb000
23
24enum {
25 TCO_RLD_DEFAULT = 0x0000,
26 TCO_DAT_IN_DEFAULT = 0x00,
27 TCO_DAT_OUT_DEFAULT = 0x00,

--- 442 unchanged lines hidden ---