Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dmod.rs60 let rflags: u64; in is_irq_enabled() localVariable
62 asm!("pushfq; pop {}", out(reg) rflags, options(nomem, preserves_flags)); in is_irq_enabled()
64 return (rflags & (1 << 9)) != 0; in is_irq_enabled()
69 let rflags = local_irq_save(); in save_and_disable_irq() localVariable
70 let flags = IrqFlags::new(rflags); in save_and_disable_irq()
131 pub rflags: ::core::ffi::c_ulong, field
166 rflags: 0, in new()
H A Dtrap.rs355 regs.rflags, in do_general_protection()
/DragonOS/kernel/src/arch/x86_64/
H A Dkprobe.rs4 frame.rflags |= 0x100; in setup_single_step()
9 frame.rflags &= !0x100; in clear_single_step()
60 eflags: trap_frame.rflags, in from()
/DragonOS/user/apps/test_kvm/
H A Dmain.c46 uint64_t rip, rflags; member
107 regs.rflags = 0x2; // in x86 the 0x2 bit should always be set in main()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dfault.rs8 use x86::{bits64::rflags::RFlags, controlregs::Cr4};
180 let rflags = RFlags::from_bits_truncate(regs.rflags); in do_user_addr_fault() localVariable
197 && rflags.contains(RFlags::FLAGS_AC), in do_user_addr_fault()
214 } else if rflags.contains(RFlags::FLAGS_IF) { in do_user_addr_fault()
/DragonOS/kernel/src/process/
H A Dptrace.h28 unsigned long rflags; member
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs62 rflags: usize, field
96 rflags: 0, in new()
240 rflags: self.rflags, in clone_all()
487 off_rflags = const(offset_of!(ArchPCBInfo, rflags)), in switch_to_inner()
H A Dkthread.rs40 frame.rflags |= 1 << 9; in __inner_create()
H A Dsyscall.rs114 regs.rflags = 0x200; in do_execve()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dvmexit.rs71 …let rflags: u64 = vmx_vmread(VmcsFields::GUEST_RFLAGS as u32).unwrap() | 0x0001_0000; // set RF fl… in vmexit_vmx_instruction_executed() localVariable
72 vmx_vmwrite(VmcsFields::GUEST_RFLAGS as u32, rflags)?; in vmexit_vmx_instruction_executed()
H A Dvcpu.rs66 pub rflags: usize, field
162 rflags: 0, in new()
/DragonOS/kernel/src/libs/
H A 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/docs/community/ChangeLog/V0.1.x/
H A DV0.1.2.md51 - 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题
275 * 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题
H A DV0.1.7.md52 - spinlock: 修复spinlock忘记恢复rflags的问题 (#247)
200 1.修复spinlock忘记恢复rflags的问题
/DragonOS/kernel/src/virt/kvm/
H A Dvcpu_dev.rs183 kvm_regs.rip, kvm_regs.rflags, kvm_regs.regs[6], kvm_regs.regs[0], in ioctl()