Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.2/kernel/src/exception/
Dgate.h100 void set_tss_descriptor(unsigned int n, void *addr) in set_tss_descriptor()
127 void set_intr_gate(unsigned int n, unsigned char ist, void *addr) in set_intr_gate()
141 void set_trap_gate(unsigned int n, unsigned char ist, void *addr) in set_trap_gate()
156 void set_system_trap_gate(unsigned int n, unsigned char ist, void *addr) in set_system_trap_gate()
165 static inline void set_system_intr_gate(unsigned int n,unsigned char ist,void * addr) //int3 in set_system_intr_gate()
/DragonOS-0.1.2/kernel/src/mm/
Dmm.h36 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK) argument
37 #define PAGE_2M_ALIGN(addr) (((unsigned long)(addr) + PAGE_2M_SIZE - 1) & PAGE_2M_MASK) argument
40 #define virt_2_phys(addr) ((unsigned long)(addr)-PAGE_OFFSET) argument
41 #define phys_2_virt(addr) ((unsigned long *)((unsigned long)(addr) + PAGE_OFFSET)) argument
281 #define mk_pml4t(addr, attr) ((unsigned long)(addr) | (unsigned long)(attr)) argument
289 #define mk_pdpt(addr, attr) ((unsigned long)(addr) | (unsigned long)(attr)) argument
292 #define mk_pdt(addr, attr) ((unsigned long)(addr) | (unsigned long)(attr)) argument
295 #define mk_pt(addr, attr) ((unsigned long)(addr) | (unsigned long)(attr)) argument
Dvma.c98 struct vm_area_struct *vma_find(struct mm_struct *mm, uint64_t addr) in vma_find()
Dslab.c289 ul slab_free(struct slab *slab_pool, void *addr, ul arg) in slab_free()
/DragonOS-0.1.2/kernel/src/debug/traceback/
Dtraceback.c5 static int lookup_kallsyms(uint64_t addr, int level) in lookup_kallsyms()
/DragonOS-0.1.2/kernel/src/driver/multiboot2/
Dmultiboot2.c12 uintptr_t *addr = (uintptr_t *)multiboot2_boot_info_addr; in multiboot2_init() local
25 uintptr_t addr = multiboot2_boot_info_addr; in multiboot2_iter() local
Dmultiboot2.h204 uint64_t addr; member
/DragonOS-0.1.2/kernel/src/driver/timers/rtc/
Drtc.c6 #define read_cmos(addr) ({ \ argument
/DragonOS-0.1.2/user/libs/libc/src/
Dmalloc.c23 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK) argument
24 #define PAGE_2M_ALIGN(addr) (((unsigned long)(addr) + PAGE_2M_SIZE - 1) & PAGE_2M_MASK) argument
/DragonOS-0.1.2/kernel/src/libs/libUI/
Dtextui-render.c123 unsigned int *addr; in __textui_render_chromatic() local
/DragonOS-0.1.2/kernel/src/common/
Dglib.h62 static __always_inline ul ALIGN(const ul addr, const ul _align) in ALIGN()
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dinternal.h50 #define xhci_is_aligned64(addr) (((addr)&0x3f) == 0) // 是否64bytes对齐 argument