/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | mod.rs | 60 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 D | trap.rs | 355 regs.rflags, in do_general_protection()
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | kprobe.rs | 4 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 D | main.c | 46 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 D | fault.rs | 8 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 D | ptrace.h | 28 unsigned long rflags; member
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | mod.rs | 62 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 D | kthread.rs | 40 frame.rflags |= 1 << 9; in __inner_create()
|
H A D | syscall.rs | 114 regs.rflags = 0x200; in do_execve()
|
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ |
H A D | vmexit.rs | 71 …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 D | vcpu.rs | 66 pub rflags: usize, field 162 rflags: 0, in new()
|
/DragonOS/kernel/src/libs/ |
H A D | printk.c | 596 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 D | V0.1.2.md | 51 - 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题 275 * 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题
|
H A D | V0.1.7.md | 52 - spinlock: 修复spinlock忘记恢复rflags的问题 (#247) 200 1.修复spinlock忘记恢复rflags的问题
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | vcpu_dev.rs | 183 kvm_regs.rip, kvm_regs.rflags, kvm_regs.regs[6], kvm_regs.regs[0], in ioctl()
|