From owner-freebsd-mips@FreeBSD.ORG Fri Jul 15 19:03:47 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3CAB1065670 for ; Fri, 15 Jul 2011 19:03:47 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 72F6E8FC12 for ; Fri, 15 Jul 2011 19:03:47 +0000 (UTC) Received: by iwr19 with SMTP id 19so1739501iwr.13 for ; Fri, 15 Jul 2011 12:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=9LYa+N0VlJzVL3ukCvGU5XzOreQVyGAn3oRPHZF+P3k=; b=Uu5a10+0Ljinm57EGnpK9Vd2+Ba0/A3ncTh7F9xN7gF+TQudkrBgplwNYSx67QigPH MPRQvVofi4Xh6gUdWLC42v9hkzrDwvlIzzFOuLpYc/b34m7T47P73pNw+CUW/JP3aSnK KbeaqzUnL0aXnWu8uNFVdMlIywIXRN9emToOQ= MIME-Version: 1.0 Received: by 10.42.166.3 with SMTP id m3mr4307718icy.113.1310756626640; Fri, 15 Jul 2011 12:03:46 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.42.224.70 with HTTP; Fri, 15 Jul 2011 12:03:46 -0700 (PDT) In-Reply-To: References: Date: Fri, 15 Jul 2011 21:03:46 +0200 X-Google-Sender-Auth: JU-1hxxYpZG3CYqHWSGRgHbhB7Y Message-ID: From: Robert Millan To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: freebsd-mips@freebsd.org Subject: Re: [PATCH] Fix initialization of i8259 controller on MALTA X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2011 19:03:47 -0000 2011/7/15 Adrian Chadd : > The obvious question - is QEMU correct here? > > Has anyone tried this on a real board? I can't try a real board. But in case this helps, the comments in sys/dev/ic/i8259.h confirm that the even address is the right place for sending OCW3 commands. So does i8259_init() routine in sys/x86/isa/atpic.c, which also confirms that IMR is the odd address. However, this code is used on x86 only. -- Robert Millan