lkml.org 
[lkml]   [2003]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch] vesafb fix
    From
    Date
    On Maw, 2003-07-15 at 19:22, Dave Jones wrote:
    > I can't see how you can cover an not-a-powerof2 size area of memory
    > without doing too little/too much. The winchip code was written with
    > RAM in mind, which is always a power of 2 unless you boot with
    > mem=fooMB

    RAM is never power of two, a few bits always vanish off the ends.
    The trick is that you start at a power of 2 boundary then build up/down
    if you have to do power of two ranges

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:46    [W:0.039 / U:392.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site