commit | 155a10068ac6feefcc783b7b023fc90390e5cc44 | [log] [tgz] |
---|---|---|
author | Julius Werner <jwerner@chromium.org> | Tue Dec 12 14:23:26 2017 -0800 |
committer | Julius Werner <jwerner@chromium.org> | Tue Dec 12 15:00:34 2017 -0800 |
tree | fe2f30754806140be39d1c816da3faebf99b02b6 | |
parent | 211d307c6bfadbe44aa27998e105436143e1b147 [diff] |
utils_def: Add REGSZ and make BIT() assembly-compatible 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: Julius Werner <jwerner@chromium.org>