MCPcopy Create free account

hub / github.com/LearningOS/rcore_step_by_step / functions

Functions209 in github.com/LearningOS/rcore_step_by_step

↓ 20 callersMethodframe
(&self)
os/crate/riscv/src/paging/page_table.rs:75
↓ 18 callersMethodmap
(&mut self, frame: Frame)
os/crate/riscv/src/paging/recursive.rs:119
↓ 13 callersMethodis_unused
(&self)
os/crate/riscv/src/paging/page_table.rs:60
↓ 12 callersMethodp2_index
(&self)
os/crate/riscv/src/addr.rs:39
↓ 10 callersMethodp1_index
(&self)
os/crate/riscv/src/addr.rs:48
↓ 10 callersFunctionread
()
os/crate/riscv/src/register/fcsr.rs:108
↓ 10 callersFunctionsbi_call
(which: usize, arg0: usize, arg1: usize, arg2: usize)
os/src/sbi.rs:4
↓ 10 callersMethodset
(&mut self, frame: Frame, mut flags: PageTableFlags)
os/crate/riscv/src/paging/page_table.rs:78
↓ 9 callersMethodflags
(&self)
os/crate/riscv/src/paging/page_table.rs:66
↓ 7 callersMethodp3_index
(&self)
os/crate/riscv/src/addr.rs:34
↓ 6 callersMethodp4_index
(&self)
os/crate/riscv/src/addr.rs:29
↓ 5 callersMethodalloc
(&mut self, alloc_size : usize)
os/crate/buddy-allocator/src/lib.rs:36
↓ 4 callersMethodas_usize
(&self)
os/crate/riscv/src/addr.rs:24
↓ 4 callersFunctioninit
()
os/src/clock.rs:8
↓ 4 callersMethodzero
Clears all entries.
os/crate/riscv/src/paging/page_table.rs:11
↓ 3 callersFunctionalloc_frames
(size: usize)
os/src/memory/frame_allocator/mod.rs:24
↓ 3 callersMethodas_mut
(&'a self)
os/crate/riscv/src/addr.rs:110
↓ 3 callersMethodbits
Returns the contents of the register as raw bits
os/crate/riscv/src/register/misa.rs:20
↓ 3 callersMethodbits
(&self)
os/crate/riscv/src/register/mie.rs:14
↓ 3 callersFunctionpage_fault
(tf: &mut TrapFrame)
os/src/interrupt.rs:32
↓ 3 callersMethodset_unused
(&mut self)
os/crate/riscv/src/paging/page_table.rs:63
↓ 3 callersMethodstart_address
(&self)
os/crate/riscv/src/addr.rs:196
↓ 2 callersFunctionalloc_frame
()
os/src/memory/frame_allocator/mod.rs:20
↓ 2 callersFunctionclock_set_next_event
()
os/src/clock.rs:17
↓ 2 callersMethodcode
Returns the code field
os/crate/riscv/src/register/mcause.rs:98
↓ 2 callersMethodcode
Returns the code field
os/crate/riscv/src/register/scause.rs:90
↓ 2 callersMethodcreate_p1_if_not_exist
(&mut self, p2_index: usize, allocator: &mut impl FrameAllocator)
os/crate/riscv/src/paging/recursive.rs:203
↓ 2 callersFunctiondealloc_frame
(target: Frame)
os/src/memory/frame_allocator/mod.rs:32
↓ 2 callersFunctiondealloc_frames
(target: Frame, size: usize)
os/src/memory/frame_allocator/mod.rs:36
↓ 2 callersMethodinit
(&mut self, level : u8)
os/crate/buddy-allocator/src/lib.rs:24
↓ 2 callersMethodis_interrupt
(&self)
os/crate/riscv/src/register/mcause.rs:121
↓ 2 callersMethodis_interrupt
(&self)
os/crate/riscv/src/register/scause.rs:107
↓ 2 callersFunctionlog2_down
(x: usize)
os/crate/buddy-allocator/src/lib.rs:127
↓ 2 callersMethodpage_number
(&self)
os/crate/riscv/src/addr.rs:57
↓ 2 callersMethodref_entry
(&mut self, page: Page)
os/crate/riscv/src/paging/recursive.rs:376
↓ 2 callersMethodref_p1
(&mut self, page: Page)
os/crate/riscv/src/paging/recursive.rs:311
↓ 2 callersFunctionsfence_vma
(asid: usize, addr: usize)
os/crate/riscv/src/asm.rs:60
↓ 2 callersMethodto_4k_aligned
(&self)
os/crate/riscv/src/addr.rs:69
↓ 2 callersFunctionwrite
(addr: usize, mode: TrapMode)
os/crate/riscv/src/register/stvec.rs:42
↓ 1 callersMethodaddr
(&self)
os/crate/riscv/src/paging/page_table.rs:72
↓ 1 callersMethodbits
Returns the contents of the register as raw bits
os/crate/riscv/src/register/mvendorid.rs:13
↓ 1 callersFunctionbreakpoint
()
os/src/interrupt.rs:37
↓ 1 callersMethodcause
(&self)
os/crate/riscv/src/register/mcause.rs:111
↓ 1 callersFunctionconsole_putchar
(ch: usize)
os/src/sbi.rs:16
↓ 1 callersMethoddealloc
(&mut self, address : usize, dealloc_size : usize)
os/crate/buddy-allocator/src/lib.rs:76
↓ 1 callersFunctiondisable
()
os/crate/riscv/src/interrupt.rs:9
↓ 1 callersFunctionenable
()
os/crate/riscv/src/interrupt.rs:24
↓ 1 callersMethodfflags
(&self)
os/crate/riscv/src/register/fcsr.rs:84
↓ 1 callersMethodflags_mut
(&mut self)
os/crate/riscv/src/paging/page_table.rs:83
↓ 1 callersFunctionget_cycle
()
os/src/clock.rs:21
↓ 1 callersFunctioninit_heap
()
os/src/memory/mod.rs:19
↓ 1 callersFunctionlog2_up
(x: usize)
os/crate/buddy-allocator/src/lib.rs:112
↓ 1 callersMethodmap_to
(&mut self, page: Page, frame: Frame, flags: PageTableFlags, allocator: &mut impl FrameAllocator)
os/crate/riscv/src/paging/recursive.rs:350
↓ 1 callersMethodmie
(&self)
os/crate/riscv/src/register/mstatus.rs:40
↓ 1 callersMethodnumber
(&self)
os/crate/riscv/src/addr.rs:208
↓ 1 callersMethodppn
(&self)
os/crate/riscv/src/register/satp.rs:62
↓ 1 callersMethodppn
(&self)
os/crate/riscv/src/paging/page_table.rs:69
↓ 1 callersMethodpush_at
(self, stack_top: usize)
os/src/context.rs:71
↓ 1 callersFunctionputchar
(ch: char)
os/src/io.rs:30
↓ 1 callersFunctionputs
(s: &str)
os/src/io.rs:34
↓ 1 callersMethodset_spp
(&mut self, val: SPP)
os/crate/riscv/src/register/sstatus.rs:122
↓ 1 callersFunctionset_timer
(stime_value: u64)
os/src/sbi.rs:28
↓ 1 callersFunctionsuper_timer
()
os/src/interrupt.rs:41
↓ 1 callersMethodswitch
(&mut self, target: &mut Context)
os/src/context.rs:42
↓ 1 callersMethodswitch_to
(&mut self, target: &mut Thread)
os/src/process/structs.rs:31
↓ 1 callersMethodtop
(&self)
os/src/process/structs.rs:48
Function_print
(args: fmt::Arguments)
os/src/io.rs:13
Functionabort
()
os/src/lang_items.rs:10
Methodaddress
Returns the trap-vector base-address
os/crate/riscv/src/register/stvec.rs:22
Methodaddress
Returns the trap-vector base-address
os/crate/riscv/src/register/mtvec.rs:22
Methodasid
(&self)
os/crate/riscv/src/register/satp.rs:48
Methodbits
(&self)
os/crate/riscv/src/register/mcause.rs:93
Methodbits
Returns the contents of the register as raw bits
os/crate/riscv/src/register/fcsr.rs:78
Methodbits
Returns the contents of the register as raw bits
os/crate/riscv/src/register/stvec.rs:17
Methodbits
(&self)
os/crate/riscv/src/register/mip.rs:14
Methodbits
(&self)
os/crate/riscv/src/register/sstatus.rs:30
Methodbits
(&self)
os/crate/riscv/src/register/sip.rs:14
Methodbits
Returns the contents of the register as raw bits
os/crate/riscv/src/register/mtvec.rs:17
Methodbits
(&self)
os/crate/riscv/src/register/satp.rs:17
Methodbits
(&self)
os/crate/riscv/src/register/sie.rs:14
Methodbits
(&self)
os/crate/riscv/src/register/scause.rs:85
Methodcause
(&self)
os/crate/riscv/src/register/scause.rs:97
Functionclear_flag
(flag: Flag)
os/crate/riscv/src/register/fcsr.rs:129
Functionclear_flags
()
os/crate/riscv/src/register/fcsr.rs:122
Functionclear_ipi
()
os/src/sbi.rs:40
Functionconsole_getchar
()
os/src/sbi.rs:20
Methoddrop
(&mut self)
os/src/process/structs.rs:54
Methoddz
(&self)
os/crate/riscv/src/register/fcsr.rs:55
Methodflush
Flush the page from the TLB to ensure that the newest mapping is used.
os/crate/riscv/src/paging/recursive.rs:54
Methodfmt
(&self, f: &mut Formatter)
os/crate/riscv/src/paging/page_table.rs:48
Methodframe
(&self)
os/crate/riscv/src/register/satp.rs:76
Functionfree
Execute closure `f` in an interrupt-free context. This as also known as a "critical section".
os/crate/riscv/src/interrupt.rs:36
Methodfrm
(&self)
os/crate/riscv/src/register/fcsr.rs:90
Methodfrom
(nr: usize)
os/crate/riscv/src/register/mcause.rs:52
Methodfrom
(nr: usize)
os/crate/riscv/src/register/scause.rs:49
Methodfrom_page_table_indices
(p2_index: usize, p1_index: usize, offse
os/crate/riscv/src/addr.rs:74
Methodfs
(&self)
os/crate/riscv/src/register/sstatus.rs:69
Methodhas_extension
Returns true when the atomic extension is implemented.
os/crate/riscv/src/register/misa.rs:41
Functionhello_thread
(arg: usize)
os/src/process/mod.rs:11
Methodidentity_map
Maps the given frame to the virtual page with the same address.
os/crate/riscv/src/paging/recursive.rs:37
next →1–100 of 209, ranked by callers