Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvboot_region_tests.c27 static char gbb_data[4096 + sizeof(GoogleBinaryBlockHeader)]; variable
58 Memset(gbb_data, 0, sizeof(gbb_data)); in ResetMocks()
59 gbb = (GoogleBinaryBlockHeader *)gbb_data; in ResetMocks()
66 strcpy(gbb_data + gbb->hwid_offset, "Test HWID"); in ResetMocks()
67 gbb->hwid_size = strlen(gbb_data + gbb->hwid_offset) + 1; in ResetMocks()
71 bhdr = (BmpBlockHeader *)(gbb_data + gbb->bmpfv_offset); in ResetMocks()
80 layout = (ScreenLayout *)(gbb_data + gbb_used); in ResetMocks()
86 image_info = (ImageInfo *)(gbb_data + gbb_used); in ResetMocks()
92 strcpy(gbb_data + gbb_used, "original"); in ResetMocks()
98 image_info = (ImageInfo *)(gbb_data + gbb_used); in ResetMocks()
[all …]
Dvboot_display_tests.c28 static char gbb_data[4096 + sizeof(GoogleBinaryBlockHeader)]; variable
29 static GoogleBinaryBlockHeader *gbb = (GoogleBinaryBlockHeader *)gbb_data;
38 Memset(gbb_data, 0, sizeof(gbb_data)); in ResetMocks()
45 strcpy(gbb_data + gbb->hwid_offset, "Test HWID"); in ResetMocks()
46 gbb->hwid_size = strlen(gbb_data + gbb->hwid_offset) + 1; in ResetMocks()
50 bhdr = (BmpBlockHeader *)(gbb_data + gbb->bmpfv_offset); in ResetMocks()
61 cparams.gbb_data = gbb; in ResetMocks()
62 cparams.gbb_size = sizeof(gbb_data); in ResetMocks()
Dvboot_firmware_tests.c29 static uint8_t gbb_data[sizeof(GoogleBinaryBlockHeader) + 2048]; variable
30 static GoogleBinaryBlockHeader* gbb = (GoogleBinaryBlockHeader*)gbb_data;
48 cparams.gbb_data = gbb_data; in ResetMocks()
49 cparams.gbb_size = sizeof(gbb_data); in ResetMocks()
84 Memset(&gbb_data, 0, sizeof(gbb_data)); in ResetMocks()
86 root_key = (VbPublicKey *)(gbb_data + gbb->rootkey_offset); in ResetMocks()
214 cparams.gbb_data = NULL; in LoadFirmwareTest()
Dvboot_kernel_tests.c55 static uint8_t gbb_data[sizeof(GoogleBinaryBlockHeader) + 2048]; variable
56 static GoogleBinaryBlockHeader *gbb = (GoogleBinaryBlockHeader*)gbb_data;
139 cparams.gbb_data = gbb; in ResetMocks()
140 cparams.gbb_size = sizeof(gbb_data); in ResetMocks()
153 lkp.gbb_data = gbb; in ResetMocks()
154 lkp.gbb_size = sizeof(gbb_data); in ResetMocks()
Dverify_kernel.c108 params.gbb_data = NULL; in main()
Dvboot_api_kernel4_tests.c43 cparams.gbb_data = &gbb; in ResetMocks()
Dvboot_api_devmode_tests.c155 cparams.gbb_data = &gbb; in ResetMocks()
Dvboot_api_firmware_tests.c55 cparams.gbb_data = &gbb; in ResetMocks()
Dvboot_audio_tests.c64 cparams.gbb_data = &gbb; in ResetMocks()
Dvboot_api_kernel3_tests.c56 cparams.gbb_data = &gbb; in ResetMocks()
Dvboot_api_kernel2_tests.c56 cparams.gbb_data = &gbb; in ResetMocks()
Dvboot_api_init_tests.c45 cparams.gbb_data = &gbb; in ResetMocks()
/external/vboot_reference/firmware/lib/
Dregion-init.c25 if (region == VB_REGION_GBB && cparams->gbb_data) { in VbRegionReadData()
28 Memcpy(buf, cparams->gbb_data + offset, size); in VbRegionReadData()
Dvboot_api_kernel.c1042 p.gbb_data = cparams->gbb_data; in VbSelectAndLoadKernel()
/external/vboot_reference/firmware/lib/include/
Dload_kernel_fw.h38 void *gbb_data; member
/external/vboot_reference/utility/
Dload_kernel_test.c160 lkp.gbb_data = (void*)malloc(lkp.gbb_size); in main()
161 gbb = (GoogleBinaryBlockHeader*)lkp.gbb_data; in main()
/external/vboot_reference/firmware/include/
Dvboot_api.h146 void *gbb_data; member