ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.dgp.portal.types Module Reference

Data Structures

struct  zxfoundation::dgp::portal::portal_binding
 Result of an import that must be used with the returned AR. More...
struct  zxfoundation::dgp::portal::portal_desc

Enumerations

enum class  portal_prot : u32 { none = 0 , read = 1U << 0 , write = 1U << 1 , rw = read | write }

Functions

constexpr auto zxfoundation::dgp::portal::operator! (portal_prot val) noexcept -> bool
constexpr auto zxfoundation::dgp::portal::operator& (portal_prot lhs, portal_prot rhs) noexcept -> portal_prot
constexpr auto zxfoundation::dgp::portal::operator&= (portal_prot &lhs, portal_prot rhs) noexcept -> portal_prot &
constexpr auto zxfoundation::dgp::portal::operator| (portal_prot lhs, portal_prot rhs) noexcept -> portal_prot
constexpr auto zxfoundation::dgp::portal::operator|= (portal_prot &lhs, portal_prot rhs) noexcept -> portal_prot &
constexpr auto zxfoundation::dgp::portal::operator~ (portal_prot val) noexcept -> portal_prot
auto size () const noexcept -> u64
 Returns the size of the accessible range in bytes.

Variables

u8 _pad [3] {}
u8 _pad [3] {}
u32 _pad2 {0}
u32 alet {0}
 Access List Entry Token assigned to this portal.
u8 ar_num {0}
u8 ar_num {0}
 Access register number (0-15) in source domain.
u32 aste_index {~0U}
 Global ASTE entry used by this portal.
scoms::kobject::bobject ko {}
 lifecycle + refcount.
constexpr u32 zxfoundation::dgp::portal::MAX_PORTALS = 1024U
constexpr u32 zxfoundation::dgp::portal::MAX_PORTALS_PER_DOMAIN = 16U
u32 pinned_pages {0}
u64 portal_asce {0}
 ASCE installed in the ASTE.
u32 portal_id {~0U}
u64 portal_root_phys {0}
 Dedicated exact-range portal DAT root.
portal_prot prot {portal_prot::none}
u32 source_domain {0}
 Domain that holds this portal (has the ALET).
u32 target_domain {0}
 Domain whose address space is accessed.
u64 va_end {0}
 End of accessible range in target.
u64 va_start {0}
 Start of accessible range in target.

Files

file  zxfoundation/dgp/portal.zcomponent/types.cxxm
 Portal subsystem types.