apm.c (01eb313907dda97313b8fea62e5632fca64f069c) apm.c (0430891ce162b986c6e02a7729a942ecd2a32ca4)
1/*
2 * QEMU PC APM controller Emulation
3 * This is split out from acpi.c
4 *
5 * Copyright (c) 2006 Fabrice Bellard
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

--- 6 unchanged lines hidden (view full) ---

15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>
18 *
19 * Contributions after 2012-01-13 are licensed under the terms of the
20 * GNU GPL, version 2 or (at your option) any later version.
21 */
22
1/*
2 * QEMU PC APM controller Emulation
3 * This is split out from acpi.c
4 *
5 * Copyright (c) 2006 Fabrice Bellard
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

--- 6 unchanged lines hidden (view full) ---

15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>
18 *
19 * Contributions after 2012-01-13 are licensed under the terms of the
20 * GNU GPL, version 2 or (at your option) any later version.
21 */
22
23#include "qemu/osdep.h"
23#include "hw/isa/apm.h"
24#include "hw/hw.h"
25#include "hw/pci/pci.h"
26
27//#define DEBUG
28
29#ifdef DEBUG
30# define APM_DPRINTF(format, ...) printf(format, ## __VA_ARGS__)

--- 72 unchanged lines hidden ---
24#include "hw/isa/apm.h"
25#include "hw/hw.h"
26#include "hw/pci/pci.h"
27
28//#define DEBUG
29
30#ifdef DEBUG
31# define APM_DPRINTF(format, ...) printf(format, ## __VA_ARGS__)

--- 72 unchanged lines hidden ---