MCPcopy Create free account

hub / github.com/IntegralPilot/wasm_os / functions

Functions198 in github.com/IntegralPilot/wasm_os

↓ 48 callersMethodlock
(&self)
src/allocator.rs:72
↓ 21 callersFunctionprintf
stdlib/c/stdio.c:172
↓ 13 callersMethodend
stdlib/cpp/vector.hpp:99
↓ 13 callersFunctionprint
(message: string)
stdlib/as/std.ts:4
↓ 10 callersFunctionmalloc
(allocations: Vec<Allocation>, size: usize)
src/wasm.rs:31
↓ 9 callersMethodbegin
Iterators
stdlib/cpp/vector.hpp:98
↓ 9 callersFunctionmove
stdlib/cpp/utility.hpp:25
↓ 8 callersFunctionputs
stdlib/c/stdio.c:87
↓ 6 callersFunctionfree
(allocations: Vec<Allocation>, ptr: usize)
src/wasm.rs:47
↓ 6 callersFunctiongetchar_safe
stdlib/cpp/iostream.hpp:12
↓ 5 callersMethodwrite_string
Writes the given ASCII string to the buffer. Wraps lines at `BUFFER_WIDTH`. Supports the `\n` newline character. Does **not support strings with non-
src/vga_buffer.rs:113
↓ 4 callersMethodclear
stdlib/cpp/vector.hpp:189
↓ 4 callersMethodend_addr
(&self)
src/allocator/linked_list.rs:19
↓ 4 callersFunctioninit
()
src/lib.rs:57
↓ 4 callersMethodinsert
stdlib/cpp/vector.hpp:196
↓ 4 callersMethodsize
Capacity
stdlib/cpp/vector.hpp:105
↓ 4 callersFunctionstrlen
stdlib/c/string.c:14
↓ 4 callersMethodwrite_byte
Writes an ASCII byte to the buffer. Wraps lines at `BUFFER_WIDTH`. Supports the `\n` newline character.
src/vga_buffer.rs:87
↓ 3 callersMethodadd_free_region
Adds the given memory region to the front of the list.
src/allocator/linked_list.rs:46
↓ 3 callersMethodas_u8
(self)
src/interrupts.rs:18
↓ 3 callersMethodempty
stdlib/cpp/vector.hpp:106
↓ 3 callersFunctionfind
stdlib/cpp/algorithm.hpp:9
↓ 3 callersFunctionget_inode
Retrieve an inode by path
src/inode.rs:196
↓ 3 callersFunctionhlt_loop
()
src/lib.rs:109
↓ 3 callersMethodpush_back
Modifiers
stdlib/cpp/vector.hpp:165
↓ 3 callersMethodset_color
(&mut self, foreground: Color)
src/vga_buffer.rs:163
↓ 3 callersMethodstart_addr
(&self)
src/allocator/linked_list.rs:15
↓ 2 callersFunction_println_with_color
(s: &str, color: Color)
src/vga_buffer.rs:248
↓ 2 callersFunctionalign_up
Align the given address `addr` upwards to alignment `align`. Requires that `align` is a power of two.
src/allocator.rs:80
↓ 2 callersFunctionatoi
A simple implementation of atoi
stdlib/c/stdlib.c:48
↓ 2 callersMethodclear_row
Clears a row by overwriting it with blank characters.
src/vga_buffer.rs:137
↓ 2 callersMethoderase
stdlib/cpp/vector.hpp:257
↓ 2 callersFunctionexit_qemu
(exit_code: QemuExitCode)
src/lib.rs:100
↓ 2 callersMethodfallback_alloc
Allocates using the fallback allocator.
src/allocator/fixed_size_block.rs:51
↓ 2 callersMethodgetCurrentNumber
apps/collatz/src/collatz.hpp:24
↓ 2 callersFunctionitoa
stdlib/cpp/iostream.hpp:20
↓ 2 callersFunctionlist_index
Choose an appropriate block size for the given layout. Returns an index into the `BLOCK_SIZES` array.
src/allocator/fixed_size_block.rs:17
↓ 2 callersFunctionmain
apps/fib/src/main.c:41
↓ 2 callersMethodmax
stdlib/cpp/limits.hpp:15
↓ 2 callersMethodnew_line
Shifts all lines one line up and clears the last row.
src/vga_buffer.rs:125
↓ 2 callersFunctionprint
(s: &str)
stdlib/rs/src/lib.rs:7
↓ 2 callersFunctionprintln
(message: string)
stdlib/as/std.ts:10
↓ 2 callersMethodrun
(&self)
src/lib.rs:71
↓ 2 callersFunctionrun_app
(command_line: &str)
src/apps.rs:31
↓ 2 callersMethodset_both_colors
(&mut self, foreground: Color, background: Color)
src/vga_buffer.rs:168
↓ 2 callersFunctionstrcmp
stdlib/c/string.c:4
↓ 2 callersFunctiontime
Returns the current calendar time Assume that the machine booted at the Unix epoch
stdlib/c/time.h:18
↓ 2 callersMethodwrite_inputreciever
InputReciever operations
src/inode.rs:129
↓ 1 callersFunction_backspace
()
src/vga_buffer.rs:240
↓ 1 callersFunctionactive_level_4_table
Returns a mutable reference to the active level 4 table. This function is unsafe because the caller must guarantee that the complete physical memory
src/memory.rs:26
↓ 1 callersMethodallocate_frame
(&mut self)
src/memory.rs:42
↓ 1 callersMethodbackspace
(&mut self)
src/vga_buffer.rs:183
↓ 1 callersMethodcapacity
stdlib/cpp/vector.hpp:107
↓ 1 callersMethodclear_screen
(&mut self)
src/vga_buffer.rs:157
↓ 1 callersFunctionclock
Returns the processor time consumed by the program
stdlib/c/time.h:12
↓ 1 callersMethodcurrent_line_text
(&self)
src/vga_buffer.rs:147
↓ 1 callersMethoddeallocate
stdlib/cpp/vector.hpp:299
↓ 1 callersMethodenabled
(&self, metadata: &log::Metadata)
src/main.rs:50
↓ 1 callersMethodfill_screen_with_colour
(&mut self, color: Color)
src/vga_buffer.rs:195
↓ 1 callersMethodfind_region
Looks for a free region with the given size and alignment and removes it from the list. Returns a tuple of the list node and the start address of the
src/allocator/linked_list.rs:65
↓ 1 callersMethodflush
(&self)
src/main.rs:66
↓ 1 callersFunctionhandle_keypress
(scancode: u8)
src/keyboard.rs:5
↓ 1 callersMethodinit
Create a FrameAllocator from the passed memory map. This function is unsafe because the caller must guarantee that the passed memory map is valid. Th
src/memory.rs:59
↓ 1 callersFunctioninit_dev
Initialize the device file system in /dev
src/inode.rs:160
↓ 1 callersFunctioninit_heap
( mapper: &mut impl Mapper<Size4KiB>, frame_allocator: &mut impl FrameAllocator<Size4KiB>, )
src/allocator.rs:21
↓ 1 callersFunctioninit_idt
()
src/interrupts.rs:49
↓ 1 callersFunctionitoa
stdlib/c/stdio.c:15
↓ 1 callersFunctionlitoa
stdlib/cpp/iostream.hpp:96
↓ 1 callersFunctionllitoa
stdlib/cpp/iostream.hpp:58
↓ 1 callersFunctionllitoa
This function is almost identical to itoa. Consider refactoring to avoid code duplication
stdlib/c/stdio.c:52
↓ 1 callersFunctionmain
apps/vec-test-cpp/src/main.cpp:7
↓ 1 callersFunctionmemcpy
make our own memcpy function
stdlib/c/stdlib.c:15
↓ 1 callersFunctionmemmove
Custom memmove
stdlib/cpp/utility.hpp:7
↓ 1 callersMethodpop_back
stdlib/cpp/vector.hpp:173
↓ 1 callersFunctionprintFib
function to print fibonacci series
apps/fib/src/main.c:7
↓ 1 callersMethodprint_with_color
(&mut self, s: &str, color: Color)
src/vga_buffer.rs:178
↓ 1 callersMethodprintln_with_color
(&mut self, s: &str, color: Color)
src/vga_buffer.rs:172
↓ 1 callersFunctionrand
rand impl using the kernel's rng
stdlib/c/stdlib.c:78
↓ 1 callersMethodread_outputter
Outputter operations
src/inode.rs:144
↓ 1 callersFunctionrealloc
make our own realloc function
stdlib/c/stdlib.c:25
↓ 1 callersMethodreserve
stdlib/cpp/vector.hpp:128
↓ 1 callersMethodresize
stdlib/cpp/vector.hpp:147
↓ 1 callersFunctionrun_from_bytes
(args: String, bytes: &[u8])
src/wasm.rs:58
↓ 1 callersFunctionset_current_byte_in_stdin
(byte: char)
src/lib.rs:18
↓ 1 callersMethodsolve
apps/collatz/src/collatz.cpp:23
↓ 1 callersFunctionsrand
srand impl using the kernel's seedrng
stdlib/c/stdlib.c:72
↓ 1 callersFunctionsystem
stdlib/cpp/cstdlib.hpp:11
↓ 1 callersFunctiontest_panic_handler
(info: &PanicInfo)
src/lib.rs:86
↓ 1 callersMethodusable_frames
Returns an iterator over the usable frames specified in the memory map.
src/memory.rs:67
↓ 1 callersFunctionvprintf
stdlib/c/stdio.c:94
MethodCollatzSolver
apps/collatz/src/collatz.hpp:22
Function_clear_screen
()
src/vga_buffer.rs:289
Function_fill_screen_with_colour
(color: Color)
src/vga_buffer.rs:295
Function_get_current_line
()
src/vga_buffer.rs:283
Function_print
(args: ::core::fmt::Arguments)
src/serial.rs:14
Function_print
(args: fmt::Arguments)
src/vga_buffer.rs:230
Function_print_with_both_colors
(s: &str, foreground: Color, background: Color)
src/vga_buffer.rs:274
Function_print_with_color
(s: &str, color: Color)
src/vga_buffer.rs:266
Function_println_with_both_colors
(s: &str, foreground: Color, background: Color)
src/vga_buffer.rs:256
Function_start
apps/alloc-demo/src/main.c:4
next →1–100 of 198, ranked by callers