Searched refs:uint (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.2/kernel/src/libs/ |
D | cpu.c | 6 uint Cpu_cpuid_max_Basic_mop; 8 uint Cpu_cpuid_max_Extended_mop; 14 uint Cpu_Family_ID; 16 uint Cpu_Extended_Family_ID; 18 uint Cpu_Model_ID; 20 uint Cpu_Extended_Model_ID; 22 uint Cpu_Stepping_ID; 24 uint Cpu_Processor_Type; 26 uint Cpu_max_phys_addrline_size; 28 uint Cpu_max_linear_addrline_size; [all …]
|
/DragonOS-0.1.2/kernel/src/driver/acpi/ |
D | acpi.h | 41 uint RsdtAddress; 50 uint Length; 63 uint Length; 71 uint OEMRevision; 72 uint CreatorID; 73 uint CreatorRevision; 107 uint Local_Interrupt_Controller_Address; 110 uint flags; 129 uint flags; 139 uint IO_APIC_Address; [all …]
|
D | acpi.c | 21 static uint acpi_RSDT_Entry_num = 0; 22 static uint acpi_XSDT_Entry_num = 0; 56 uint *ent = &(rsdt->Entry); in acpi_iter_SDT() 190 else if (rsdpv1->RsdtAddress != (uint)0x00UL) in acpi_init()
|
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/ |
D | apic.c | 21 static uint local_apic_version; 22 static uint local_apic_max_LVT_entries; 82 apic_ioapic_map.virtual_data_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x10); in apic_io_apic_init() 83 apic_ioapic_map.virtual_EOI_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x40); in apic_io_apic_init() 121 uint eax, edx; in apic_init_ap_core_local_apic() 186 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_TIMER) = APIC_LVT_INT_… in __local_apic_xapic_init() 189 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_THERMAL) = APIC_LVT_IN… in __local_apic_xapic_init() 191 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_PERFORMANCE_MONITOR) =… in __local_apic_xapic_init() 193 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_LINT0) = APIC_LVT_INT_… in __local_apic_xapic_init() 195 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_LINT1) = APIC_LVT_INT_… in __local_apic_xapic_init() [all …]
|
D | apic.h | 104 uint vector : 8, // 0-7位全部置为1 250 uint addr_phys; 254 uint *virtual_data_addr; 256 uint *virtual_EOI_addr; 303 uint apic_get_ics(const uint type, ul ret_vaddr[], uint *total);
|
/DragonOS-0.1.2/kernel/src/driver/pci/ |
D | pci.c | 7 static uint count_device_list = 0; 42 uint lbus = (uint)bus; in pci_read_config() 43 uint lslot = (uint)slot; in pci_read_config() 44 uint lfunc = ((uint)func) & 7; in pci_read_config() 47 …uint address = (uint)((lbus << 16) | (lslot << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint)0x800… in pci_read_config() 50 uint32_t ret = (uint)(io_in32(PORT_PCI_CONFIG_DATA)); in pci_read_config() 64 uint pci_write_config(uchar bus, uchar slot, uchar func, uchar offset, uint32_t data) in pci_write_config() 66 uint lbus = (uint)bus; in pci_write_config() 67 uint lslot = (uint)slot; in pci_write_config() 68 uint lfunc = ((uint)func) & 7; in pci_write_config() [all …]
|
D | pci.h | 190 uint pci_write_config(uchar bus, uchar slot, uchar func, uchar offset, uint32_t data);
|
/DragonOS-0.1.2/kernel/src/ |
D | main.c | 88 …set_tss64((uint *)&initial_tss[0], _stack_start, _stack_start, _stack_start, tss_item_addr, tss_it… in system_initialize() 203 multiboot2_magic = (uint)mb2_magic; in Start_Kernel()
|
/DragonOS-0.1.2/kernel/src/common/ |
D | glib.h | 36 typedef unsigned int uint; typedef
|
/DragonOS-0.1.2/kernel/src/smp/ |
D | smp.c | 105 …(uint *)cpu_core_info[current_starting_cpu].tss_vaddr, cpu_core_info[current_starting_cpu].stack_s… in smp_init()
|
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/ |
D | ahci.c | 227 uint dt = check_type(&abar->ports[i]); in ahci_probe_port()
|