Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IntegralPilot/wasm_os
/ functions
Functions
198 in github.com/IntegralPilot/wasm_os
⨍
Functions
198
◇
Types & classes
45
↓ 48 callers
Method
lock
(&self)
src/allocator.rs:72
↓ 21 callers
Function
printf
stdlib/c/stdio.c:172
↓ 13 callers
Method
end
stdlib/cpp/vector.hpp:99
↓ 13 callers
Function
print
(message: string)
stdlib/as/std.ts:4
↓ 10 callers
Function
malloc
(allocations: Vec<Allocation>, size: usize)
src/wasm.rs:31
↓ 9 callers
Method
begin
Iterators
stdlib/cpp/vector.hpp:98
↓ 9 callers
Function
move
stdlib/cpp/utility.hpp:25
↓ 8 callers
Function
puts
stdlib/c/stdio.c:87
↓ 6 callers
Function
free
(allocations: Vec<Allocation>, ptr: usize)
src/wasm.rs:47
↓ 6 callers
Function
getchar_safe
stdlib/cpp/iostream.hpp:12
↓ 5 callers
Method
write_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 callers
Method
clear
stdlib/cpp/vector.hpp:189
↓ 4 callers
Method
end_addr
(&self)
src/allocator/linked_list.rs:19
↓ 4 callers
Function
init
()
src/lib.rs:57
↓ 4 callers
Method
insert
stdlib/cpp/vector.hpp:196
↓ 4 callers
Method
size
Capacity
stdlib/cpp/vector.hpp:105
↓ 4 callers
Function
strlen
stdlib/c/string.c:14
↓ 4 callers
Method
write_byte
Writes an ASCII byte to the buffer. Wraps lines at `BUFFER_WIDTH`. Supports the `\n` newline character.
src/vga_buffer.rs:87
↓ 3 callers
Method
add_free_region
Adds the given memory region to the front of the list.
src/allocator/linked_list.rs:46
↓ 3 callers
Method
as_u8
(self)
src/interrupts.rs:18
↓ 3 callers
Method
empty
stdlib/cpp/vector.hpp:106
↓ 3 callers
Function
find
stdlib/cpp/algorithm.hpp:9
↓ 3 callers
Function
get_inode
Retrieve an inode by path
src/inode.rs:196
↓ 3 callers
Function
hlt_loop
()
src/lib.rs:109
↓ 3 callers
Method
push_back
Modifiers
stdlib/cpp/vector.hpp:165
↓ 3 callers
Method
set_color
(&mut self, foreground: Color)
src/vga_buffer.rs:163
↓ 3 callers
Method
start_addr
(&self)
src/allocator/linked_list.rs:15
↓ 2 callers
Function
_println_with_color
(s: &str, color: Color)
src/vga_buffer.rs:248
↓ 2 callers
Function
align_up
Align the given address `addr` upwards to alignment `align`. Requires that `align` is a power of two.
src/allocator.rs:80
↓ 2 callers
Function
atoi
A simple implementation of atoi
stdlib/c/stdlib.c:48
↓ 2 callers
Method
clear_row
Clears a row by overwriting it with blank characters.
src/vga_buffer.rs:137
↓ 2 callers
Method
erase
stdlib/cpp/vector.hpp:257
↓ 2 callers
Function
exit_qemu
(exit_code: QemuExitCode)
src/lib.rs:100
↓ 2 callers
Method
fallback_alloc
Allocates using the fallback allocator.
src/allocator/fixed_size_block.rs:51
↓ 2 callers
Method
getCurrentNumber
apps/collatz/src/collatz.hpp:24
↓ 2 callers
Function
itoa
stdlib/cpp/iostream.hpp:20
↓ 2 callers
Function
list_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 callers
Function
main
apps/fib/src/main.c:41
↓ 2 callers
Method
max
stdlib/cpp/limits.hpp:15
↓ 2 callers
Method
new_line
Shifts all lines one line up and clears the last row.
src/vga_buffer.rs:125
↓ 2 callers
Function
print
(s: &str)
stdlib/rs/src/lib.rs:7
↓ 2 callers
Function
println
(message: string)
stdlib/as/std.ts:10
↓ 2 callers
Method
run
(&self)
src/lib.rs:71
↓ 2 callers
Function
run_app
(command_line: &str)
src/apps.rs:31
↓ 2 callers
Method
set_both_colors
(&mut self, foreground: Color, background: Color)
src/vga_buffer.rs:168
↓ 2 callers
Function
strcmp
stdlib/c/string.c:4
↓ 2 callers
Function
time
Returns the current calendar time Assume that the machine booted at the Unix epoch
stdlib/c/time.h:18
↓ 2 callers
Method
write_inputreciever
InputReciever operations
src/inode.rs:129
↓ 1 callers
Function
_backspace
()
src/vga_buffer.rs:240
↓ 1 callers
Function
active_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 callers
Method
allocate_frame
(&mut self)
src/memory.rs:42
↓ 1 callers
Method
backspace
(&mut self)
src/vga_buffer.rs:183
↓ 1 callers
Method
capacity
stdlib/cpp/vector.hpp:107
↓ 1 callers
Method
clear_screen
(&mut self)
src/vga_buffer.rs:157
↓ 1 callers
Function
clock
Returns the processor time consumed by the program
stdlib/c/time.h:12
↓ 1 callers
Method
current_line_text
(&self)
src/vga_buffer.rs:147
↓ 1 callers
Method
deallocate
stdlib/cpp/vector.hpp:299
↓ 1 callers
Method
enabled
(&self, metadata: &log::Metadata)
src/main.rs:50
↓ 1 callers
Method
fill_screen_with_colour
(&mut self, color: Color)
src/vga_buffer.rs:195
↓ 1 callers
Method
find_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 callers
Method
flush
(&self)
src/main.rs:66
↓ 1 callers
Function
handle_keypress
(scancode: u8)
src/keyboard.rs:5
↓ 1 callers
Method
init
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 callers
Function
init_dev
Initialize the device file system in /dev
src/inode.rs:160
↓ 1 callers
Function
init_heap
( mapper: &mut impl Mapper<Size4KiB>, frame_allocator: &mut impl FrameAllocator<Size4KiB>, )
src/allocator.rs:21
↓ 1 callers
Function
init_idt
()
src/interrupts.rs:49
↓ 1 callers
Function
itoa
stdlib/c/stdio.c:15
↓ 1 callers
Function
litoa
stdlib/cpp/iostream.hpp:96
↓ 1 callers
Function
llitoa
stdlib/cpp/iostream.hpp:58
↓ 1 callers
Function
llitoa
This function is almost identical to itoa. Consider refactoring to avoid code duplication
stdlib/c/stdio.c:52
↓ 1 callers
Function
main
apps/vec-test-cpp/src/main.cpp:7
↓ 1 callers
Function
memcpy
make our own memcpy function
stdlib/c/stdlib.c:15
↓ 1 callers
Function
memmove
Custom memmove
stdlib/cpp/utility.hpp:7
↓ 1 callers
Method
pop_back
stdlib/cpp/vector.hpp:173
↓ 1 callers
Function
printFib
function to print fibonacci series
apps/fib/src/main.c:7
↓ 1 callers
Method
print_with_color
(&mut self, s: &str, color: Color)
src/vga_buffer.rs:178
↓ 1 callers
Method
println_with_color
(&mut self, s: &str, color: Color)
src/vga_buffer.rs:172
↓ 1 callers
Function
rand
rand impl using the kernel's rng
stdlib/c/stdlib.c:78
↓ 1 callers
Method
read_outputter
Outputter operations
src/inode.rs:144
↓ 1 callers
Function
realloc
make our own realloc function
stdlib/c/stdlib.c:25
↓ 1 callers
Method
reserve
stdlib/cpp/vector.hpp:128
↓ 1 callers
Method
resize
stdlib/cpp/vector.hpp:147
↓ 1 callers
Function
run_from_bytes
(args: String, bytes: &[u8])
src/wasm.rs:58
↓ 1 callers
Function
set_current_byte_in_stdin
(byte: char)
src/lib.rs:18
↓ 1 callers
Method
solve
apps/collatz/src/collatz.cpp:23
↓ 1 callers
Function
srand
srand impl using the kernel's seedrng
stdlib/c/stdlib.c:72
↓ 1 callers
Function
system
stdlib/cpp/cstdlib.hpp:11
↓ 1 callers
Function
test_panic_handler
(info: &PanicInfo)
src/lib.rs:86
↓ 1 callers
Method
usable_frames
Returns an iterator over the usable frames specified in the memory map.
src/memory.rs:67
↓ 1 callers
Function
vprintf
stdlib/c/stdio.c:94
Method
CollatzSolver
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