From patchwork Sun Jul 28 07:29:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Igor Mammedov X-Patchwork-Id: 262560 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C10972C0122 for ; Sun, 28 Jul 2013 17:30:06 +1000 (EST) Received: from localhost ([::1]:43623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3LQa-0006Tv-Ma for incoming@patchwork.ozlabs.org; Sun, 28 Jul 2013 03:30:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3LPz-0006IV-SQ for qemu-devel@nongnu.org; Sun, 28 Jul 2013 03:29:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3LPp-0001T3-IM for qemu-devel@nongnu.org; Sun, 28 Jul 2013 03:29:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3LPp-0001Sb-B3 for qemu-devel@nongnu.org; Sun, 28 Jul 2013 03:29:17 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6S7TGsM006169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 28 Jul 2013 03:29:16 -0400 Received: from thinkpad.redhat.com (vpn-231-232.phx2.redhat.com [10.3.231.232]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6S7TDC3025379; Sun, 28 Jul 2013 03:29:15 -0400 From: Igor Mammedov To: qemu-devel@nongnu.org Date: Sun, 28 Jul 2013 09:29:08 +0200 Message-Id: <1374996553-21828-2-git-send-email-imammedo@redhat.com> In-Reply-To: <1374996553-21828-1-git-send-email-imammedo@redhat.com> References: <1374996553-21828-1-git-send-email-imammedo@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: mst@redhat.com Subject: [Qemu-devel] [PATCH 1/6] pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Michael S. Tsirkin" Signed-off-by: Michael S. Tsirkin Signed-off-by: Laszlo Ersek Signed-off-by: Igor Mammedov Reviewed-by: Andreas Färber --- hw/i386/pc.c | 2 -- include/hw/i386/ioapic.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 2a87563..b0b98a8 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -75,8 +75,6 @@ #define FW_CFG_E820_TABLE (FW_CFG_ARCH_LOCAL + 3) #define FW_CFG_HPET (FW_CFG_ARCH_LOCAL + 4) -#define IO_APIC_DEFAULT_ADDRESS 0xfec00000 - #define E820_NR_ENTRIES 16 struct e820_entry { diff --git a/include/hw/i386/ioapic.h b/include/hw/i386/ioapic.h index 86e63da..6245388 100644 --- a/include/hw/i386/ioapic.h +++ b/include/hw/i386/ioapic.h @@ -21,6 +21,7 @@ #define HW_IOAPIC_H #define IOAPIC_NUM_PINS 24 +#define IO_APIC_DEFAULT_ADDRESS 0xfec00000 void ioapic_eoi_broadcast(int vector);