@@ -271,6 +271,7 @@ void apic_local_apic_init()
*/
kdebug("All LVT Masked");
+ /*
// 获取TPR寄存器的值
__asm__ __volatile__("movq $0x808, %%rcx \n\t"
"rdmsr \n\t"
@@ -282,6 +283,7 @@ void apic_local_apic_init()
: "=a"(eax), "=d"(edx)::"memory");
kdebug("LVT_PPR=%#010x", eax);
+ */
}
/**
@@ -449,7 +449,6 @@ void pci_init()
{
kinfo("[ pci device %d ] class code = %d\tsubclass=%d\tstatus=%#010lx\tcap_pointer=%#010lx", i, ptr->Class_code, ptr->SubClass, ptr->Status, ((struct pci_device_structure_general_device_t *)ptr)->Capabilities_Pointer);
uint32_t tmp = pci_read_config(ptr->bus, ptr->device, ptr->func, ((struct pci_device_structure_general_device_t *)ptr)->Capabilities_Pointer);
- kdebug("cap+0x0 = %#010lx", tmp);
else