| 138 | } |
| 139 | |
| 140 | struct DumpItForLinux { |
| 141 | pub iomem_ranges: Vec<MemoryRange>, |
| 142 | pub mem_ranges: Vec<MemoryRange>, |
| 143 | |
| 144 | // VMCOREINFO |
| 145 | pub vmci_size_va: Option<u64>, |
| 146 | pub vmci_data_va: Option<u64>, |
| 147 | pub vmcoreinfo: Option<Vec<u8>>, |
| 148 | |
| 149 | // kcore |
| 150 | pub kcore: fs::File, |
| 151 | pub out_header: Option<Vec<u8>> |
| 152 | } |
| 153 | |
| 154 | impl DumpItForLinux { |
| 155 | fn new() -> Result<Self> { |
nothing calls this directly
no outgoing calls
no test coverage detected