class DevicetreeSerialNumberItem

Defined at line 1024 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h

Serial number can be provided as "serial-number" property in the root node, or as a boot argument

in some cases. This matcher will prefer the root-node property if available, or fallback to

chosen node's `bootargs` property providing the right item.

Public Methods

devicetree::ScanState OnNode (const devicetree::NodePath & path, const devicetree::PropertyDecoder & decoder)

Defined at line 17 of file ../../zircon/kernel/phys/lib/boot-shim/devicetree-serial-number-item.cc

void InitCmdline (std::string_view cmdline)

Defined at line 1032 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h

void InitCmdline (std::string_view cmdline)

Defined at line 1032 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h

template <typename Shim>
void Init (const Shim & shim)

Defined at line 1035 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h