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

Method IsValid

src/io_buffer.cpp:54–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52auto IoBuffer::GetBuffer() -> std::span<uint8_t> { return {data_, size_}; }
53
54auto IoBuffer::IsValid() const -> bool { return data_ != nullptr; }
55
56auto IoBuffer::ToDmaRegion(VirtToPhysFunc v2p) const -> DmaRegion {
57 return DmaRegion{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected