Discrepancy in BAT mapping?

Takashi Oe toe at unlserve.unl.edu
Mon Sep 11 04:59:15 EST 2000


Hi,

In arch/ppc/kernel/prom.c, frame buffer is mapped via BAT with
_PAGE_GUARDED for 603, 604, 750, etc.  The same value is loaded to both
IBAT and DBAT in arch/ppc/kernel/head.S.

However, in arch/ppc/mm/init.c's setbat(), G bit is stripped off for IBAT.

I suppose it doesn't matter too much since it's frame buffer, but which is
correct technically?


Takashi Oe


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list