| 147 | #endif |
| 148 | |
| 149 | static void cb_parse_string(const void *const ptr, uintptr_t *const info) |
| 150 | { |
| 151 | /* ptr is already virtual (str->string just an offset to that), |
| 152 | but we want to keep physical addresses */ |
| 153 | const struct cb_string *const str = ptr; |
| 154 | *info = virt_to_phys(str->string); |
| 155 | } |
| 156 | |
| 157 | static void cb_parse_ramoops(void *ptr, struct sysinfo_t *info) |
| 158 | { |
no test coverage detected