From patchwork Wed Dec 26 09:05:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wayne Xia X-Patchwork-Id: 208153 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 630EC2C00BE for ; Wed, 26 Dec 2012 20:30:33 +1100 (EST) Received: from localhost ([::1]:54091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnnJn-0003wq-IG for incoming@patchwork.ozlabs.org; Wed, 26 Dec 2012 04:30:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnnJU-0002hF-JU for qemu-devel@nongnu.org; Wed, 26 Dec 2012 04:30:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnnF0-000219-RG for qemu-devel@nongnu.org; Wed, 26 Dec 2012 04:25:38 -0500 Received: from e28smtp05.in.ibm.com ([122.248.162.5]:55698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tnmyg-0005rm-9j for qemu-devel@nongnu.org; Wed, 26 Dec 2012 04:08:42 -0500 Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 26 Dec 2012 14:37:10 +0530 Received: from d28dlp02.in.ibm.com (9.184.220.127) by e28smtp05.in.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 26 Dec 2012 14:37:09 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 0300B394004C for ; Wed, 26 Dec 2012 14:37:46 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qBQ97iX434865368 for ; Wed, 26 Dec 2012 14:37:44 +0530 Received: from d28av04.in.ibm.com (loopback [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qBQ97jXp011956 for ; Wed, 26 Dec 2012 20:07:45 +1100 Received: from RedHat62GAWSWenchao (wenchaox.cn.ibm.com [9.115.122.122]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id qBQ95sJ8004626; Wed, 26 Dec 2012 20:07:43 +1100 From: Wenchao Xia To: qemu-devel@nongnu.org Date: Wed, 26 Dec 2012 17:05:51 +0800 Message-Id: <1356512751-8732-1-git-send-email-xiawenc@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.1 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12122609-8256-0000-0000-000005953ED8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 122.248.162.5 Cc: kwolf@redhat.com, pbonzini@redhat.com, aliguori@us.ibm.com, paul@codesourcery.com, Wenchao Xia Subject: [Qemu-devel] [PATCH] fix include file in hw/loader.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 Now header files have gone into includes, so include file path needs change also to avoid build break. Signed-off-by: Wenchao Xia --- hw/loader.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/loader.h b/hw/loader.h index 26480ad..5e61c95 100644 --- a/hw/loader.h +++ b/hw/loader.h @@ -1,5 +1,6 @@ #ifndef LOADER_H #define LOADER_H +#include "qapi/qmp/qdict.h" /* loader.c */ int get_image_size(const char *filename); @@ -30,7 +31,7 @@ int rom_load_all(void); void rom_set_fw(void *f); int rom_copy(uint8_t *dest, hwaddr addr, size_t size); void *rom_ptr(hwaddr addr); -void do_info_roms(Monitor *mon); +void do_info_roms(Monitor *mon, const QDict *qdict); #define rom_add_file_fixed(_f, _a, _i) \ rom_add_file(_f, NULL, _a, _i)