|
SimpleKernel 1.17.0
|
#include <etl/delegate.h>#include <etl/flat_map.h>#include <etl/span.h>#include <etl/vector.h>#include <cassert>#include <cstddef>#include <cstdint>#include "device_node.hpp"#include "expected.hpp"#include "kernel.h"#include "kernel_log.hpp"#include "kstd_cstring"#include "spinlock.hpp"#include "virtual_memory.hpp"

Go to the source code of this file.
Classes | |
| struct | MatchEntry |
| 驱动静态匹配表中的一条记录 More... | |
| struct | DriverEntry |
| 类型擦除的驱动条目 — 每个已注册驱动对应一条。 More... | |
| struct | CStrLess |
| flat_map 中 const char* 键的比较器(使用 kstd::strcmp)。 More... | |
| class | DriverRegistry |
| 驱动注册表 — 以 ETL vector 存储 DriverEntry,并附带 flat_map 兼容索引。 More... | |
| struct | mmio_helper::ProbeContext |
| 映射完成后的 MMIO 区域信息 More... | |
Namespaces | |
| namespace | mmio_helper |
Functions | |
| auto | mmio_helper::Prepare (const DeviceNode &node, size_t default_size) -> Expected< ProbeContext > |
| 从节点提取 MMIO base/size 并通过 VirtualMemory 映射该区域。 | |