Home
last modified time | relevance | path

Searched refs:BOOT2_OFFSET (Results 1 – 1 of 1) sorted by relevance

/external/vboot_reference/firmware/lib/
Dvboot_nvstorage.c50 #define BOOT2_OFFSET 7 macro
174 *dest = (raw[BOOT2_OFFSET] & BOOT2_TRY_NEXT ? 1 : 0); in VbNvGet()
178 *dest = (raw[BOOT2_OFFSET] & BOOT2_TRIED ? 1 : 0); in VbNvGet()
182 *dest = raw[BOOT2_OFFSET] & BOOT2_RESULT_MASK; in VbNvGet()
186 *dest = (raw[BOOT2_OFFSET] & BOOT2_PREV_TRIED ? 1 : 0); in VbNvGet()
190 *dest = (raw[BOOT2_OFFSET] & BOOT2_PREV_RESULT_MASK) in VbNvGet()
327 raw[BOOT2_OFFSET] |= BOOT2_TRY_NEXT; in VbNvSet()
329 raw[BOOT2_OFFSET] &= ~BOOT2_TRY_NEXT; in VbNvSet()
334 raw[BOOT2_OFFSET] |= BOOT2_TRIED; in VbNvSet()
336 raw[BOOT2_OFFSET] &= ~BOOT2_TRIED; in VbNvSet()
[all …]