Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: evbppc reserved-tlb cleanup



Simon Burge wrote:

>         /* Map console just after RAM */
>         /* XXX magic number here!!! */
>         ppc4xx_tlb_reserve(0xef000000, board_data.mem_size, TLB_PG_SIZE,
>             TLB_I | TLB_G);

That "board_data.mem_size" should be something like
"roundup(board_data.mem_size, TLB_PG_SIZE)" so that it works
properly with non-multiple-of-TLB_PG_SIZE RAM sizes.

Simon.



Home | Main Index | Thread Index | Old Index