return;
}
- uint32_t log_buf_len =
- proxy.read<uint32_t>(lb_len->address, TheISA::GuestByteOrder);
- uint32_t log_first_idx =
- proxy.read<uint32_t>(first->address, TheISA::GuestByteOrder);
- uint32_t log_next_idx =
- proxy.read<uint32_t>(next->address, TheISA::GuestByteOrder);
+ uint32_t log_buf_len = proxy.read<uint32_t>(lb_len->address, bo);
+ uint32_t log_first_idx = proxy.read<uint32_t>(first->address, bo);
+ uint32_t log_next_idx = proxy.read<uint32_t>(next->address, bo);
if (log_first_idx >= log_buf_len || log_next_idx >= log_buf_len) {
warn("dmesg pointers/length corrupted\n");