Searched refs:FpState (Results 1 – 4 of 4) sorted by relevance
19 pub struct FpState { struct38 impl Default for FpState { argument55 impl FpState { impl64 _fxsave64(self as *mut FpState as *mut u8); in save()70 _fxrstor64(self as *const FpState as *const u8); in restore() constant85 let fp: &mut FpState = if pcb.fp_state == null_mut() { in fp_state_save()86 let f = Box::leak(Box::new(FpState::default())); in fp_state_save()87 pcb.fp_state = f as *mut FpState as usize as *mut c_void; in fp_state_save()90 unsafe { (pcb.fp_state as usize as *mut FpState).as_mut().unwrap() } in fp_state_save()141 let fp = unsafe { (pcb.fp_state as usize as *mut FpState).as_mut().unwrap() }; in fp_state_restore()
6 arch::{asm::current::current_pcb, fpu::FpState},83 return Box::leak(Box::new(FpState::default())) as *mut FpState as usize as *mut c_void; in rs_dup_fpstate()86 let state = current_pcb().fp_state as usize as *mut FpState; in rs_dup_fpstate()89 let state: &mut FpState = Box::leak(Box::new(s.clone())); in rs_dup_fpstate()91 return state as *mut FpState as usize as *mut c_void; in rs_dup_fpstate()100 let state = pcb.fp_state as usize as *mut FpState; in rs_process_exit_fpstate()
11 fpu::FpState,625 let fp_state: &mut FpState = (current_pcb().fp_state as usize as *mut FpState) in setup_frame()756 *(current_pcb().fp_state as usize as *mut FpState) = (*context).sc_stack.fpstate; in restore_sigcontext()
9 use crate::arch::fpu::FpState;668 pub fpstate: FpState,