/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | mod.rs | 90 header: &uefi_raw::table::Header, in check_system_table_header() 93 if header.signature != uefi_raw::table::system::SystemTable::SIGNATURE { in check_system_table_header() 98 if header.revision.major() < min_major { in check_system_table_header() 101 header.revision, min_major in check_system_table_header()
|
H A D | init.rs | 170 .check_system_table_header(unsafe { &st_ptr.as_ref().unwrap().header }, 2) in uefi_init() 180 inner_write_guard.runtime_service_version = Some(st_ref.header.revision); in uefi_init() 184 &st_ref.header, in uefi_init()
|
H A D | tables.rs | 48 header: &uefi_raw::table::Header, in report_systable_header() 79 info!("EFI version: {:?}, vendor: {:?}", header.revision, s); in report_systable_header()
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | sysfs.rs | 112 for header in headers { in acpi_tables_sysfs_init() 113 debug!("ACPI header: {:?}", header); in acpi_tables_sysfs_init() 114 let attr = AttrAcpiTable::new(&header)?; in acpi_tables_sysfs_init() 116 self.acpi_table_data_init(&header)?; in acpi_tables_sysfs_init() 160 pub fn new(header: &SdtHeader) -> Result<Arc<Self>, SystemError> { in new() 162 name: header.signature.to_string(), in new() 165 size: header.length as usize, in new() 183 if h.signature == header.signature { in new() 277 header: SdtHeader, in read() 282 fn header(&self) -> &acpi::sdt::SdtHeader { in read() [all …]
|
/DragonOS/kernel/src/driver/pci/ |
H A D | raw_device.rs | 30 header: Arc<PciDeviceStructureGeneralDevice>, field 56 header: value, in from() 69 self.header.common_header.vendor_id in vendor() 73 self.header.common_header.device_id in device_id() 77 self.header.subsystem_vendor_id in subsystem_vendor() 81 self.header.subsystem_id in subsystem_device()
|
H A D | pci.rs | 711 let header = PciDeviceStructureHeader { in pci_read_header() localVariable 729 pci_read_general_device_header(header, &bus_device_function); in pci_read_header() 744 let pci_to_pci_bridge = pci_read_pci_to_pci_bridge_header(header, &bus_device_function); in pci_read_header() 754 pci_read_pci_to_cardbus_bridge_header(header, &bus_device_function); in pci_read_header() 975 let header = pci_read_header(busdevicefunction, false)?; in pci_check_all_buses() localVariable 976 let common_header = header.common_header(); in pci_check_all_buses() 989 let header = match pci_read_header(busdevicefunction, true) { in pci_check_function() localVariable 990 Ok(header) => header, in pci_check_function() 998 let common_header = header.common_header(); in pci_check_function() 1002 let pci_to_pci_bridge = header in pci_check_function() [all …]
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio.rs | 98 let header = &standard_device.common_header; in virtio_device_search() localVariable 99 if header.device_id >= 0x1000 && header.device_id <= 0x103F { in virtio_device_search()
|
H A D | transport_mmio.rs | 54 let header = NonNull::new(vaddr.data() as *mut VirtIOHeader).unwrap(); in new() localVariable 56 match unsafe { MmioTransport::new(header) } { in new()
|
H A D | transport_pci.rs | 124 let header = &device.common_header; in new() localVariable 125 let bus_device_function = header.bus_device_function; in new() 126 if header.vendor_id != VIRTIO_VENDOR_ID { in new() 127 return Err(VirtioPciError::InvalidVendorId(header.vendor_id)); in new() 129 let device_type = device_type(header.device_id); in new()
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 246 let header: ObjectWrapper<MMLogChannel<1>> = in load_header() localVariable 248 if header.magic == MMLogChannel::<1>::MM_LOG_CHANNEL_MAGIC { in load_header() 249 info!("channel_header: {:?}", header); in load_header() 250 channel_header = Some(header); in load_header()
|
/DragonOS/kernel/src/perf/ |
H A D | util.rs | 88 pub header: perf_event_header, field 102 pub header: perf_event_header, field
|
H A D | bpf.rs | 177 header: perf_event_header { in write_sample() 195 header: perf_event_header { in write_lost()
|
/DragonOS/build-scripts/kernel_build/src/bindgen/ |
H A D | mod.rs | 24 .header(wrapper_h.to_str().unwrap()) in generate_bindings()
|
/DragonOS/docs/kernel/boot/ |
H A D | bootloader.md | 10 在DragonOS的note段,有一段PVH header,允许qemu使用`-kernel`参数启动DragonOS内核。
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e.rs | 608 let header = &standard_device.common_header; in e1000e_probe() localVariable 609 if header.vendor_id == 0x8086 { in e1000e_probe() 611 if E1000E_DEVICE_ID.contains(&header.device_id) { in e1000e_probe() 614 header.device_id in e1000e_probe() 620 DeviceId::new(None, Some(format!("e1000e_{}", header.device_id))).unwrap(), in e1000e_probe()
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 421 // This is our data: a real packet, starting with Ethernet header
|