Home
last modified time | relevance | path

Searched refs:fp_state (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.9/kernel/src/arch/x86_64/process/
Dmod.rs87 fp_state: Option<FpState>, field
122 fp_state: None, in new()
155 if self.fp_state.is_none() { in save_fp_state()
156 self.fp_state = Some(FpState::new()); in save_fp_state()
159 self.fp_state.as_mut().unwrap().save(); in save_fp_state()
163 if unlikely(self.fp_state.is_none()) { in restore_fp_state()
167 self.fp_state.as_mut().unwrap().restore(); in restore_fp_state()
171 pub fn fp_state(&self) -> &Option<FpState> { in fp_state() method
172 &self.fp_state in fp_state()
177 if unlikely(self.fp_state.is_none()) { in clear_fp_state()
[all …]
/DragonOS-0.1.9/kernel/src/arch/x86_64/ipc/
Dsignal.rs370 self.reserved_for_x87_state = archinfo_guard.fp_state().clone(); in setup_sigcontext()