• Julius Werner's avatar
    utils_def: Add REGSZ and make BIT() assembly-compatible · 155a1006
    Julius Werner authored
    
    
    In assembly code it can be useful to have a constant for the width of a
    register in the current architecture, so this patch adds one to
    <utils_def.h> and replaces the existing custom one in crash_reporting.S
    with that. It also fixes up the BIT() macro in the same file so that it
    can be safely used in assembly code.
    
    Change-Id: I10513a311f3379e767396e6ddfbae8d2d8201464
    Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
    155a1006
crash_reporting.S 9.73 KB