pub struct PlatformDeviceResource {
pub res_type: PlatformDeviceResourceType,
pub start: usize,
pub end: usize,
pub irq_metadata: Option<IrqMetadata>,
}Expand description
PlatformDeviceResource struct
This struct represents a resource associated with a platform device. It contains the resource type (memory, I/O, IRQ, or DMA), the starting address, and the ending address of the resource.
Fields§
§res_type: PlatformDeviceResourceType§start: usize§end: usize§irq_metadata: Option<IrqMetadata>Optional metadata for IRQ resources (e.g., type, flags from Device Tree)