Lines Matching refs:dst_header
299 struct wb_header *dst_header; /* Pointer to dest WB header */ in warmboot_prepare_code() local
332 dst_header = (struct wb_header *)seg_address; in warmboot_prepare_code()
333 memset((char *)dst_header, 0, sizeof(struct wb_header)); in warmboot_prepare_code()
337 u32 *aes_block = (u32 *)&(dst_header->random_aes_block); in warmboot_prepare_code()
339 sizeof(dst_header->random_aes_block)); in warmboot_prepare_code()
347 dst_header->length_insecure = length + sizeof(struct wb_header); in warmboot_prepare_code()
348 dst_header->length_secure = length + sizeof(struct wb_header); in warmboot_prepare_code()
349 dst_header->destination = NV_WB_RUN_ADDRESS; in warmboot_prepare_code()
350 dst_header->entry_point = NV_WB_RUN_ADDRESS; in warmboot_prepare_code()
351 dst_header->code_length = length; in warmboot_prepare_code()
355 dst_header->length_insecure = 0; in warmboot_prepare_code()
360 memcpy((char *)(dst_header+1), (char *)wb_start, length); in warmboot_prepare_code()
363 err = sign_wb_code(seg_address, dst_header->length_insecure, in warmboot_prepare_code()