Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/arch/x86_64/interrupt/
Dmod.rs42 let rflags: u64; in is_irq_enabled() localVariable
44 asm!("pushfq; pop {}", out(reg) rflags, options(nomem, preserves_flags)); in is_irq_enabled()
46 return rflags & (1 << 9) != 0; in is_irq_enabled()
51 let rflags = local_irq_save(); in save_and_disable_irq() localVariable
52 let flags = IrqFlags::new(rflags); in save_and_disable_irq()
/DragonOS-0.1.8/kernel/src/sched/
Drt.rs53 let mut rflags = 0usize; in enqueue() localVariable
54 self.lock.lock_irqsave(&mut rflags); in enqueue()
58 self.lock.unlock_irqrestore(rflags); in enqueue()
62 self.lock.unlock_irqrestore(rflags); in enqueue()
68 let mut rflags = 0usize; in dequeue() localVariable
69 self.lock.lock_irqsave(&mut rflags); in dequeue()
77 self.lock.unlock_irqrestore(rflags); in dequeue()
81 let mut rflags = 0usize; in enqueue_front() localVariable
82 self.lock.lock_irqsave(&mut rflags); in enqueue_front()
86 self.lock.unlock_irqrestore(rflags); in enqueue_front()
[all …]
Dcfs.rs61 let mut rflags = 0usize; in enqueue() localVariable
62 self.lock.lock_irqsave(&mut rflags); in enqueue()
66 self.lock.unlock_irqrestore(rflags); in enqueue()
72 self.lock.unlock_irqrestore(rflags); in enqueue()
78 let mut rflags = 0usize; in dequeue() localVariable
79 self.lock.lock_irqsave(&mut rflags); in dequeue()
87 self.lock.unlock_irqrestore(rflags); in dequeue()
/DragonOS-0.1.8/kernel/src/process/
Dptrace.h28 unsigned long rflags; member
Dprocess.c298 regs.rflags = (1 << 9); in kernel_thread()
/DragonOS-0.1.8/kernel/src/libs/
Dprintk.c596 uint64_t rflags; in printk_color() local
598 spin_lock_irqsave(&__printk_lock, rflags); in printk_color()
616 spin_unlock_irqrestore(&__printk_lock, rflags); in printk_color()
/DragonOS-0.1.8/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.8/kernel/src/arch/x86_64/
Dsyscall.rs254 regs.rflags = 0x200; in tmp_rs_execve()