syscall/include/bf_constants.hpp
[[nodiscard]] static constexpr auto
    bf_page_aligned(bsl::safe_umx const &addr) noexcept -> bsl::safe_umx
    {
        bsl::expects(addr.is_valid_and_checked());
        return (addr & ~(HYPERVISOR_PAGE_SIZE - bsl::safe_u64::magic_1()));
    }
/// <!-- description -->
///   @brief Returns the page aligned version of the addr
///
/// <!-- inputs/outputs -->
///   @param addr the address to query
///   @return Returns the page aligned version of the addr
///

@brief Returns the page aligned version of the addr


@param addr the address to query
@return Returns the page aligned version of the addr
@brief Returns the page aligned version of the addr @param addr the address to query @return Returns the page aligned version of the addr
[[nodiscard]] static constexpr auto
    bf_page_aligned(bsl::safe_umx const &addr) noexcept -> bsl::safe_umx
    {
        bsl::expects(addr.is_valid_and_checked());
        return (addr & ~(HYPERVISOR_PAGE_SIZE - bsl::safe_u64::magic_1()));
    }
[[ nodiscard ]] static constexpr auto bf_page_aligned ( bsl :: safe_umx const & addr ) noexcept -> bsl :: safe_umx { bsl :: expects ( addr . is_valid_and_checked ( ) ) ; return ( addr & ~ ( HYPERVISOR_PAGE_SIZE - bsl :: safe_u64 :: magic_1 ( ) ) ) ; }
<!-- description -->
@brief Returns the page aligned version of the addr
<! -- description -- > @brief Returns the page aligned version of the addr