[coreboot] Patch merged into coreboot/master: ad93552 lib: add rmodule support

gerrit at coreboot.org gerrit at coreboot.org
Mon Mar 18 18:40:36 CET 2013

the following patch was just integrated into master:
commit ad93552b86579afd29e99da1b2fcacb0d872cd1a
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Mon Dec 24 14:28:37 2012 -0600

    lib: add rmodule support
    A rmodule is short for relocation module. Relocaiton modules are
    standalone programs. These programs are linked at address 0 as a shared
    object with a special linker script that maintains the relocation
    entries for the object. These modules can then be embedded as a raw
    binary (objcopy -O binary) to be loaded at any location desired.
    Initially, the only arch support is for x86. All comments below apply to
    x86 specific properties.
    The intial user of this support would be for SMM handlers since those
    handlers sometimes need to be located at a dynamic address (e.g. TSEG
    The relocation entries are currently Elf32_Rel. They are 8 bytes large,
    and the entries are not necessarily in sorted order. An future
    optimization would be to have a tool convert the unsorted relocations
    into just sorted offsets. This would reduce the size of the blob
    produced after being processed. Essentialy, 8 bytes per relocation meta
    entry would reduce to 4 bytes.
    Change-Id: I2236dcb66e9d2b494ce2d1ae40777c62429057ef
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: http://review.coreboot.org/2692
    Tested-by: build bot (Jenkins)
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>

Build-Tested: build bot (Jenkins) at Fri Mar 15 21:37:54 2013, giving +1
Reviewed-By: Ronald G. Minnich <rminnich at gmail.com> at Mon Mar 18 18:40:34 2013, giving +2
See http://review.coreboot.org/2692 for details.


More information about the coreboot mailing list