Improve three logging messages.

This commit is contained in:
Maxim Poliakovski 2021-09-30 22:57:11 +02:00
parent 8c9f23daf4
commit b4d399ffa2
3 changed files with 4 additions and 4 deletions

View File

@ -605,7 +605,7 @@ static TLBEntry* dtlb2_refill(uint32_t guest_va, int is_write)
}
return tlb_entry;
} else {
LOG_F(ERROR, "Access to unmapped physical memory, phys_addr=0x%08X\n", phys_addr);
LOG_F(WARNING, "Access to unmapped physical memory, phys_addr=0x%08X\n", phys_addr);
return &UnmappedMem;
}
}

View File

@ -23,13 +23,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include "mesh.h"
#include <cinttypes>
#include <thirdparty/loguru/loguru.hpp>
#include <loguru.hpp>
uint8_t MESHController::read(uint8_t reg_offset)
{
switch(reg_offset) {
case MeshReg::BusStatus0:
LOG_F(INFO, "MESH: read from BusStatus0 register");
LOG_F(9, "MESH: read from BusStatus0 register");
return 0;
case MeshReg::MeshID:
LOG_F(INFO, "MESH: read from MeshID register");

View File

@ -96,7 +96,7 @@ void ViaCuda::write(int reg, uint8_t value) {
break;
case VIA_A:
case VIA_ANH:
LOG_F(WARNING, "Attempted read from VIA Port A! \n");
LOG_F(WARNING, "Attempted write to VIA Port A! \n");
break;
case VIA_DIRB:
LOG_F(9, "VIA_DIRB = %x \n", (uint32_t)value);