Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Simple-XX/SimpleKernel
/ DescPhys
Method
DescPhys
src/device/virtio/virt_queue/split.hpp:562–564 ·
view source on GitHub ↗
* @brief 获取描述符表的物理地址 * @see virtio-v1.2#2.7.5 */
Source
from the content-addressed store, hash-verified
560
* @see virtio-v1.2#2.7.5
561
*/
562
[[nodiscard]] auto DescPhys() const -> uint64_t {
563
return phys_base_ + desc_offset_;
564
}
565
566
/**
567
* @brief 获取 Available Ring 的物理地址
Callers
1
Create
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected