Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Emivvvvv/AmongOS
/ functions
Functions
88 in github.com/Emivvvvv/AmongOS
⨍
Functions
88
◇
Types & classes
16
↓ 17 callers
Method
lock
(&self)
src/allocator.rs:32
↓ 9 callers
Function
hlt_loop
()
src/lib.rs:68
↓ 6 callers
Function
init
()
src/lib.rs:74
↓ 5 callers
Function
exit_qemu
(exit_code: QemuExitCode)
src/lib.rs:29
↓ 5 callers
Function
test_panic_handler
(info: &PanicInfo)
src/lib.rs:61
↓ 4 callers
Method
end_addr
(&self)
src/allocator/linked_list.rs:43
↓ 3 callers
Method
add_free_region
(&mut self, addr: usize, size: usize)
src/allocator/linked_list.rs:63
↓ 3 callers
Method
as_u8
(self)
src/interrupts.rs:23
↓ 3 callers
Method
start_addr
(&self)
src/allocator/linked_list.rs:39
↓ 2 callers
Function
align_up
(addr: usize, align: usize)
src/allocator.rs:72
↓ 2 callers
Method
draw_among_os
(&mut self)
src/screen.rs:163
↓ 2 callers
Method
fallback_alloc
(&mut self, layout: Layout)
src/allocator/fixed_size_block.rs:29
↓ 2 callers
Function
list_index
(layout: &Layout)
src/allocator/fixed_size_block.rs:37
↓ 2 callers
Method
new_line
(&mut self)
src/screen.rs:122
↓ 2 callers
Method
write_byte
(&mut self, byte: u8)
src/screen.rs:90
↓ 1 callers
Function
active_level_4_table
Returns a mutable reference to the active level 4 table.
src/memory.rs:49
↓ 1 callers
Method
allocate_frame
(&mut self)
src/memory.rs:36
↓ 1 callers
Method
clear_row
(&mut self, row: usize)
src/screen.rs:135
↓ 1 callers
Method
delete_among_os
(&mut self)
src/screen.rs:191
↓ 1 callers
Method
draw_line
-1 values in x_list will be omitted.
src/screen.rs:202
↓ 1 callers
Method
draw_line_among_os
(&mut self, x_list: &[isize], row: isize, color: isize)
src/screen.rs:184
↓ 1 callers
Method
find_region
(&mut self, size: usize, align: usize)
src/allocator/linked_list.rs:74
↓ 1 callers
Method
init
(memory_map: &'static MemoryMap)
src/memory.rs:15
↓ 1 callers
Function
init_heap
( mapper: &mut impl Mapper<Size4KiB>, frame_allocator: &mut impl FrameAllocator<Size4KiB>, )
src/allocator.rs:43
↓ 1 callers
Function
init_idt
()
src/interrupts.rs:116
↓ 1 callers
Function
init_test_idt
()
tests/stack_overflow.rs:22
↓ 1 callers
Method
run
(&self)
src/lib.rs:46
↓ 1 callers
Function
should_fail
()
tests/should_panic.rs:18
↓ 1 callers
Function
stack_overflow
()
tests/stack_overflow.rs:54
↓ 1 callers
Function
tick_r
()
src/screen.rs:219
↓ 1 callers
Function
tick_w
()
src/screen.rs:223
↓ 1 callers
Method
time_tick_red
(&mut self)
src/screen.rs:145
↓ 1 callers
Method
time_tick_white
(&mut self)
src/screen.rs:154
↓ 1 callers
Method
usable_frames
(&self)
src/memory.rs:22
↓ 1 callers
Function
welcome
()
src/screen.rs:212
↓ 1 callers
Method
write_string
(&mut self, s: &str)
src/screen.rs:111
Function
_print
(args: fmt::Arguments)
src/screen.rs:22
Function
_print
(args: ::core::fmt::Arguments)
src/serial.rs:28
Function
_start
()
tests/basic_boot.rs:12
Function
_start
()
tests/should_panic.rs:11
Function
_start
()
tests/stack_overflow.rs:37
Method
alloc
(&self, layout: Layout)
src/allocator/fixed_size_block.rs:43
Method
alloc
(&self, layout: Layout)
src/allocator/linked_list.rs:7
Method
alloc
(&self, layout: Layout)
src/allocator/bump.rs:30
Method
alloc_from_region
(region: &ListNode, size: usize, align: usize)
src/allocator/linked_list.rs:91
Method
as_usize
(self)
src/interrupts.rs:27
Function
breakpoint_handler
( stack_frame: InterruptStackFrame )
src/interrupts.rs:120
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
src/allocator/fixed_size_block.rs:65
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
src/allocator/linked_list.rs:23
Method
dealloc
(&self, _ptr: *mut u8, _layout: Layout)
src/allocator/bump.rs:48
Function
double_fault_handler
( stack_frame: InterruptStackFrame, _error_code: u64)
src/interrupts.rs:126
Function
eh_personality
()
src/main.rs:30
Function
init
(physical_memory_offset: VirtAddr)
src/memory.rs:43
Function
init
()
src/gdt.rs:39
Method
init
(&mut self, heap_start: usize, heap_size: usize)
src/allocator/fixed_size_block.rs:25
Method
init
(&mut self, heap_start: usize, heap_size: usize)
src/allocator/linked_list.rs:59
Method
init
(&mut self, heap_start: usize, heap_size: usize)
src/allocator/bump.rs:22
Function
kernel_main
(_boot_info: &'static BootInfo)
src/main.rs:34
Function
keyboard_interrupt_handler
( _stack_frame: InterruptStackFrame)
src/interrupts.rs:70
Function
large_vec
()
tests/heap_allocation.rs:45
Function
main
(boot_info: &'static BootInfo)
tests/heap_allocation.rs:14
Function
many_boxes
()
tests/heap_allocation.rs:57
Function
many_boxes_long_lived
()
tests/heap_allocation.rs:65
Method
new
(foreground: Color, background: Color)
src/screen.rs:50
Method
new
(inner: A)
src/allocator.rs:26
Method
new
()
src/allocator/fixed_size_block.rs:17
Method
new
(size: usize)
src/allocator/linked_list.rs:35
Method
new
()
src/allocator/bump.rs:13
Function
page_fault_handler
( stack_frame: InterruptStackFrame, error_code: PageFaultErrorCode )
src/interrupts.rs:103
Function
panic
(info: &PanicInfo)
src/main.rs:23
Function
panic
(info: &PanicInfo)
src/lib.rs:97
Function
panic
(info: &PanicInfo)
tests/basic_boot.rs:23
Function
panic
(_info: &PanicInfo)
tests/should_panic.rs:24
Function
panic
(info: &PanicInfo)
tests/stack_overflow.rs:49
Function
panic
(info: &PanicInfo)
tests/heap_allocation.rs:75
Function
simple_allocation
()
tests/heap_allocation.rs:35
Method
size_align
(layout: Layout)
src/allocator/linked_list.rs:108
Function
test_breakpoint_exception
()
src/interrupts.rs:133
Function
test_double_fault_handler
( _stack_frame: InterruptStackFrame, _error_code: u64, )
tests/stack_overflow.rs:26
Function
test_kernel_main
(_boot_info: &'static BootInfo)
src/lib.rs:89
Function
test_println
()
tests/basic_boot.rs:28
Function
test_println_many
()
src/screen.rs:233
Function
test_println_output
()
src/screen.rs:240
Function
test_println_simple
()
src/screen.rs:228
Function
test_runner
(tests: &[&dyn Testable])
src/lib.rs:53
Function
test_runner
(_tests: &[&dyn Fn()])
tests/basic_boot.rs:18
Function
timer_interrupt_handler
( _stack_frame: InterruptStackFrame)
src/interrupts.rs:54
Method
write_str
(&mut self, s: &str)
src/screen.rs:83