18 #if !defined(__FLECSI_PRIVATE__) 19 #error Do not include this file directly! 51 inline constexpr
short privilege_bits = 2;
63 static_assert(((PP < 1 << privilege_bits) && ...));
65 ((ret <<= privilege_bits, ret |= PP), ...);
77 return (util::bit_width(PACK) - 1) / privilege_bits;
91 ((1 << privilege_bits) - 1));
95 privilege_write(std::size_t pack) noexcept {
constexpr size_t privilege_pack
Definition: privilege.hh:62
constexpr partition_privilege_t get_privilege(std::size_t i, std::size_t pack)
Definition: privilege.hh:88
partition_privilege_t
Definition: privilege.hh:44
constexpr size_t privilege_count(std::size_t PACK)
Definition: privilege.hh:76
Definition: control.hh:31