| 105 | |
| 106 | #[derive(Tabled, Debug)] |
| 107 | pub struct MemoryRange { |
| 108 | #[tabled(display_with = "display_u64")] |
| 109 | pub start_phys_addr: u64, |
| 110 | #[tabled(display_with = "display_u64")] |
| 111 | pub end_phys_addr: u64, |
| 112 | #[tabled(display_with = "display_u64")] |
| 113 | pub memsz: u64, |
| 114 | |
| 115 | #[tabled(display_with = "display_u64")] |
| 116 | pub virt_addr: u64, |
| 117 | #[tabled(display_with = "display_u64")] |
| 118 | pub kcore_file_off: u64, |
| 119 | |
| 120 | pub out_file_off: u64, |
| 121 | |
| 122 | pub p_flags: u32, |
| 123 | |
| 124 | pub is_virtual: bool, |
| 125 | } |
| 126 | |
| 127 | impl MemoryRange { |
| 128 | pub fn set_file_offset( |
nothing calls this directly
no outgoing calls
no test coverage detected