mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 19:36:47 +00:00
删除一些日志
This commit is contained in:
parent
d9c7ddec66
commit
cac29db7c5
@ -271,6 +271,7 @@ void apic_local_apic_init()
|
|||||||
*/
|
*/
|
||||||
kdebug("All LVT Masked");
|
kdebug("All LVT Masked");
|
||||||
|
|
||||||
|
/*
|
||||||
// 获取TPR寄存器的值
|
// 获取TPR寄存器的值
|
||||||
__asm__ __volatile__("movq $0x808, %%rcx \n\t"
|
__asm__ __volatile__("movq $0x808, %%rcx \n\t"
|
||||||
"rdmsr \n\t"
|
"rdmsr \n\t"
|
||||||
@ -282,6 +283,7 @@ void apic_local_apic_init()
|
|||||||
"rdmsr \n\t"
|
"rdmsr \n\t"
|
||||||
: "=a"(eax), "=d"(edx)::"memory");
|
: "=a"(eax), "=d"(edx)::"memory");
|
||||||
kdebug("LVT_PPR=%#010x", eax);
|
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);
|
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);
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user