38 std::map<vcpuid::type, debug_ring_resources_t *>
g_drrs;
64 m_drr = std::make_unique<debug_ring_resources_t>();
68 m_drr->tag1 = 0xDB60DB60DB60DB60;
69 m_drr->tag2 = 0x06BD06BD06BD06BD;
95 auto len =
str.length() + 1;
126 if (gsl::at(m_drr->buf, cpos) ==
'\0' && space >= len)
129 gsl::at(m_drr->buf, cpos++) =
'\0';
133 for (
auto i = 0U; i < len; i++)
138 gsl::at(m_drr->buf, epos) =
str[i];
std::map< vcpuid::type, debug_ring_resources_t * > g_drrs
virtual void write(const std::string &str) noexcept
debug_ring_resources_t * drr
void uint64_t uint64_t uint64_t *rdx noexcept
int64_t get_drr(uint64_t vcpuid, struct debug_ring_resources_t **drr) noexcept
constexpr const auto string
debug_ring(vcpuid::type vcpuid) noexcept