Re: [PATCH v2] x86/boot: Use EFI setup data if provided
From: Junichi Nomura
Date: Fri Mar 29 2019 - 01:17:43 EST
On 3/29/19 12:52 PM, bhe@xxxxxxxxxx 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.