Home
last modified time | relevance | path

Searched refs:uint (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dcpu.c6 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.8/kernel/src/driver/acpi/
Dacpi.h41 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 …]
Dacpi.c21 static uint acpi_RSDT_Entry_num = 0;
22 static uint acpi_XSDT_Entry_num = 0;
57 uint *ent = &(rsdt->Entry); in acpi_iter_SDT()
209 else if (rsdpv1->RsdtAddress != (uint)0x00UL) in acpi_init()
/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/
Dapic.h103 uint vector : 8, // 0-7位全部置为1
249 uint addr_phys;
253 uint *virtual_data_addr;
255 uint *virtual_EOI_addr;
302 uint apic_get_ics(const uint type, ul ret_vaddr[], uint *total);
Dapic.c22 static uint local_apic_version;
23 static uint local_apic_max_LVT_entries;
84 apic_ioapic_map.virtual_data_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x10); in apic_io_apic_init()
85 apic_ioapic_map.virtual_EOI_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x40); in apic_io_apic_init()
125 uint eax, edx; in apic_init_ap_core_local_apic()
194 …*(volatile uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_TIMER) = APIC… in __local_apic_xapic_init()
197 …*(volatile uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_THERMAL) = AP… in __local_apic_xapic_init()
199 …*(volatile uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_PERFORMANCE_M… in __local_apic_xapic_init()
202 …*(volatile uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_LINT0) = APIC… in __local_apic_xapic_init()
204 …*(volatile uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_LINT1) = APIC… in __local_apic_xapic_init()
[all …]
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.c7 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()
47uint 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 …]
Dpci.h190 uint pci_write_config(uchar bus, uchar slot, uchar func, uchar offset, uint32_t data);
/DragonOS-0.1.8/kernel/src/
Dmain.c85 …set_tss64((uint *)&initial_tss[0], _stack_start, _stack_start, _stack_start, tss_item_addr, tss_it… in system_initialize()
214 multiboot2_magic = (uint)mb2_magic; in Start_Kernel()
/DragonOS-0.1.8/kernel/src/common/
Dglib.h36 typedef unsigned int uint; typedef
/DragonOS-0.1.8/kernel/src/smp/
Dsmp.c122 …(uint *)cpu_core_info[current_starting_cpu].tss_vaddr, cpu_core_info[current_starting_cpu].stack_s… in smp_init()