Searched refs:frame (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.8/docs/kernel/ipc/ |
D | signal.md | 59 │ frame │ │ 64 │ sig handler │ └────────────┘ │ frame. │
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | signal.rs | 604 let frame: *mut sigframe = get_stack(ka, ®s, size_of::<sigframe>()); in setup_frame() localVariable 607 let access_check_ok = unsafe { verify_area(frame as u64, size_of::<sigframe>() as u64) }; in setup_frame() 616 (*frame).arg0 = sig as u64; in setup_frame() 617 (*frame).arg1 = &((*frame).info) as *const siginfo as usize; in setup_frame() 618 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame() 619 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame() 628 (*frame).context.sc_stack.fpstate = *fp_state; in setup_frame() 634 err |= copy_siginfo_to_user(unsafe { &mut (*frame).info }, info).unwrap_or(1); in setup_frame() 638 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, ®s).unwrap_or(1); in setup_frame() 643 (*frame).ret_code_ptr = ka.sa_restorer as usize as *mut c_void; in setup_frame() [all …]
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | bump.rs | 109 let frame = PageFrameUsage::new(PageFrameCount::new(used), PageFrameCount::new(total)); in usage() localVariable 110 return frame; in usage()
|
D | page_frame.rs | 326 let frame = unsafe { LockedFrameAllocator.allocate(count)? }; in allocate_page_frames() localVariable 327 return Some(frame); in allocate_page_frames() 334 pub unsafe fn deallocate_page_frames(frame: PhysPageFrame, count: PageFrameCount) { in deallocate_page_frames() 336 LockedFrameAllocator.free(frame.phys_address(), count); in deallocate_page_frames()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | page.rs | 601 let frame = self.frame_allocator.allocate_one()?; in map_phys() localVariable 603 MMArch::write_bytes(MMArch::phys_2_virt(frame).unwrap(), 0, MMArch::PAGE_SIZE); in map_phys() 619 table.set_entry(i, PageEntry::new(frame.data() | flags.data())); in map_phys()
|
D | ucontext.rs | 1123 for frame in virt_iter { in zeroed() 1124 let paddr = mapper.translate(frame.virt_address()).unwrap().0; in zeroed()
|