Re: [PATCH v2] x86/boot: Use EFI setup data if provided

Junichi Nomura
2019-03-29T05:17:45Z

On 3/29/19 12:52 PM, bhe@redhat.com wrote:
> 2)
> __efi_get_rsdp_addr() {
> for (i = 0; i < nr_tables; i++) {
> if (efi_64) {
> efi_config_table_64_t *tbl = (efi_config_table_64_t *)config_tables + i;
> // get guid and table
> } else {
> efi_config_table_32_t *tbl = (efi_config_table_32_t *)config_tables + i;
> // get guid and table
> }
> // check guid and return table if it's valid
> }
> }

Thanks. This looks nice and doesn't conflict the direction of refactoring, I think.

--
Jun'ichi Nomura, NEC Corporation / NEC Solution Innovators, Ltd.