lkml.org 
[lkml]   [2012]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] ACPI: Implement overriding of arbitrary ACPI tables via initrd
    On 03/25/2012 02:25 AM, Borislav Petkov wrote:
    >
    >> /*
    >> * findcpio.c
    >> *
    >> * Find a specific cpio member; must precede any compressed content.
    >
    > Looks simple enough. Btw, there's some cpio handling already done in
    > <init/initramfs.c> - probably reuse some of the code there...?
    >

    Quite possible, but then you will have to untangle the dependencies.
    Keep in mind that it needs to be able to compile this in such a way that
    you have no library dependencies and no fixed address references (so
    that it can be invoked from the pre-paging code to get microcode updates
    in as early as at all possible.) So code reuse is a bit tricky at least
    for that specific use case. The ACPI code is less sensitive since it
    comes a lot later.

    -hpa

    --
    H. Peter Anvin, Intel Open Source Technology Center
    I work for Intel. I don't speak on their behalf.



    \
     
     \ /
      Last update: 2012-03-26 01:33    [W:0.020 / U:65.636 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site