[PATCH] Fix initialization of i8259 controller on MALTA

Robert Millan rmh at debian.org
Fri Jul 15 19:03:47 UTC 2011


2011/7/15 Adrian Chadd <adrian at 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


More information about the freebsd-mips mailing list