Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/
Dvboot_nvstorage.c58 #define KERNEL_FIELD_OFFSET 11 macro
133 *dest = (raw[KERNEL_FIELD_OFFSET] in VbNvGet()
134 | (raw[KERNEL_FIELD_OFFSET + 1] << 8) in VbNvGet()
135 | (raw[KERNEL_FIELD_OFFSET + 2] << 16) in VbNvGet()
136 | (raw[KERNEL_FIELD_OFFSET + 3] << 24)); in VbNvGet()
263 raw[KERNEL_FIELD_OFFSET] = (uint8_t)(value); in VbNvSet()
264 raw[KERNEL_FIELD_OFFSET + 1] = (uint8_t)(value >> 8); in VbNvSet()
265 raw[KERNEL_FIELD_OFFSET + 2] = (uint8_t)(value >> 16); in VbNvSet()
266 raw[KERNEL_FIELD_OFFSET + 3] = (uint8_t)(value >> 24); in VbNvSet()