pub struct DMAInfo {
pub cpu_addr: NonNull<u8>,
pub bus_addr: BusAddr,
}
Expand description
Represents information related to a DMA operation.
Fields§
§cpu_addr: NonNull<u8>
The address at which the CPU accesses this memory region. This address is a virtual memory address used by the CPU to access memory.
bus_addr: BusAddr
Represents the physical address of this memory region on the bus. The DMA controller uses this address to directly access memory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DMAInfo
impl RefUnwindSafe for DMAInfo
impl !Send for DMAInfo
impl !Sync for DMAInfo
impl Unpin for DMAInfo
impl UnwindSafe for DMAInfo
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