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

Method Data

src/include/io_buffer.hpp:52–54  ·  view source on GitHub ↗

@brief 获取虚拟基地址的类型化指针 @return uint8_t* 缓冲区数据指针

Source from the content-addressed store, hash-verified

50 /// @brief 获取虚拟基地址的类型化指针
51 /// @return uint8_t* 缓冲区数据指针
52 [[nodiscard]] auto Data() const -> uint8_t* {
53 return static_cast<uint8_t*>(virt);
54 }
55
56 /**
57 * @brief 在指定偏移处创建子区域

Callers 3

SplitVirtqueueMethod · 0.80
VirtioBlkMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64