helpers.cc (13893:0e863b6c441a) | helpers.cc (14021:d23e5577e8f5) |
---|---|
1/* 2 * Copyright (c) 2016 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 80 unchanged lines hidden (view full) --- 89 return de.len; 90} 91 92void 93Linux::dumpDmesg(ThreadContext *tc, std::ostream &os) 94{ 95 System *system = tc->getSystemPtr(); 96 const SymbolTable *symtab = system->kernelSymtab; | 1/* 2 * Copyright (c) 2016 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 80 unchanged lines hidden (view full) --- 89 return de.len; 90} 91 92void 93Linux::dumpDmesg(ThreadContext *tc, std::ostream &os) 94{ 95 System *system = tc->getSystemPtr(); 96 const SymbolTable *symtab = system->kernelSymtab; |
97 FSTranslatingPortProxy proxy(tc); | 97 PortProxy &proxy = tc->getVirtProxy(); |
98 99 Addr addr_lb = 0, addr_lb_len = 0, addr_first = 0, addr_next = 0; 100 const bool found_symbols = 101 symtab->findAddress("__log_buf", addr_lb) && 102 symtab->findAddress("log_buf_len", addr_lb_len) && 103 symtab->findAddress("log_first_idx", addr_first) && 104 symtab->findAddress("log_next_idx", addr_next); 105 --- 47 unchanged lines hidden --- | 98 99 Addr addr_lb = 0, addr_lb_len = 0, addr_first = 0, addr_next = 0; 100 const bool found_symbols = 101 symtab->findAddress("__log_buf", addr_lb) && 102 symtab->findAddress("log_buf_len", addr_lb_len) && 103 symtab->findAddress("log_first_idx", addr_first) && 104 symtab->findAddress("log_next_idx", addr_next); 105 --- 47 unchanged lines hidden --- |