pub struct Cedt { /* private fields */ }Expand description
CXL Early Discovery Table (CEDT).
Implementations§
Source§impl Cedt
impl Cedt
Sourcepub fn add_cxl_host_bridge(
&mut self,
uid: u32,
hdm_range: MemoryRange,
chbcr_range: MemoryRange,
hdm_window_restrictions: u16,
) -> Result<(), CedtHostBridgeError>
pub fn add_cxl_host_bridge( &mut self, uid: u32, hdm_range: MemoryRange, chbcr_range: MemoryRange, hdm_window_restrictions: u16, ) -> Result<(), CedtHostBridgeError>
Add one CXL host bridge to CEDT.
This appends:
- One CHBS structure.
- One CFMWS structure where only base HPA and window size are set, with one Interleave Target List entry for ENIW=0 (1-way interleave, default).
Auto Trait Implementations§
impl Freeze for Cedt
impl RefUnwindSafe for Cedt
impl Send for Cedt
impl Sync for Cedt
impl Unpin for Cedt
impl UnsafeUnpin for Cedt
impl UnwindSafe for Cedt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more