HomeFreeBSD

There's no need to walk through the tables looking for the smbios

Description

There's no need to walk through the tables looking for the smbios
table if we're just going to ignore it on arm, so expand, slightly,
the reach of the ifdef. Move the buffer to the inner block so we
don't have a separate #ifdef far away from these lines.

The issue on arm is that smbios_detect does unaligned accesses, which
in the u-boot implementing EFI context causes a crash.

Details

Provenance
impAuthored on
Parents
rS335230: Move arg parsing into its own routine for possible later reuse.
Branches
Unknown
Tags
Unknown