• Russell King's avatar
    [ARM] Fix ARM module support · fbbe4a70
    Russell King authored
    This cset allows ARM modules to work again.  The solution was
    suggested by Andi Kleen.
    
    We shrink the available user space size by 16MB, thereby opening up
    a window in virtual memory space between user space and the kernel
    direct mapped RAM.  We place modules into this space, and, since the
    kernel image is always at the bottom of kernel direct mapped RAM, we
    can be assured that any 24-bit PC relocations (which have a range
    of +/- 32MB) will always be able to reach the kernel.
    fbbe4a70
memory.h 1.39 KB