kernel.(c|h) moved debugging code into if (DEBUGGING) section and cleaned up whitespace

master
Anton Lydike 3 years ago
parent 887056f141
commit c2484838c1

@ -38,10 +38,14 @@ void read_binary_table()
for (int i = 0; i < NUM_BINARIES; i++) { for (int i = 0; i < NUM_BINARIES; i++) {
if (binary_table[i].binid == 0) if (binary_table[i].binid == 0)
break; break;
// print message
msg[18] = (char) binary_table[i].binid + '0'; if (DEBUGGING) {
msg[27] = (char) i + '0'; // print message
dbgln(msg, 28); msg[18] = (char) binary_table[i].binid + '0';
msg[27] = (char) i + '0';
dbgln(msg, 28);
}
info.allocate_memory_start = binary_table[i].bounds[1]; info.allocate_memory_start = binary_table[i].bounds[1];
} }

Loading…
Cancel
Save