Cachable / Non-cachable memory

szg98 at mail.zhongxing.com szg98 at mail.zhongxing.com
Fri Jan 28 22:13:34 EST 2000






In arch/ppc/mm/init.c,
the mpc8xx-linux code use map_page(v,p,flags),
to set one memory page to some properities,like _NO_CACHE_PAGE,etc.





raphael.bossek at solutions4linux.de ÔÚ 2000-01-28 17:31:23

ÊÕ¼þÈË:   linuxppc-embedded at lists.linuxppc.org
³­ËÍ£º     £¨ÃÜËÍ£ºµ¥Õý¹â/Ó²Ò»/ÉϺ£µÚ¶þÑо¿Ëù/zte_ltd)
Ö÷Ì⣺    Cachable / Non-cachable memory





Hi,

how does Linux specify memory regions as cachable and non-
cachable? It is sometimes required to mark mapped memory
regions from devices as non-cachable by the MMU so the PowerPC
does not tune the write/read accesses.

Is there any function or sample driver code in the mpc8xx-linux
2.2.13 code ?

cu Raphael Bossek - http://www.solutions4linux.de/powerpc.html


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





More information about the Linuxppc-embedded mailing list