MCPcopy Create free account

hub / github.com/dancrossnyc/r9 / functions

Functions438 in github.com/dancrossnyc/r9

↓ 2 callersMethodencloses
(&self, child: &Node)
port/src/fdt.rs:686
↓ 2 callersFunctionexclude_other_arches
Exclude architectures other than the one being built
xtask/src/main.rs:874
↓ 2 callersMethodfind_device_type
Return iterator of nodes matching the device_type string 'device_type'
port/src/fdt.rs:402
↓ 2 callersMethodgpiosetpull
(&self, pin: u32, pull: GpioPull)
aarch64/src/uartpl011.rs:102
↓ 2 callersMethodindices_as_physaddr
Given the bitmap index, byte index within the bitmap, and bit index within the byte, return the corresponding PhysAddr.
port/src/bitmapalloc.rs:206
↓ 2 callersMethodinit
(&mut self, baud: u32)
riscv64/src/uart16550.rs:35
↓ 2 callersMethodinit
(&mut self, tss: *mut Tss)
x86_64/src/vsvm.rs:206
↓ 2 callersFunctionintrstatus
()
x86_64/src/trap.rs:389
↓ 2 callersFunctioninvalidate_all_tlb_entries
()
aarch64/src/vm.rs:616
↓ 2 callersMethodmark_allocated
Mark the bits corresponding to the given physical range as allocated, regardless of the existing state.
port/src/bitmapalloc.rs:88
↓ 2 callersFunctionnext_free_device_page4k
()
aarch64/src/vm.rs:517
↓ 2 callersMethodnode_from_index
(&self, start: usize, node_depth: usize)
port/src/fdt.rs:418
↓ 2 callersMethodnodes
Linearly iterate over the nodes in the order they occur in the flattened device tree
port/src/fdt.rs:467
↓ 2 callersMethodphys_addr
(self)
aarch64/src/vm.rs:194
↓ 2 callersFunctionprint_recursive_tables
Recursively write out all the tables and all its children
aarch64/src/vmdebug.rs:91
↓ 2 callersMethodproperty_range_iter
Return the ranges values as u64 whether the size is 1 or 2 cells. Doesn't support > 2 cells.
port/src/fdt.rs:243
↓ 2 callersMethodproperty_value_as_u32
(&self, prop: &Property)
port/src/fdt.rs:165
↓ 2 callersMethodproperty_value_contains
(&self, prop: &Property, bytes_to_find: &str)
port/src/fdt.rs:343
↓ 2 callersFunctionrecursive_root_page_table_va
Return recursive virtual addresses for the current kernel or user page tables. This depends on the recursive entry of root page tables to have been se
aarch64/src/vmdebug.rs:76
↓ 2 callersFunctionrodata_physrange
()
aarch64/src/kmem.rs:65
↓ 2 callersMethodround_down2
Round down by a power of 2
port/src/mem.rs:80
↓ 2 callersMethodround_up2
Round up by a power of 2
port/src/mem.rs:75
↓ 2 callersMethodset_stack
(&mut self, trapno: u8, stack: &mut dyn Stack)
x86_64/src/vsvm.rs:327
↓ 2 callersFunctionsplhi
()
x86_64/src/trap.rs:400
↓ 2 callersFunctionspllo
()
x86_64/src/trap.rs:394
↓ 2 callersMethodstd_supported_target
For the given arch, return a compatible toolchain triple that is installed and can be used by cargo check. It will prefer the default toolchain if it
xtask/src/main.rs:105
↓ 2 callersMethodtarget
(&self)
xtask/src/main.rs:64
↓ 2 callersFunctiontext_physrange
()
aarch64/src/kmem.rs:61
↓ 2 callersMethodtry_alloc
Allocates the requested number of bytes with the given alignment. Returns `None` if the allocation cannot be satisfied, otherwise returns `Some` of a
port/src/allocator.rs:86
↓ 2 callersFunctionwrite_and_volatile
(dst: *mut T, val: T)
aarch64/src/pre_mmu/util.rs:135
↓ 2 callersMethodwrite_entry
(&self, dest_entry: &mut Entry, entry: Entry)
aarch64/src/vm.rs:669
↓ 2 callersMethodwrite_recursive_entry
(&mut self, pgtype: RootPageTableType, entry: Entry)
aarch64/src/vm.rs:683
↓ 1 callersFunctionabort
()
riscv64/src/runtime.rs:26
↓ 1 callersFunctionalloc_device_page
Map a buffer to device memory TODO Maybe make this a macro and wrap the error reporting?
aarch64/src/deviceutil.rs:38
↓ 1 callersMethodalloc_misc
Allocates a block from the misc list. This is a simple first-fit allocator.
port/src/allocator.rs:247
↓ 1 callersMethodalloc_physpage
(&mut self)
aarch64/src/vm.rs:637
↓ 1 callersMethodalloc_quick
Attempts to allocate from an existing list: for requests that can be satisfied from one of the quick lists, try and do so; otherwise, attempt an alloc
port/src/allocator.rs:234
↓ 1 callersMethodalloc_tail
Allocates an aligned block of size `size` from `tail`. If `tail` is not already aligned to the given alignment, then we try to free blocks larger than
port/src/allocator.rs:265
↓ 1 callersFunctionapply_build
(cmd: &mut Command, rustflags: &mut Vec<String>, config: &Configuration)
xtask/src/config.rs:112
↓ 1 callersFunctionapply_link
( rustflags: &mut Vec<String>, config: &Configuration, target: &str, profile: &Profile, wo
xtask/src/config.rs:200
↓ 1 callersFunctionapply_qemu_config
(cmd: &mut Command, config: &Configuration)
xtask/src/config.rs:258
↓ 1 callersFunctionapply_to_build_step
( cmd: &mut Command, config: &Configuration, target: &str, profile: &Profile, workspace_pa
xtask/src/config.rs:287
↓ 1 callersFunctionapply_to_clippy_step
(cmd: &mut Command, config: &Configuration)
xtask/src/config.rs:281
↓ 1 callersFunctionapply_to_qemu_step
(cmd: &mut Command, config: &Configuration)
xtask/src/config.rs:301
↓ 1 callersFunctionbase_physaddr
()
aarch64/src/pre_mmu/vminit.rs:36
↓ 1 callersMethodbits
(self)
x86_64/src/dat.rs:328
↓ 1 callersFunctionboottext_physrange
()
aarch64/src/pre_mmu/vminit.rs:84
↓ 1 callersFunctionbss_physaddr
()
aarch64/src/kmem.rs:49
↓ 1 callersFunctionbss_physaddr
()
aarch64/src/pre_mmu/vminit.rs:68
↓ 1 callersFunctionbss_physrange
()
aarch64/src/pre_mmu/vminit.rs:100
↓ 1 callersFunctioncli
Executes the `CLI` instruction that disables interrupt delivery on the current CPU, by clearing the "Interrupt Enable" bit (`IF`) in the `RFLAGS` regi
x86_64/src/cpu.rs:38
↓ 1 callersFunctiondata_physaddr
()
aarch64/src/kmem.rs:41
↓ 1 callersFunctiondata_physaddr
()
aarch64/src/pre_mmu/vminit.rs:60
↓ 1 callersFunctiondata_physrange
()
aarch64/src/pre_mmu/vminit.rs:96
↓ 1 callersMethoddepth
(&self)
aarch64/src/vm.rs:259
↓ 1 callersMethoddir
(&self)
xtask/src/main.rs:27
↓ 1 callersFunctionearlyvm_pages_physrange
()
aarch64/src/pre_mmu/vminit.rs:104
↓ 1 callersFunctionearlyvm_pagetables_physaddr
()
aarch64/src/pre_mmu/vminit.rs:76
↓ 1 callersFunctioneboottext_physaddr
()
aarch64/src/kmem.rs:21
↓ 1 callersFunctioneboottext_physaddr
()
aarch64/src/pre_mmu/vminit.rs:40
↓ 1 callersFunctionebss_physaddr
()
aarch64/src/pre_mmu/vminit.rs:72
↓ 1 callersFunctionedata_physaddr
()
aarch64/src/kmem.rs:45
↓ 1 callersFunctionedata_physaddr
()
aarch64/src/pre_mmu/vminit.rs:64
↓ 1 callersFunctioneearlyvm_pagetables_physaddr
()
aarch64/src/pre_mmu/vminit.rs:80
↓ 1 callersFunctionerodata_physaddr
()
aarch64/src/kmem.rs:37
↓ 1 callersFunctionerodata_physaddr
()
aarch64/src/pre_mmu/vminit.rs:56
↓ 1 callersFunctionetext_physaddr
()
aarch64/src/kmem.rs:29
↓ 1 callersFunctionetext_physaddr
()
aarch64/src/pre_mmu/vminit.rs:48
↓ 1 callersMethodexception_class_enum
Try to convert the error into an ExceptionClass enum, or return the original number as the error.
aarch64/src/registers.rs:97
↓ 1 callersFunctionflags
Retrieves a copy of the `RFLAGS` registers.
x86_64/src/cpu.rs:13
↓ 1 callersFunctionfmask
()
x86_64/src/cpu.rs:22
↓ 1 callersMethodfree_misc
Frees a block to the misc list. This looks up the given address in the hash of allocated misc blocks to find its header. If the block header is not
port/src/allocator.rs:389
↓ 1 callersMethodfree_prefix
Frees a prefix that came from a tail allocation. This attempts to store blocks into the quick lists.
port/src/allocator.rs:273
↓ 1 callersMethodfree_unused_ranges
Free unused pages in mem that aren't covered by the memory map. Assumes that custom_map is sorted and that available_mem can be used to set the upper
port/src/bitmapalloc.rs:101
↓ 1 callersFunctionfrom_virt_to_physaddr
Given a virtual address, return the physical address. Makes a massive assumption that the code is mapped offset to KZERO, so should be used with extr
aarch64/src/kmem.rs:90
↓ 1 callersMethodgenerate_temp_recursive_address
(&self, table: &Table)
aarch64/src/vm.rs:693
↓ 1 callersFunctionget_board_macaddr
()
aarch64/src/mailbox.rs:307
↓ 1 callersFunctionget_board_model
()
aarch64/src/mailbox.rs:274
↓ 1 callersFunctionget_board_revision
()
aarch64/src/mailbox.rs:285
↓ 1 callersFunctionget_board_serial
()
aarch64/src/mailbox.rs:318
↓ 1 callersFunctionget_firmware_revision
()
aarch64/src/mailbox.rs:263
↓ 1 callersFunctioninit
(dt: &DeviceTree)
riscv64/src/platform/virt/devcons.rs:9
↓ 1 callersMethodinit
(&self)
aarch64/src/uartmini.rs:110
↓ 1 callersMethodinit
(&mut self)
x86_64/src/dat.rs:245
↓ 1 callersFunctioninit_empty_root_page_table
Given an empty, statically allocated page table. We need to write a recursive entry in the last entry. To do this, we need to know the physical addr
aarch64/src/vm.rs:542
↓ 1 callersFunctioninit_page_allocator
The bitmap allocator has all pages marked as allocated initially. We'll add some pages (mark free) to allow us to set up the page tables and build a
aarch64/src/pagealloc.rs:40
↓ 1 callersFunctioninit_user_page_tables
()
aarch64/src/vm.rs:535
↓ 1 callersMethodis_root
(&self)
port/src/fdt.rs:693
↓ 1 callersMethodis_set
Is bit `i` within the bitmap set?
port/src/bitmapalloc.rs:28
↓ 1 callersFunctionlgdt
Loads the "Global Table Descriptor Register" (`GDTR`) with the base address and inclusive limit of a "Global Descriptor Table" (GDT). # Safety The re
x86_64/src/cpu.rs:64
↓ 1 callersFunctionlidt
Loads the "Interrupt Descriptor Table Register" (`IDTR`) with the base address and inclusive limit of an "Interrupt Descriptor Table" (IDT). # Safety
x86_64/src/cpu.rs:91
↓ 1 callersFunctionltr
Loads the "Task Register" (`TR`) with the given 16-bit selector index, which identifies a "Task State Selector" (that points to a "Task State Segment"
x86_64/src/cpu.rs:52
↓ 1 callersFunctionmap_mach
(pml1: &mut PTable, zp: HPA, idt: HPA, gdt: HPA, phys: [HPA; 29])
x86_64/src/node0.rs:50
↓ 1 callersFunctionmap_phys_range
Map the physical range using the requested page size. This aligns on page size boundaries, and rounds the requested range so that both the alignment r
aarch64/src/pre_mmu/vminit.rs:331
↓ 1 callersFunctionmap_to
Ensure there's a mapping from va to entry, creating any intermediate page tables that don't already exist. If a mapping already exists, replace it. r
aarch64/src/pre_mmu/vminit.rs:375
↓ 1 callersMethodmap_to
Ensure there's a mapping from va to entry, creating any intermediate page tables that don't already exist. If a mapping already exists, replace it. r
aarch64/src/vm.rs:411
↓ 1 callersFunctionoutb
(port: u16, b: u8)
x86_64/src/pio.rs:3
↓ 1 callersFunctionplatform_init
()
riscv64/src/platform/virt/mod.rs:3
↓ 1 callersFunctionprint_binary_sections
()
aarch64/src/main.rs:51
↓ 1 callersFunctionprint_board_info
()
aarch64/src/main.rs:80
← previousnext →101–200 of 438, ranked by callers