From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRshH-0006cT-9Y for qemu-devel@nongnu.org; Mon, 04 Jan 2010 14:34:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRshC-0006Tb-Ge for qemu-devel@nongnu.org; Mon, 04 Jan 2010 14:34:34 -0500 Received: from [199.232.76.173] (port=37745 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRshC-0006T5-60 for qemu-devel@nongnu.org; Mon, 04 Jan 2010 14:34:30 -0500 Received: from mail-yw0-f176.google.com ([209.85.211.176]:42502) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRshB-0004Ur-VW for qemu-devel@nongnu.org; Mon, 04 Jan 2010 14:34:30 -0500 Received: by ywh6 with SMTP id 6so15637752ywh.4 for ; Mon, 04 Jan 2010 11:34:27 -0800 (PST) Message-ID: <4B4250C7.9080200@codemonkey.ws> Date: Mon, 04 Jan 2010 14:34:15 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH V4 04/18] support NEC PC-9821 architecture References: <200912221740.AA00207@YOUR-BD18D6DD63.m1.interq.or.jp> In-Reply-To: <200912221740.AA00207@YOUR-BD18D6DD63.m1.interq.or.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "TAKEDA, toshiya" Cc: qemu-devel , Gerd Hoffmann On 12/22/2009 11:40 AM, TAKEDA, toshiya wrote: > Signed-off-by: TAKEDA, toshiya > --- > hw/pc98.c | 317 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > hw/pc98.h | 65 +++++++++++++ > 2 files changed, 382 insertions(+), 0 deletions(-) > create mode 100644 hw/pc98.c > create mode 100644 hw/pc98.h > > diff --git a/hw/pc98.c b/hw/pc98.c > new file mode 100644 > index 0000000..4bc4805 > --- /dev/null > +++ b/hw/pc98.c > @@ -0,0 +1,317 @@ > +/* > + * QEMU NEC PC-9821 System Emulator > + * > + * Copyright (c) 2009 TAKEDA, toshiya > + * > + * Permission is hereby granted, free of charge, to any person obtaining a copy > + * of this software and associated documentation files (the "Software"), to deal > + * in the Software without restriction, including without limitation the rights > + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell > + * copies of the Software, and to permit persons to whom the Software is > + * furnished to do so, subject to the following conditions: > + * > + * The above copyright notice and this permission notice shall be included in > + * all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL > + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER > + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, > + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN > + * THE SOFTWARE. > + */ I don't think we are really that far from being able to create an NEC PC-9821 based on careful use of -device and disabling default devices. I think the main issues some of the platform devices that aren't present in this machine (like the rtc) that aren't qdev-ified yet. I think that's probably an easier path to take though. BTW, this patch won't link on it's own because it relies on pc98_init_i8259 which this patch doesn't introduce. Regards, Anthony Liguori