mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
Log about additional CPU/APICs
This commit is contained in:
2
qemu.sh
2
qemu.sh
@@ -46,7 +46,7 @@ exec qemu-system-x86_64 \
|
||||
-drive "if=pflash,format=raw,file=${build}/${flash_name}.fd" \
|
||||
-drive "format=raw,file=${build}/popcorn.img" \
|
||||
-monitor telnet:localhost:45454,server,nowait \
|
||||
-smp 1 \
|
||||
-smp 4 \
|
||||
-m 512 \
|
||||
-d mmu,int,guest_errors \
|
||||
-D popcorn.log \
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
LOG(apic, info);
|
||||
LOG(device, info);
|
||||
LOG(paging, info);
|
||||
LOG(paging, warn);
|
||||
LOG(driver, info);
|
||||
LOG(memory, debug);
|
||||
LOG(memory, info);
|
||||
LOG(fs, info);
|
||||
LOG(task, debug);
|
||||
LOG(boot, debug);
|
||||
LOG(syscall,debug);
|
||||
LOG(task, info);
|
||||
LOG(boot, info);
|
||||
LOG(syscall,info);
|
||||
|
||||
@@ -167,7 +167,13 @@ device_manager::load_apic(const acpi_apic *apic)
|
||||
const uint8_t length = p[1];
|
||||
|
||||
switch (type) {
|
||||
case 0: // Local APIC
|
||||
case 0: { // Local APIC
|
||||
uint8_t uid = kutil::read_from<uint8_t>(p+2);
|
||||
uint8_t id = kutil::read_from<uint8_t>(p+3);
|
||||
log::debug(logs::device, " Local APIC uid %x id %x", id);
|
||||
}
|
||||
break;
|
||||
|
||||
case 1: // I/O APIC
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user