MCPcopy Create free account

hub / github.com/64/solstice / functions

Functions325 in github.com/64/solstice

↓ 37 callersMethodis_unused
Returns whether this entry is zero.
x86_64/src/structures/paging/page_table.rs:36
↓ 35 callersMethodp3_index
Returns the level 3 page table index of this page.
x86_64/src/structures/paging/page.rs:100
↓ 31 callersMethodaddr
Returns the physical address mapped by this entry, might be zero.
x86_64/src/structures/paging/page_table.rs:51
↓ 30 callersMethodp4_index
Returns the level 4 page table index of this page.
x86_64/src/structures/paging/page.rs:95
↓ 30 callersMethodstart_address
Returns the start address of the page.
x86_64/src/structures/paging/page.rs:85
↓ 27 callersMethodas_mut
Gives mutable access to the contents of the interrupt stack frame. This function is unsafe since modifying the content of the interrupt stack frame c
x86_64/src/structures/idt.rs:669
↓ 26 callersMethodp2_index
Returns the level 2 page table index of this page.
x86_64/src/structures/paging/page.rs:117
↓ 19 callersMethodas_usize
(self)
x86_64/src/addr.rs:72
↓ 17 callersMethodcontains
(&self, frame: PhysFrame<S>)
x86_64/src/structures/paging/frame.rs:120
↓ 15 callersMethodp1_index
Returns the level 1 page table index of this page.
x86_64/src/structures/paging/page.rs:161
↓ 13 callersMethodnext_table_mut
Internal helper function to get a mutable reference to the page table of the next level. Returns `PageTableWalkError::NotMapped` if the entry is unus
x86_64/src/structures/paging/mapper/mapped_page_table.rs:432
↓ 12 callersMethodas_mut_ptr
(self)
x86_64/src/addr.rs:89
↓ 12 callersMethodflags
Returns the flags of this entry.
x86_64/src/structures/paging/page_table.rs:46
↓ 11 callersMethodframe
Returns the physical frame mapped by this entry. Returns the following errors: - `FrameError::FrameNotPresent` if the entry doesn't have the `PRESEN
x86_64/src/structures/paging/page_table.rs:62
↓ 11 callersMethodpreempt_inc
(&self)
src/cpu/percpu.rs:33
↓ 10 callersFunctionp3_ptr
(page: Page<S>, recursive_index: u9)
x86_64/src/structures/paging/mapper/recursive_page_table.rs:584
↓ 10 callersMethodstart_address
Returns the start address of the frame.
x86_64/src/structures/paging/frame.rs:37
↓ 9 callersMethodnext_table
Internal helper function to get a reference to the page table of the next level. Returns `PageTableWalkError::NotMapped` if the entry is unused. Retu
x86_64/src/structures/paging/mapper/mapped_page_table.rs:417
↓ 9 callersMethodpreempt_dec
(&self)
src/cpu/percpu.rs:37
↓ 8 callersMethodas_ptr
(self)
x86_64/src/addr.rs:83
↓ 7 callersFunctionp2_ptr
(page: Page<S>, recursive_index: u9)
x86_64/src/structures/paging/mapper/recursive_page_table.rs:597
↓ 7 callersMethodset_unused
Sets this entry to zero.
x86_64/src/structures/paging/page_table.rs:41
↓ 6 callersFunctionalign_up
Align address upwards. Returns the smallest x with alignment `align` so that x >= addr. The alignment must be a power of 2.
x86_64/src/addr.rs:327
↓ 6 callersMethodcreate_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/mapped_page_table.rs:451
↓ 6 callersMethoditer_mut
Returns an iterator that allows modifying the entries of the page table.
x86_64/src/structures/paging/page_table.rs:199
↓ 6 callersMethodlock
(&self)
src/ds/sync/spinlock.rs:24
↓ 6 callersFunctionread_raw
Returns the raw current value of the RFLAGS register.
x86_64/src/registers/rflags.rs:77
↓ 6 callersMethodset_flags
Sets the flags of this entry.
x86_64/src/structures/paging/page_table.rs:85
↓ 5 callersMethodlen
(&self)
x86_64/src/structures/paging/frame.rs:116
↓ 5 callersFunctionread
Returns the current value of the RFLAGS register. Drops any unknown bits.
x86_64/src/registers/rflags.rs:72
↓ 5 callersMethodset_addr
Map the entry to the specified physical address with the specified flags.
x86_64/src/structures/paging/page_table.rs:73
↓ 5 callersMethodsize
Returns the size the page (4KB, 2MB or 1GB).
x86_64/src/structures/paging/page.rs:90
↓ 5 callersMethodwrite
(&self)
src/ds/sync/rwspinlock.rs:142
↓ 4 callersMethodalign_down
Aligns the virtual address downwards to the given alignment. See the `align_down` function for more information.
x86_64/src/addr.rs:106
↓ 4 callersFunctioninit
()
src/drivers/acpi.rs:6
↓ 4 callersMethodload
(&'static self)
x86_64/src/structures/idt.rs:434
↓ 4 callersFunctionp1_ptr
(page: Page<Size4KiB>, recursive_index: u9)
x86_64/src/structures/paging/mapper/recursive_page_table.rs:610
↓ 4 callersFunctionp3_page
(page: Page<S>, recursive_index: u9)
x86_64/src/structures/paging/mapper/recursive_page_table.rs:588
↓ 4 callersMethodset_frame
Map the entry to the specified physical frame with the specified flags.
x86_64/src/structures/paging/page_table.rs:79
↓ 4 callersFunctionwrite
Writes the RFLAGS register, preserves reserved bits.
x86_64/src/registers/rflags.rs:84
↓ 3 callersFunctionalign_down
Align address downwards. Returns the greatest x with alignment `align` so that x <= addr. The alignment must be a power of 2.
x86_64/src/addr.rs:318
↓ 3 callersMethodallocate_frame
(&mut self)
src/mm/map.rs:110
↓ 3 callersMethoditer
Returns an iterator over the entries of the page table.
x86_64/src/structures/paging/page_table.rs:194
↓ 3 callersMethodlarger_than
(self, order: u8)
src/mm/pmm.rs:165
↓ 3 callersFunctionp2_page
(page: Page<S>, recursive_index: u9)
x86_64/src/structures/paging/mapper/recursive_page_table.rs:601
↓ 3 callersMethodpush
(&mut self, value: u64)
x86_64/src/structures/gdt.rs:131
↓ 3 callersMethodread
(&self)
src/ds/sync/rwspinlock.rs:71
↓ 3 callersFunctionwrite_raw
Writes the RFLAGS register. Does not preserve any bits, including reserved bits.
x86_64/src/registers/rflags.rs:95
↓ 2 callersFunctionblocks_in_region
(pages: u64)
src/mm/pmm.rs:317
↓ 2 callersFunctioncompare_exchange
( atomic: &AtomicUsize, current: usize, new: usize, success: Ordering, failure: Ordering,
src/ds/sync/rwspinlock.rs:371
↓ 2 callersFunctionconvert_color
(color: u8)
src/drivers/vga/ransid.rs:54
↓ 2 callersFunctiondealloc_inner
(head: &mut Option<NonNull<Block>>, ptr: *mut u8, layout: Layout)
src/mm/slob.rs:115
↓ 2 callersFunctiondisable
()
x86_64/src/instructions/interrupts.rs:24
↓ 2 callersMethoddraw_char
(&mut self, style: u8, ch: u8)
src/drivers/vga/text_mode.rs:41
↓ 2 callersFunctionexit_qemu
(exit_code: ExitCode)
src/testing.rs:12
↓ 2 callersFunctionhalt_loop
()
src/main.rs:62
↓ 2 callersFunctioninner
(sel: SegmentSelector)
x86_64/src/instructions/segmentation.rs:13
↓ 2 callersMethodis_aligned
Checks whether the virtual address has the demanded alignment.
x86_64/src/addr.rs:114
↓ 2 callersFunctionload
()
src/cpu/idt.rs:34
↓ 2 callersMethodmap_to_with_allocator
TODO: Make sure that allocations and deallocations are done with the same allocator?
src/mm/addr_space.rs:61
↓ 2 callersMethodnewline
(&mut self)
src/drivers/vga/text_mode.rs:64
↓ 2 callersFunctionp1_page
(page: Page<Size4KiB>, recursive_index: u9)
x86_64/src/structures/paging/mapper/recursive_page_table.rs:614
↓ 2 callersMethodpage_offset
Returns the 12-bit page offset of this virtual address.
x86_64/src/addr.rs:122
↓ 2 callersFunctionparse_table
(ctx: &mut AmlContext, table: &AmlTable)
src/drivers/acpi.rs:30
↓ 2 callersFunctionphys_to_kernel_virt
(phys: PhysAddr)
src/mm/mod.rs:34
↓ 2 callersMethodphys_to_virt
(&self, phys_frame: PhysFrame)
x86_64/src/structures/paging/mapper/mapped_page_table.rs:557
↓ 2 callersMethodpush
(&mut self, rg: Region)
src/mm/map.rs:103
↓ 2 callersMethodransid_process
(&mut self, x: u8)
src/drivers/vga/ransid.rs:74
↓ 2 callersMethodtry_upgrade_internal
(self, strong: bool)
src/ds/sync/rwspinlock.rs:232
↓ 2 callersMethodtry_write_internal
(&self, strong: bool)
src/ds/sync/rwspinlock.rs:120
↓ 2 callersMethodupdate_tree
Iterate back up, setting parents to have the correct largest order value
src/mm/pmm.rs:80
↓ 2 callersMethodwrite_str
(&mut self, s: &str)
src/drivers/vga/text_mode.rs:33
↓ 2 callersMethodzero
Clears all entries.
x86_64/src/structures/paging/page_table.rs:187
↓ 1 callersMethodalloc
(&mut self, order: u8)
src/mm/pmm.rs:90
↓ 1 callersFunctionalloc_inner
(head: &mut Option<NonNull<Block>>, layout: Layout)
src/mm/slob.rs:65
↓ 1 callersFunctionare_enabled
Enabling and disabling interrupts Returns whether interrupts are enabled.
x86_64/src/instructions/interrupts.rs:4
↓ 1 callersMethodcontains_range
(&self, range: Self)
x86_64/src/structures/paging/frame.rs:128
↓ 1 callersFunctioncs
Returns the current value of the code segment register.
x86_64/src/instructions/segmentation.rs:55
↓ 1 callersFunctionenable
()
x86_64/src/instructions/interrupts.rs:14
↓ 1 callersMethodenabled
(&self, metadata: &Metadata)
src/macros.rs:78
↓ 1 callersFunctionflush
(addr: VirtAddr)
x86_64/src/instructions/tlb.rs:7
↓ 1 callersMethodflush
(&self)
src/macros.rs:98
↓ 1 callersFunctionhlt
()
x86_64/src/instructions/mod.rs:14
↓ 1 callersMethodindex
Returns the GDT index.
x86_64/src/structures/gdt.rs:29
↓ 1 callersFunctionkernel_main
(info: &BootInfo)
src/kernel.rs:10
↓ 1 callersFunctionlgdt
(gdt: &DescriptorTablePointer)
x86_64/src/instructions/tables.rs:11
↓ 1 callersFunctionlidt
(idt: &DescriptorTablePointer)
x86_64/src/instructions/tables.rs:19
↓ 1 callersFunctionload_ds
(sel: SegmentSelector)
x86_64/src/instructions/segmentation.rs:32
↓ 1 callersFunctionload_es
(sel: SegmentSelector)
x86_64/src/instructions/segmentation.rs:38
↓ 1 callersFunctionload_fs
(sel: SegmentSelector)
x86_64/src/instructions/segmentation.rs:44
↓ 1 callersFunctionload_gs
(sel: SegmentSelector)
x86_64/src/instructions/segmentation.rs:50
↓ 1 callersFunctionload_ss
(sel: SegmentSelector)
x86_64/src/instructions/segmentation.rs:26
↓ 1 callersFunctionload_tss
(sel: SegmentSelector)
x86_64/src/instructions/tables.rs:25
↓ 1 callersMethodmap_to
( &self, virt: VirtAddr, phys: PhysAddr, flags: PageTableFlags, )
src/mm/addr_space.rs:43
↓ 1 callersMethodmap_to
( &mut self, page: Page<Size1GiB>, frame: PhysFrame<Size1GiB>, flags: PageTabl
x86_64/src/structures/paging/mapper/mapped_page_table.rs:123
↓ 1 callersMethodmap_to_1gib
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/mapped_page_table.rs:39
↓ 1 callersMethodmap_to_1gib
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:138
↓ 1 callersMethodmap_to_2mib
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/mapped_page_table.rs:64
↓ 1 callersMethodmap_to_2mib
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:164
↓ 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/mapped_page_table.rs:92
next →1–100 of 325, ranked by callers