Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Simple-XX/SimpleKernel
/ UsedPhys
Method
UsedPhys
src/device/virtio/virt_queue/split.hpp:578–580 ·
view source on GitHub ↗
* @brief 获取 Used Ring 的物理地址 * @see virtio-v1.2#2.7.8 */
Source
from the content-addressed store, hash-verified
576
* @see virtio-v1.2#2.7.8
577
*/
578
[[nodiscard]] auto UsedPhys() const -> uint64_t {
579
return phys_base_ + used_offset_;
580
}
581
582
/**
583
* @brief 获取队列大小
Callers
1
Create
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected