refactor(kernel): update debug messages

This commit is contained in:
2025-04-17 16:01:03 +00:00
parent 7902726239
commit e270c9f35b
4 changed files with 38 additions and 10 deletions

View File

@ -333,7 +333,7 @@ namespace v0
void PS2Wait(dev_t DriverID, const bool Output)
{
dbg_api("%d, %d", DriverID, Output);
// dbg_api("%d, %d", DriverID, Output);
#if defined(__amd64__) || defined(__i386__)
int Timeout = 100000;
@ -379,7 +379,7 @@ namespace v0
uint8_t PS2ReadData(dev_t DriverID)
{
dbg_api("%d", DriverID);
// dbg_api("%d", DriverID);
#if defined(__amd64__) || defined(__i386__)
WaitOutput;

View File

@ -185,17 +185,13 @@ namespace SymbolResolver
if (strlen(name) == 0)
continue;
SymbolTable tbl{};
SymbolTable tbl;
tbl.Address = sym->st_value;
tbl.FunctionName = new char[strlen(name) + 1];
strcpy(tbl.FunctionName, name);
this->SymTable.push_back(tbl);
this->SymbolTableExists = true;
// debug("Symbol %d: %#lx %s(%#lx)",
// i, tbl.Address,
// tbl.FunctionName,
// name);
// debug("Symbol %d: %#lx %s(%#lx)", i, tbl.Address, tbl.FunctionName, name);
}
}
}