#include <GuestAllocation.hh>
◆ GuestAllocation() [1/4]
template<typename _Tp >
template<typename Tp = _Tp, typename std::enable_if_t< std::is_array_v< Tp > > * dummy = nullptr>
GuestAllocation array constructor.
- Parameters
-
| length | The number of elements in the array |
◆ GuestAllocation() [2/4]
template<typename _Tp >
template<typename... _Args, typename Tp = _Tp, typename std::enable_if_t<!std::is_array_v< Tp > > * dummy = nullptr>
◆ ~GuestAllocation()
◆ GuestAllocation() [3/4]
◆ GuestAllocation() [4/4]
◆ _is_array()
template<typename _Tp >
|
|
inlinestaticconstexprprotected |
◆ address()
Get the underlying address.
◆ operator const guest_ptr< _Tp > &()
Transparently decay into a guest_ptr<_Tp>
◆ operator guest_ptr< void >()
Transparently decay into a guest_ptr<void>
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ptr()
Get a copy of the underlying pointer.
- Returns
- guest_ptr<_Tp>
◆ release()
Release this memory from management.
This can be used to keep memory in the guest permanently. You are essentially causing a memory leak in the guest process by calling this, so be careful.
- Returns
- guest_ptr<_Tp> containing the mapping
◆ guest_
◆ ptr_
◆ region_size_
The documentation for this class was generated from the following file: