coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
vbnv_ec.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <types.h>
5 #include <security/vboot/vbnv.h>
7 
8 void read_vbnv_ec(uint8_t *vbnv_copy)
9 {
11 }
12 
13 void save_vbnv_ec(const uint8_t *vbnv_copy)
14 {
15  google_chromeec_vbnv_context(0, (uint8_t *)vbnv_copy,
17 }
int google_chromeec_vbnv_context(int is_read, uint8_t *data, int len)
Definition: ec.c:952
unsigned char uint8_t
Definition: stdint.h:8
void save_vbnv_ec(const uint8_t *vbnv_copy)
Definition: vbnv_ec.c:13
void read_vbnv_ec(uint8_t *vbnv_copy)
Definition: vbnv_ec.c:8
#define VBOOT_VBNV_BLOCK_SIZE
Definition: vbnv_layout.h:6