MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / MatchEntry

Class MatchEntry

src/device/include/driver_registry.hpp:25–30  ·  view source on GitHub ↗

驱动静态匹配表中的一条记录

Source from the content-addressed store, hash-verified

23
24/// 驱动静态匹配表中的一条记录
25struct MatchEntry {
26 BusType bus_type{BusType::kPlatform};
27 /// FDT compatible 字符串(平台总线)
28 /// 或 vendor/HID 字符串(PCI/ACPI — 未来扩展)
29 const char* compatible{nullptr};
30};
31
32/**
33 * @brief 类型擦除的驱动条目 — 每个已注册驱动对应一条。

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected