<div>I am studying source code for power mac. I am curious how linux use the BAT MMU. <br>The address translation of BAT MMU is parallel with that of segment/page MMU. BAT MMU is known as superpages in other architecture.
<br>I am not good at the kernel coding part, hope that my questions share the common fundermental with you and no stupid. <br><br>Here is my questions:<br>Is the kernel turn BAT MMU on? if so, a BAT array have been setup for that, which part of the kernel code does this?
<br>If BAT MMU is used, how about segment/page address translation in kernel, is this also enabled and page table is setup? <br><br>If both BAT and seg/page are enabled, how the kernel make sure that the correct one is used in adress translation?
</div>
<div> </div>
<div>
<div>Is kernel really use the segment MMU of the powerpc, I have an impression that most kernel only use the page MMU?</div><br><br>Thanks in advance.<br> </div>