rCore-Tutorial-v3/ch4/os/all.html
2023-02-05 10:06:00 +00:00

1 line
14 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><meta name="keywords" content="rust, rustlang, rust-lang"><title>List of all items in this crate</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../os/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../os/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location">Crate os</h2></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../os/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><h1 class="fqn"><span class="in-band">List of all items</span></h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="board/struct.RISCV64.html">board::RISCV64</a></li><li><a href="console/struct.Stdout.html">console::Stdout</a></li><li><a href="mm/address/struct.PhysAddr.html">mm::address::PhysAddr</a></li><li><a href="mm/address/struct.PhysPageNum.html">mm::address::PhysPageNum</a></li><li><a href="mm/address/struct.SimpleRange.html">mm::address::SimpleRange</a></li><li><a href="mm/address/struct.SimpleRangeIterator.html">mm::address::SimpleRangeIterator</a></li><li><a href="mm/address/struct.VirtAddr.html">mm::address::VirtAddr</a></li><li><a href="mm/address/struct.VirtPageNum.html">mm::address::VirtPageNum</a></li><li><a href="mm/frame_allocator/struct.FRAME_ALLOCATOR.html">mm::frame_allocator::FRAME_ALLOCATOR</a></li><li><a href="mm/frame_allocator/struct.FrameTracker.html">mm::frame_allocator::FrameTracker</a></li><li><a href="mm/frame_allocator/struct.StackFrameAllocator.html">mm::frame_allocator::StackFrameAllocator</a></li><li><a href="mm/memory_set/struct.KERNEL_SPACE.html">mm::memory_set::KERNEL_SPACE</a></li><li><a href="mm/memory_set/struct.MapArea.html">mm::memory_set::MapArea</a></li><li><a href="mm/memory_set/struct.MapPermission.html">mm::memory_set::MapPermission</a></li><li><a href="mm/memory_set/struct.MemorySet.html">mm::memory_set::MemorySet</a></li><li><a href="mm/page_table/struct.PTEFlags.html">mm::page_table::PTEFlags</a></li><li><a href="mm/page_table/struct.PageTable.html">mm::page_table::PageTable</a></li><li><a href="mm/page_table/struct.PageTableEntry.html">mm::page_table::PageTableEntry</a></li><li><a href="sync/up/struct.UPSafeCell.html">sync::up::UPSafeCell</a></li><li><a href="task/struct.TASK_MANAGER.html">task::TASK_MANAGER</a></li><li><a href="task/struct.TaskContext.html">task::TaskContext</a></li><li><a href="task/struct.TaskManager.html">task::TaskManager</a></li><li><a href="task/struct.TaskManagerInner.html">task::TaskManagerInner</a></li><li><a href="task/context/struct.TaskContext.html">task::context::TaskContext</a></li><li><a href="task/task/struct.TaskControlBlock.html">task::task::TaskControlBlock</a></li><li><a href="trap/struct.TrapContext.html">trap::TrapContext</a></li><li><a href="trap/context/struct.TrapContext.html">trap::context::TrapContext</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="mm/memory_set/enum.MapType.html">mm::memory_set::MapType</a></li><li><a href="task/task/enum.TaskStatus.html">task::task::TaskStatus</a></li></ul><h3 id="Traits">Traits</h3><ul class="traits docblock"><li><a href="board/trait.QEMUExit.html">board::QEMUExit</a></li><li><a href="mm/address/trait.StepByOne.html">mm::address::StepByOne</a></li><li><a href="mm/frame_allocator/trait.FrameAllocator.html">mm::frame_allocator::FrameAllocator</a></li></ul><h3 id="Macros">Macros</h3><ul class="macros docblock"><li><a href="macro.print.html">print</a></li><li><a href="macro.println.html">println</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="board/fn.exit_code_encode.html">board::exit_code_encode</a></li><li><a href="fn.clear_bss.html">clear_bss</a></li><li><a href="config/fn.kernel_stack_position.html">config::kernel_stack_position</a></li><li><a href="console/fn.print.html">console::print</a></li><li><a href="lang_items/fn.panic.html">lang_items::panic</a></li><li><a href="loader/fn.get_app_data.html">loader::get_app_data</a></li><li><a href="loader/fn.get_num_app.html">loader::get_num_app</a></li><li><a href="mm/frame_allocator/fn.frame_alloc.html">mm::frame_allocator::frame_alloc</a></li><li><a href="mm/frame_allocator/fn.frame_allocator_test.html">mm::frame_allocator::frame_allocator_test</a></li><li><a href="mm/frame_allocator/fn.frame_dealloc.html">mm::frame_allocator::frame_dealloc</a></li><li><a href="mm/frame_allocator/fn.init_frame_allocator.html">mm::frame_allocator::init_frame_allocator</a></li><li><a href="mm/heap_allocator/fn.handle_alloc_error.html">mm::heap_allocator::handle_alloc_error</a></li><li><a href="mm/heap_allocator/fn.heap_test.html">mm::heap_allocator::heap_test</a></li><li><a href="mm/heap_allocator/fn.init_heap.html">mm::heap_allocator::init_heap</a></li><li><a href="mm/fn.init.html">mm::init</a></li><li><a href="mm/memory_set/fn.ebss.html">mm::memory_set::ebss</a></li><li><a href="mm/memory_set/fn.edata.html">mm::memory_set::edata</a></li><li><a href="mm/memory_set/fn.ekernel.html">mm::memory_set::ekernel</a></li><li><a href="mm/memory_set/fn.erodata.html">mm::memory_set::erodata</a></li><li><a href="mm/memory_set/fn.etext.html">mm::memory_set::etext</a></li><li><a href="mm/memory_set/fn.remap_test.html">mm::memory_set::remap_test</a></li><li><a href="mm/memory_set/fn.sbss_with_stack.html">mm::memory_set::sbss_with_stack</a></li><li><a href="mm/memory_set/fn.sdata.html">mm::memory_set::sdata</a></li><li><a href="mm/memory_set/fn.srodata.html">mm::memory_set::srodata</a></li><li><a href="mm/memory_set/fn.stext.html">mm::memory_set::stext</a></li><li><a href="mm/memory_set/fn.strampoline.html">mm::memory_set::strampoline</a></li><li><a href="mm/page_table/fn.translated_byte_buffer.html">mm::page_table::translated_byte_buffer</a></li><li><a href="fn.rust_main.html">rust_main</a></li><li><a href="sbi/fn.console_putchar.html">sbi::console_putchar</a></li><li><a href="sbi/fn.sbi_call.html">sbi::sbi_call</a></li><li><a href="sbi/fn.set_timer.html">sbi::set_timer</a></li><li><a href="sbi/fn.shutdown.html">sbi::shutdown</a></li><li><a href="syscall/fs/fn.sys_write.html">syscall::fs::sys_write</a></li><li><a href="syscall/process/fn.sys_exit.html">syscall::process::sys_exit</a></li><li><a href="syscall/process/fn.sys_get_time.html">syscall::process::sys_get_time</a></li><li><a href="syscall/process/fn.sys_sbrk.html">syscall::process::sys_sbrk</a></li><li><a href="syscall/process/fn.sys_yield.html">syscall::process::sys_yield</a></li><li><a href="syscall/fn.syscall.html">syscall::syscall</a></li><li><a href="task/fn.change_program_brk.html">task::change_program_brk</a></li><li><a href="task/fn.current_trap_cx.html">task::current_trap_cx</a></li><li><a href="task/fn.current_user_token.html">task::current_user_token</a></li><li><a href="task/fn.exit_current_and_run_next.html">task::exit_current_and_run_next</a></li><li><a href="task/fn.mark_current_exited.html">task::mark_current_exited</a></li><li><a href="task/fn.mark_current_suspended.html">task::mark_current_suspended</a></li><li><a href="task/fn.run_first_task.html">task::run_first_task</a></li><li><a href="task/fn.run_next_task.html">task::run_next_task</a></li><li><a href="task/fn.suspend_current_and_run_next.html">task::suspend_current_and_run_next</a></li><li><a href="task/switch/fn.__switch.html">task::switch::__switch</a></li><li><a href="timer/fn.get_time.html">timer::get_time</a></li><li><a href="timer/fn.get_time_ms.html">timer::get_time_ms</a></li><li><a href="timer/fn.set_next_trigger.html">timer::set_next_trigger</a></li><li><a href="trap/fn.enable_timer_interrupt.html">trap::enable_timer_interrupt</a></li><li><a href="trap/fn.init.html">trap::init</a></li><li><a href="trap/fn.set_kernel_trap_entry.html">trap::set_kernel_trap_entry</a></li><li><a href="trap/fn.set_user_trap_entry.html">trap::set_user_trap_entry</a></li><li><a href="trap/fn.trap_from_kernel.html">trap::trap_from_kernel</a></li><li><a href="trap/fn.trap_handler.html">trap::trap_handler</a></li><li><a href="trap/fn.trap_return.html">trap::trap_return</a></li></ul><h3 id="Typedefs">Typedefs</h3><ul class="typedefs docblock"><li><a href="mm/address/type.VPNRange.html">mm::address::VPNRange</a></li><li><a href="mm/frame_allocator/type.FrameAllocatorImpl.html">mm::frame_allocator::FrameAllocatorImpl</a></li></ul><h3 id="Statics">Statics</h3><ul class="statics docblock"><li><a href="mm/heap_allocator/static.HEAP_ALLOCATOR.html">mm::heap_allocator::HEAP_ALLOCATOR</a></li><li><a href="mm/heap_allocator/static.HEAP_SPACE.html">mm::heap_allocator::HEAP_SPACE</a></li></ul><h3 id="Constants">Constants</h3><ul class="constants docblock"><li><a href="board/constant.CLOCK_FREQ.html">board::CLOCK_FREQ</a></li><li><a href="board/constant.EXIT_FAILURE.html">board::EXIT_FAILURE</a></li><li><a href="board/constant.EXIT_FAILURE_FLAG.html">board::EXIT_FAILURE_FLAG</a></li><li><a href="board/constant.EXIT_RESET.html">board::EXIT_RESET</a></li><li><a href="board/constant.EXIT_SUCCESS.html">board::EXIT_SUCCESS</a></li><li><a href="board/constant.MMIO.html">board::MMIO</a></li><li><a href="board/constant.QEMU_EXIT_HANDLE.html">board::QEMU_EXIT_HANDLE</a></li><li><a href="board/constant.VIRT_TEST.html">board::VIRT_TEST</a></li><li><a href="config/constant.KERNEL_HEAP_SIZE.html">config::KERNEL_HEAP_SIZE</a></li><li><a href="config/constant.KERNEL_STACK_SIZE.html">config::KERNEL_STACK_SIZE</a></li><li><a href="config/constant.MEMORY_END.html">config::MEMORY_END</a></li><li><a href="config/constant.PAGE_SIZE.html">config::PAGE_SIZE</a></li><li><a href="config/constant.PAGE_SIZE_BITS.html">config::PAGE_SIZE_BITS</a></li><li><a href="config/constant.TRAMPOLINE.html">config::TRAMPOLINE</a></li><li><a href="config/constant.TRAP_CONTEXT.html">config::TRAP_CONTEXT</a></li><li><a href="config/constant.USER_STACK_SIZE.html">config::USER_STACK_SIZE</a></li><li><a href="mm/address/constant.PA_WIDTH_SV39.html">mm::address::PA_WIDTH_SV39</a></li><li><a href="mm/address/constant.PPN_WIDTH_SV39.html">mm::address::PPN_WIDTH_SV39</a></li><li><a href="mm/address/constant.VA_WIDTH_SV39.html">mm::address::VA_WIDTH_SV39</a></li><li><a href="mm/address/constant.VPN_WIDTH_SV39.html">mm::address::VPN_WIDTH_SV39</a></li><li><a href="sbi/constant.SBI_CONSOLE_PUTCHAR.html">sbi::SBI_CONSOLE_PUTCHAR</a></li><li><a href="sbi/constant.SBI_SET_TIMER.html">sbi::SBI_SET_TIMER</a></li><li><a href="syscall/constant.SYSCALL_EXIT.html">syscall::SYSCALL_EXIT</a></li><li><a href="syscall/constant.SYSCALL_GET_TIME.html">syscall::SYSCALL_GET_TIME</a></li><li><a href="syscall/constant.SYSCALL_SBRK.html">syscall::SYSCALL_SBRK</a></li><li><a href="syscall/constant.SYSCALL_WRITE.html">syscall::SYSCALL_WRITE</a></li><li><a href="syscall/constant.SYSCALL_YIELD.html">syscall::SYSCALL_YIELD</a></li><li><a href="syscall/fs/constant.FD_STDOUT.html">syscall::fs::FD_STDOUT</a></li><li><a href="timer/constant.MSEC_PER_SEC.html">timer::MSEC_PER_SEC</a></li><li><a href="timer/constant.TICKS_PER_SEC.html">timer::TICKS_PER_SEC</a></li></ul></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="os" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0-nightly (f6f9d5e73 2022-08-04)" ></div></body></html>