Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2011 21:03:46 +0200
From:      Robert Millan <rmh@debian.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: [PATCH] Fix initialization of i8259 controller on MALTA
Message-ID:  <CAOfDtXNE_KeYNsq5r35mtsC8WBE4hubpmo=3xFZ-jh6xxaDLWw@mail.gmail.com>
In-Reply-To: <CAJ-VmomRrFLKTTx%2BMMwgRVU5wSjDA59Tuy%2B6Fnbx0qFXMgVjKA@mail.gmail.com>
References:  <CAOfDtXMgw%2BTa7=-uDz-O8xVFxAmQqREM7NMpAwgXMzr8mxbNeg@mail.gmail.com> <CAJ-VmomRrFLKTTx%2BMMwgRVU5wSjDA59Tuy%2B6Fnbx0qFXMgVjKA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/7/15 Adrian Chadd <adrian@freebsd.org>:
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfDtXNE_KeYNsq5r35mtsC8WBE4hubpmo=3xFZ-jh6xxaDLWw>