MCPcopy Create free account

hub / github.com/64/solstice / functions

Functions325 in github.com/64/solstice

↓ 1 callersMethodmap_to_4kib
Helper function for implementing Mapper. Safe to limit the scope of unsafe, see https://github.com/rust-lang/rfcs/pull/2585.
x86_64/src/structures/paging/mapper/recursive_page_table.rs:193
↓ 1 callersFunctionmorecore
(head: &mut Option<NonNull<Block>>, num_pages: u64)
src/mm/slob.rs:155
↓ 1 callersFunctionphys_to_page_info
(frame: PhysFrame)
src/mm/mod.rs:19
↓ 1 callersMethodread
Read 64 bits msr register.
x86_64/src/registers/model_specific.rs:53
↓ 1 callersMethodrpl
Returns the requested privilege level.
x86_64/src/structures/gdt.rs:34
↓ 1 callersFunctionset_cs
Reload code segment register. Note this is special since we can not directly move to %cs. Instead we push the new segment selector and return value o
x86_64/src/instructions/segmentation.rs:11
↓ 1 callersMethodset_present
Set or reset the preset bit.
x86_64/src/structures/idt.rs:604
↓ 1 callersMethodsplit_at
(self, offset: usize)
src/mm/map.rs:22
↓ 1 callersMethodtranslate
(&self, addr: VirtAddr)
x86_64/src/structures/paging/mapper/mapped_page_table.rs:359
↓ 1 callersMethodtranslate_addr
(&self, addr: VirtAddr)
src/mm/addr_space.rs:78
↓ 1 callersMethodtry_lock
(&self)
src/ds/sync/spinlock.rs:39
↓ 1 callersMethodtry_read
(&self)
src/ds/sync/rwspinlock.rs:100
↓ 1 callersMethodupdate_cursor
(&self)
src/drivers/vga/text_mode.rs:52
↓ 1 callersFunctionusable_pages
Each page of memory has a constant memory overhead of size_of::<PageInfo>(), as well as the whole region having a memory overhead of blocks_in_region(
src/mm/pmm.rs:311
↓ 1 callersFunctionwithout_interrupts
Run a closure with disabled interrupts. Run the given closure, disabling interrupts before running it (if they aren't already disabled). Afterwards,
x86_64/src/instructions/interrupts.rs:50
↓ 1 callersMethodwrite
Write 64 bits to msr register.
x86_64/src/registers/model_specific.rs:60
↓ 1 callersFunctionwrite_byte
(ch: u8)
src/drivers/serial.rs:28
↓ 1 callersMethodwrite_byte
(&mut self, ch: u8)
src/drivers/vga/text_mode.rs:21
↓ 1 callersFunctionwrite_str
(s: &str)
src/drivers/serial.rs:34
Function_print
(args: fmt::Arguments)
src/macros.rs:70
Function_start
(boot_info: &'static BootInfo)
src/main.rs:34
Methodadd
(self, rhs: usize)
x86_64/src/addr.rs:155
Methodadd
(self, rhs: usize)
x86_64/src/structures/paging/page.rs:178
Methodadd
(self, rhs: usize)
x86_64/src/structures/paging/frame.rs:69
Methodadd_assign
(&mut self, rhs: usize)
x86_64/src/addr.rs:161
Methodadd_assign
(&mut self, rhs: usize)
x86_64/src/structures/paging/page.rs:184
Methodadd_assign
(&mut self, rhs: usize)
x86_64/src/structures/paging/frame.rs:75
Methodadd_entry
Adds the given segment descriptor to the GDT, returning the segment selector. Panics if the GDT has no free entries left.
x86_64/src/structures/gdt.rs:101
Methodalign_up
Aligns the virtual address upwards to the given alignment. See the `align_up` function for more information.
x86_64/src/addr.rs:96
Functionalignment_check_handler
(frame: &mut idt::InterruptStackFrame, error_code: u64)
src/cpu/idt.rs:103
Methodalloc
(&self, layout: Layout)
src/mm/slob.rs:56
Methodalloc
(&mut self, layout: Layout)
src/mm/map.rs:175
Functionalloc_error_handler
(layout: alloc::alloc::Layout)
src/main.rs:58
Methodallocate_frame
(&mut self)
src/mm/addr_space.rs:51
Methodallocation
(block: NonNull<Self>)
src/mm/slob.rs:216
Methodas_4kib_page_range
Converts the range of 2MiB pages to a range of 4KiB pages.
x86_64/src/structures/paging/page.rs:242
Functionbochs_breakpoint
()
x86_64/src/instructions/mod.rs:23
Functionbound_range_exceeded_handler
(frame: &mut idt::InterruptStackFrame)
src/cpu/idt.rs:63
Functionbreakpoint_handler
(frame: &mut idt::InterruptStackFrame)
src/cpu/idt.rs:55
Methodcontaining_address
Returns the page that contains the given virtual address.
x86_64/src/structures/paging/page.rs:77
Methodcontaining_address
Returns the frame that contains the given physical address.
x86_64/src/structures/paging/frame.rs:29
Methodcontains_address
(&self, addr: PhysAddr)
x86_64/src/structures/paging/frame.rs:124
Methodcreate_next_table
Internal helper function to create the page table of the next level if needed. If the passed entry is unused, a new frame is allocated from the given
x86_64/src/structures/paging/mapper/recursive_page_table.rs:88
Functioncreate_style
(bg: Color, fg: Color)
src/drivers/vga/ransid.rs:48
Methodcurrent
()
src/cpu/percpu.rs:29
Methoddealloc
(&self, ptr: *mut u8, layout: Layout)
src/mm/slob.rs:60
Methoddebug
()
src/mm/slob.rs:30
Functiondebug_handler
(frame: &mut idt::InterruptStackFrame)
src/cpu/idt.rs:47
Methoddefault
()
src/ds/sync/spinlock.rs:55
Methoddefault
()
src/ds/sync/rwspinlock.rs:225
Methoddefault
()
src/drivers/vga/text_mode.rs:89
Methodderef
(&self)
src/ds/sync/spinlock.rs:83
Methodderef
(&self)
src/ds/sync/rwspinlock.rs:312
Methodderef
(&self)
x86_64/src/structures/idt.rs:677
Methodderef_mut
(&mut self)
src/ds/sync/spinlock.rs:89
Methodderef_mut
(&mut self)
src/ds/sync/rwspinlock.rs:334
Functiondevice_not_available_handler
(frame: &mut idt::InterruptStackFrame)
src/cpu/idt.rs:71
Methoddisable_interrupts
Let the CPU disable hardware interrupts when the handler is invoked. By default, interrupts are disabled on handler invocation.
x86_64/src/structures/idt.rs:611
Functiondivide_error_handler
(frame: &mut idt::InterruptStackFrame)
src/cpu/idt.rs:43
Functiondouble_fault_handler
(frame: &mut idt::InterruptStackFrame, error_code: u64)
src/cpu/idt.rs:75
Methoddowngrade
(self)
src/ds/sync/rwspinlock.rs:277
Methoddrop
(&mut self)
src/ds/sync/spinlock.rs:95
Methoddrop
(&mut self)
src/ds/sync/rwspinlock.rs:340
Methodflush
(self)
x86_64/src/structures/paging/mapper/mod.rs:154
Functionflush_all
()
x86_64/src/instructions/tlb.rs:13
Methodfmt
(&self, f: &mut core::fmt::Formatter)
src/ds/sync/spinlock.rs:61
Methodfmt
(&self, f: &mut fmt::Formatter)
src/ds/sync/rwspinlock.rs:214
Methodfmt
(&self, fmt: &mut core::fmt::Formatter)
src/mm/pmm.rs:150
Methodfmt
(&self, f: &mut fmt::Formatter)
x86_64/src/addr.rs:148
Methodfmt
(&self, f: &mut fmt::Formatter)
x86_64/src/structures/idt.rs:683
Methodfmt
(&self, f: &mut fmt::Formatter)
x86_64/src/structures/gdt.rs:40
Methodfmt
(&self, f: &mut fmt::Formatter)
x86_64/src/structures/paging/page.rs:167
Methodfmt
(&self, f: &mut fmt::Formatter)
x86_64/src/structures/paging/frame.rs:58
Methodfmt
(&self, f: &mut fmt::Formatter)
x86_64/src/structures/paging/page_table.rs:91
Methodfree
(&mut self, range: PhysFrameRange)
src/mm/pmm.rs:130
Methodfrom
(rg: Region)
src/mm/map.rs:197
Methodfrom
(phys: PhysAddr)
x86_64/src/addr.rs:20
Methodfrom
(err: PageTableCreateError)
x86_64/src/structures/paging/mapper/mapped_page_table.rs:500
Methodfrom_allocation
(ptr: *mut u8)
src/mm/slob.rs:220
Methodfrom_order
(largest_free_order: u8)
src/mm/pmm.rs:161
Methodfrom_page_table_indices
Returns the 4KiB memory page with the specified page table indices.
x86_64/src/structures/paging/page.rs:149
Methodfrom_page_table_indices_1gib
Returns the 1GiB memory page with the specified page table indices.
x86_64/src/structures/paging/page.rs:124
Methodfrom_page_table_indices_2mib
Returns the 2MiB memory page with the specified page table indices.
x86_64/src/structures/paging/page.rs:136
Methodfrom_ptr
Creates a virtual address from the given pointer
x86_64/src/addr.rs:77
Methodfrom_start_address
Returns the page that starts at the given virtual address. Returns an error if the address is not correctly aligned (i.e. is not a valid page start).
x86_64/src/structures/paging/page.rs:69
Methodfrom_start_address
Returns the frame that starts at the given virtual address. Returns an error if the address is not correctly aligned (i.e. is not a valid frame start
x86_64/src/structures/paging/frame.rs:21
Methodfrom_u16
Creates a `PrivilegeLevel` from a numeric value. The value must be in the range 0..4. This function panics if the passed value is >3.
x86_64/src/lib.rs:57
Functiongeneral_protection_fault_handler
(frame: &mut idt::InterruptStackFrame, error_code: u64)
src/cpu/idt.rs:91
Methodget_u16
(&self)
x86_64/src/instructions/random.rs:54
Methodget_u32
(&self)
x86_64/src/instructions/random.rs:39
Methodget_u64
(&self)
x86_64/src/instructions/random.rs:24
Methodidentity_map
Maps the given frame to the virtual page with the same address. This function is unsafe because the caller must guarantee that the passed `frame` is
x86_64/src/structures/paging/mapper/mod.rs:121
Methodignore
Don't flush the TLB and silence the “must be used” warning.
x86_64/src/structures/paging/mapper/mod.rs:159
Methodindex
Returns the IDT entry with the specified index. Panics if index is outside the IDT (i.e. greater than 255) or if the entry is an exception that pushe
x86_64/src/structures/idt.rs:454
Methodindex
(&self, index: usize)
x86_64/src/structures/paging/page_table.rs:207
Methodindex_mut
Returns a mutable reference to the IDT entry with the specified index. Panics if index is outside the IDT (i.e. greater than 255) or if the entry is
x86_64/src/structures/idt.rs:484
Methodindex_mut
(&mut self, index: usize)
x86_64/src/structures/paging/page_table.rs:213
Functioninit
()
src/drivers/serial.rs:15
Functioninit
()
src/drivers/vga/text_mode.rs:104
Methodinit
(map: MemoryMap)
src/mm/pmm.rs:238
← previousnext →101–200 of 325, ranked by callers