Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/arch/x86_64/interrupt/
Dmod.rs39 let rflags: u64; in is_irq_enabled() localVariable
41 asm!("pushfq; pop {}", out(reg) rflags); in is_irq_enabled()
43 return rflags & (1 << 9) != 0; in is_irq_enabled()
48 let mut rflags: u64 = 0; in save_and_disable_irq() localVariable
49 local_irq_save(&mut rflags); in save_and_disable_irq()
50 let flags = IrqFlags::new(rflags); in save_and_disable_irq()
/DragonOS-0.1.7/kernel/src/sched/
Drt.rs55 let mut rflags = 0u64; in enqueue() localVariable
56 self.lock.lock_irqsave(&mut rflags); in enqueue()
60 self.lock.unlock_irqrestore(&rflags); in enqueue()
64 self.lock.unlock_irqrestore(&rflags); in enqueue()
70 let mut rflags = 0u64; in dequeue() localVariable
71 self.lock.lock_irqsave(&mut rflags); in dequeue()
79 self.lock.unlock_irqrestore(&rflags); in dequeue()
83 let mut rflags = 0u64; in enqueue_front() localVariable
84 self.lock.lock_irqsave(&mut rflags); in enqueue_front()
88 self.lock.unlock_irqrestore(&rflags); in enqueue_front()
[all …]
Dcfs.rs62 let mut rflags = 0u64; in enqueue() localVariable
63 self.lock.lock_irqsave(&mut rflags); in enqueue()
67 self.lock.unlock_irqrestore(&rflags); in enqueue()
73 self.lock.unlock_irqrestore(&rflags); in enqueue()
79 let mut rflags = 0u64; in dequeue() localVariable
80 self.lock.lock_irqsave(&mut rflags); in dequeue()
88 self.lock.unlock_irqrestore(&rflags); in dequeue()
/DragonOS-0.1.7/kernel/src/arch/x86_64/
Dfpu.rs82 let mut rflags: u64 = 0; in fp_state_save() localVariable
83 local_irq_save(&mut rflags); in fp_state_save()
115 local_irq_restore(&rflags); in fp_state_save()
121 let mut rflags: u64 = 0; in fp_state_restore() localVariable
122 local_irq_save(&mut rflags); in fp_state_restore()
146 local_irq_restore(&rflags); in fp_state_restore()
/DragonOS-0.1.7/kernel/src/process/
Dptrace.h28 unsigned long rflags; member
Dprocess.c521 regs->rflags = 0x200246; in do_execve()
697 regs.rflags = (1 << 9); in kernel_thread()
/DragonOS-0.1.7/kernel/src/libs/
Dprintk.c596 uint64_t rflags; in printk_color() local
597 spin_lock_irqsave(&__printk_lock, rflags); in printk_color()
613 spin_unlock_irqrestore(&__printk_lock, rflags); in printk_color()
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/
DV0.1.2.md51 - 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题
275 * 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题
DV0.1.7.md52 - spinlock: 修复spinlock忘记恢复rflags的问题 (#247)
200 1.修复spinlock忘记恢复rflags的问题
/DragonOS-0.1.7/kernel/src/mm/
Dvma.c197 uint64_t rflags; in __anon_vma_create_alloc() local