template <typename T, PhysHandoffPtrLifetime Lifetime>
class PhysHandoffPtr
Defined at line 117 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
Public Members
static const bool kCanDeref
Public Methods
void PhysHandoffPtr<T, Lifetime> ()
Default-constructible, movable but not copyable (use .get() instead).
Defined at line 125 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
void PhysHandoffPtr<T, Lifetime> (PhysHandoffPtr<T, Lifetime> && other)
Defined at line 126 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
void PhysHandoffPtr<T, Lifetime> (const PhysHandoffPtr<T, Lifetime> & )
Defined at line 128 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
void PhysHandoffPtr<T, Lifetime> (T & ref)
In the kernel proper, pointers that are definitely into the image itself
can be initialized as constinit.
Defined at line 134 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
PhysHandoffPtr<T, Lifetime> & operator= (PhysHandoffPtr<T, Lifetime> && other)
Defined at line 138 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
PhysHandoffPtr<T, Lifetime> & operator= (const PhysHandoffPtr<T, Lifetime> & )
Defined at line 143 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
auto operator<=> (const PhysHandoffPtr<T, Lifetime> & other)
Defined at line 147 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
bool operator bool ()
Defined at line 149 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
value_type * get ()
Defined at line 151 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
value_type * force_get ()
This is allowed for debugging purposes in physboot.
Defined at line 162 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
value_type * release ()
Defined at line 164 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
value_type & operator* ()
Defined at line 170 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
value_type * operator-> ()
Defined at line 176 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
uintptr_t address ()
The equivalent of reinterpret_cast can be done even when !kCanDeref.
Defined at line 184 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
template <typename Other>
PhysHandoffPtr<Other, Lifetime> Reinterpret ()
Defined at line 190 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
template <typename Other>
PhysHandoffPtr<Other, Lifetime> ConstCast ()
Defined at line 199 of file ../../zircon/kernel/phys/include/phys/handoff-ptr.h
Friends
template <typename Other, PhysHandoffPtrLifetime OtherLifetime>
class PhysHandoffPtr
template <typename TPhysHandoffPtrLifetime Lifetime>
class HandoffPrep