Lines Matching refs:hob_table

21 static void *_create_hob(struct efi_hob_handoff_info_table *hob_table,  in _create_hob()  argument
28 if ((hob_table == NULL) || (hob_length == 0)) { in _create_hob()
33 free_mem_size = hob_table->efi_free_memory_top - hob_table->efi_free_memory_bottom; in _create_hob()
43 new_hob = (struct efi_hob_generic_header *) hob_table->efi_end_of_hob_list; in _create_hob()
48 hob_end = (struct efi_hob_generic_header *) (hob_table->efi_end_of_hob_list + hob_length); in _create_hob()
53 hob_table->efi_end_of_hob_list = (efi_physical_address_t) hob_end; in _create_hob()
54 hob_table->efi_free_memory_bottom = (efi_physical_address_t) (hob_end + 1); in _create_hob()
78 struct efi_hob_handoff_info_table *hob_table; in create_hob_list() local
86 hob_table = (struct efi_hob_handoff_info_table *) efi_free_memory_bottom; in create_hob_list()
87 hob_end = (struct efi_hob_generic_header *) (hob_table + 1); in create_hob_list()
89 hob_table->header.hob_type = EFI_HOB_TYPE_HANDOFF; in create_hob_list()
90 hob_table->header.hob_length = sizeof(struct efi_hob_handoff_info_table); in create_hob_list()
91 hob_table->header.reserved = 0; in create_hob_list()
97 hob_table->version = EFI_HOB_HANDOFF_TABLE_VERSION; in create_hob_list()
98 hob_table->boot_mode = EFI_BOOT_WITH_FULL_CONFIGURATION; in create_hob_list()
100 hob_table->efi_memory_top = efi_memory_begin + efi_memory_length; in create_hob_list()
101 hob_table->efi_memory_bottom = efi_memory_begin; in create_hob_list()
102 hob_table->efi_free_memory_top = efi_memory_begin + efi_free_memory_length; in create_hob_list()
103 hob_table->efi_free_memory_bottom = (efi_physical_address_t) (hob_end + 1); in create_hob_list()
104 hob_table->efi_end_of_hob_list = (efi_physical_address_t) hob_end; in create_hob_list()
106 return hob_table; in create_hob_list()
128 struct efi_hob_handoff_info_table *hob_table, in create_resource_descriptor_hob() argument
136 rd_hop = _create_hob(hob_table, EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, in create_resource_descriptor_hob()
168 int create_guid_hob(struct efi_hob_handoff_info_table *hob_table, in create_guid_hob() argument
180 guid_hob = _create_hob(hob_table, EFI_HOB_TYPE_GUID_EXTENSION, hob_length); in create_guid_hob()
206 int create_fv_hob(struct efi_hob_handoff_info_table *hob_table, in create_fv_hob() argument
211 fv_hob = _create_hob(hob_table, EFI_HOB_TYPE_FV, in create_fv_hob()