Home
last modified time | relevance | path

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

/DragonOS-0.1.3/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.3/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;
56 uint *ent = &(rsdt->Entry); in acpi_iter_SDT()
190 else if (rsdpv1->RsdtAddress != (uint)0x00UL) in acpi_init()
/DragonOS-0.1.3/kernel/src/driver/interrupt/apic/
Dapic.c22 static uint local_apic_version;
23 static uint local_apic_max_LVT_entries;
83 apic_ioapic_map.virtual_data_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x10); in apic_io_apic_init()
84 apic_ioapic_map.virtual_EOI_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x40); in apic_io_apic_init()
122 uint eax, edx; in apic_init_ap_core_local_apic()
187 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_TIMER) = APIC_LVT_INT_… in __local_apic_xapic_init()
190 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_THERMAL) = APIC_LVT_IN… in __local_apic_xapic_init()
192 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_PERFORMANCE_MONITOR) =… in __local_apic_xapic_init()
194 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_LINT0) = APIC_LVT_INT_… in __local_apic_xapic_init()
196 …*(uint *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_LINT1) = APIC_LVT_INT_… in __local_apic_xapic_init()
[all …]
Dapic.h104 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.3/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.3/kernel/src/
Dmain.c89 …set_tss64((uint *)&initial_tss[0], _stack_start, _stack_start, _stack_start, tss_item_addr, tss_it… in system_initialize()
206 multiboot2_magic = (uint)mb2_magic; in Start_Kernel()
/DragonOS-0.1.3/kernel/src/common/
Dglib.h36 typedef unsigned int uint; typedef
/DragonOS-0.1.3/kernel/src/smp/
Dsmp.c101 …(uint *)cpu_core_info[current_starting_cpu].tss_vaddr, cpu_core_info[current_starting_cpu].stack_s… in smp_init()
/DragonOS-0.1.3/kernel/src/driver/disk/ahci/
Dahci.c227 uint dt = check_type(&abar->ports[i]); in ahci_probe_port()