Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/arch/x86_64/include/asm/
Dasm.h119 void wrmsr(uint64_t address, uint64_t value) in wrmsr() argument
121 __asm__ __volatile__("wrmsr \n\t" ::"d"(value >> 32), "a"(value & 0xffffffff), "c"(address) in wrmsr()
131 uint64_t rdmsr(uint64_t address) in rdmsr() argument
136 : "c"(address) in rdmsr()
/DragonOS-0.1.2/docs/kernel/core_api/
Dmm-api.md44 ### `unsigned long kfree(void *address)`
50   该函数用于释放通过kmalloc申请的内存。如果`address`为NULL,则函数被调用后,无事发生。
56 **address**
/DragonOS-0.1.2/kernel/src/mm/
Dslab.h80 unsigned long kfree(void *address);
Dslab.c634 unsigned long kfree(void *address) in kfree() argument
636 if (unlikely(address == NULL)) in kfree()
641 void *page_base_addr = (void *)((ul)address & PAGE_2M_MASK); in kfree()
661 index = (address - slab_obj_ptr->vaddr) / kmalloc_cache_group[i].size; in kfree()
711 kBUG("kfree(): Can't free memory. address=%#018lx", address); in kfree()
/DragonOS-0.1.2/kernel/src/driver/timers/HPET/
DHPET.c273 HPET_REG_BASE = SPECIAL_MEMOEY_MAPPING_VIRT_ADDR_BASE + hpet_table->address; in HPET_init()
274 kdebug("hpet_table->address=%#018lx", hpet_table->address); in HPET_init()
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/
Derrno.md45 #define EDESTADDRREQ 17 /* 需要目标地址 Destination address required.*/
55 #define EFAULT 21 /* 错误的地址 Bad address*/
145 #define ENXIO 63 /* 没有这样的设备或地址 No such device or address.*/
/DragonOS-0.1.2/kernel/src/driver/acpi/
Dacpi.h92 uint64_t address; member
/DragonOS-0.1.2/kernel/src/driver/pci/
Dpci.c47 …uint address = (uint)((lbus << 16) | (lslot << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint)0x800… in pci_read_config() local
48 io_out32(PORT_PCI_CONFIG_ADDRESS, address); in pci_read_config()
71 …uint address = (uint)((lbus << 16) | (lslot << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint)0x800… in pci_write_config() local
72 io_out32(PORT_PCI_CONFIG_ADDRESS, address); in pci_write_config()
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c109 static __always_inline void xhci_get_trb(struct xhci_TRB_t *trb, const uint64_t address) in xhci_get_trb() argument
111 trb->param = __read8b(address); in xhci_get_trb()
112 trb->status = __read4b(address + 8); in xhci_get_trb()
113 trb->command = __read4b(address + 12); in xhci_get_trb()
122 static __always_inline void xhci_set_trb(struct xhci_TRB_t *trb, const uint64_t address) in xhci_set_trb() argument
124 __write8b(address, trb->param); in xhci_set_trb()
125 __write4b(address + 8, trb->status); in xhci_set_trb()
126 __write4b(address + 12, trb->command); in xhci_set_trb()
/DragonOS-0.1.2/
DREADME_EN.md42 &emsp;&emsp;You can send me an email. My email address is[ longjin@RinGoTek.cn ](mailto: longjin@Ri…
DLICENSE240 address new problems or concerns.