Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ruddle/Fomos
/ functions
Functions
248 in github.com/Ruddle/Fomos
⨍
Functions
248
◇
Types & classes
104
↓ 21 callers
Method
write
(&self, reg: u32, value: u32)
bootloader/kernel/src/local_apic.rs:53
↓ 16 callers
Function
clone
(_: *const ())
bootloader/kernel/src/task/executor.rs:28
↓ 14 callers
Method
read
(&self, reg: u32)
bootloader/kernel/src/local_apic.rs:49
↓ 14 callers
Function
request
(virtio: Arc<Mutex<Virtio>>, data: T)
bootloader/kernel/src/drivers/virtio_gpu.rs:515
↓ 13 callers
Function
init
()
bootloader/kernel/src/gdt.rs:44
↓ 12 callers
Method
config_read_u8
(&self, off: u8)
bootloader/kernel/src/pci.rs:126
↓ 9 callers
Method
read
(&self, reg: u32)
bootloader/kernel/src/ioapic.rs:29
↓ 8 callers
Function
nop
(s: *const u8, l: u32)
app_cursor/src/st.rs:21
↓ 7 callers
Method
write
(&self, reg: u32, value: u32)
bootloader/kernel/src/ioapic.rs:36
↓ 6 callers
Function
config_address
(bus: u8, slot: u8, func: u8, off: u8)
bootloader/kernel/src/pci.rs:41
↓ 6 callers
Function
global_time_ms
()
bootloader/kernel/src/interrupts.rs:95
↓ 6 callers
Function
phys_to_virt
(addr: PhysAddr)
bootloader/kernel/src/main.rs:124
↓ 6 callers
Method
run
(&mut self)
bootloader/kernel/src/task/executor.rs:42
↓ 5 callers
Method
eoi
(&self)
bootloader/kernel/src/local_apic.rs:96
↓ 5 callers
Method
flush
(&mut self, framebuffer: &mut [u8], info: &FrameBufferInfo)
bootloader/kernel/src/framebuffer.rs:229
↓ 5 callers
Function
get
(mut x: isize, mut y: isize, src: &[RGBA], wi: isize, hi: isize)
app_console/src/main.rs:64
↓ 5 callers
Function
yield_once
()
bootloader/kernel/src/task/executor.rs:181
↓ 4 callers
Method
allocate_frame
(&mut self)
bootloader/kernel/src/memory.rs:81
↓ 4 callers
Method
clear
Erases all text on the screen. Resets `self.x_pos` and `self.y_pos`.
bootloader/kernel/src/framebuffer.rs:80
↓ 4 callers
Method
config_read_u16
(&self, off: u8)
bootloader/kernel/src/pci.rs:132
↓ 4 callers
Method
config_read_u32
(&self, off: u8)
bootloader/kernel/src/pci.rs:138
↓ 4 callers
Function
create_identity_virt_from_phys
( mapper: &mut impl Mapper<Size4KiB>, frame_allocator: &mut impl FrameAllocator<Size4KiB>, )
bootloader/kernel/src/main.rs:141
↓ 4 callers
Function
log
(s: &str)
app_console/src/st.rs:16
↓ 4 callers
Method
store
(&self)
bootloader/kernel/src/ioapic.rs:99
↓ 3 callers
Function
config_read_u16
(bus: u8, slot: u8, func: u8, off: u8)
bootloader/kernel/src/pci.rs:58
↓ 3 callers
Function
cro
(a: Vec2<f32>, b: Vec2<f32>)
app_cursor/src/main.rs:45
↓ 3 callers
Method
queue_select
(&mut self, q: u16)
bootloader/kernel/src/virtio.rs:489
↓ 3 callers
Method
read_redtlb
(&self, index: u32)
bootloader/kernel/src/ioapic.rs:44
↓ 3 callers
Method
set_writable_available
(&mut self, desc_id: u16)
bootloader/kernel/src/virtio.rs:517
↓ 3 callers
Method
update
Might lose data if multiple thread calls it simultaneously
bootloader/kernel/src/globals.rs:12
↓ 3 callers
Method
wake
(&mut self)
bootloader/kernel/src/drivers/virtio_gpu.rs:35
↓ 3 callers
Function
with_mapper_framealloc
(f: FUNC)
bootloader/kernel/src/main.rs:154
↓ 2 callers
Method
alloc
(&self, layout: alloc::alloc::Layout)
bootloader/kernel/src/allocator.rs:30
↓ 2 callers
Method
carriage_return
(&mut self)
bootloader/kernel/src/framebuffer.rs:75
↓ 2 callers
Function
config_read_u32
(bus: u8, slot: u8, func: u8, off: u8)
bootloader/kernel/src/pci.rs:52
↓ 2 callers
Function
config_read_u8
(bus: u8, slot: u8, func: u8, off: u8)
bootloader/kernel/src/pci.rs:66
↓ 2 callers
Function
create_identity_virt_from_phys_n
(pages: usize)
bootloader/kernel/src/main.rs:165
↓ 2 callers
Function
drive
(mut virtio: Virtio, spawner: Spawner, fb: *mut FB)
bootloader/kernel/src/drivers/virtio_gpu.rs:49
↓ 2 callers
Function
dummy_raw_waker
()
bootloader/kernel/src/task/executor.rs:26
↓ 2 callers
Function
get
(c: char)
bootloader/kernel/src/framebuffer.rs:37
↓ 2 callers
Method
get_free_desc_id
(&mut self)
bootloader/kernel/src/virtio.rs:479
↓ 2 callers
Function
log
(s: &str)
app_background/src/st.rs:16
↓ 2 callers
Method
newline
(&mut self)
bootloader/kernel/src/framebuffer.rs:70
↓ 2 callers
Method
next_used
(&mut self)
bootloader/kernel/src/virtio.rs:562
↓ 2 callers
Method
poll
( mut self: core::pin::Pin<&mut Self>, cx: &mut core::task::Context<'_>, )
bootloader/kernel/src/task/executor.rs:188
↓ 2 callers
Function
pt_in_rect
(px: usize, py: usize, x: usize, y: usize, x2: usize, y2: usize)
app_console/src/main.rs:109
↓ 2 callers
Method
read_desc
(&mut self, desc_id: u16)
bootloader/kernel/src/virtio.rs:582
↓ 2 callers
Method
set_available
(&mut self, desc_id: u16)
bootloader/kernel/src/virtio.rs:495
↓ 2 callers
Method
set_free_desc_id
(&mut self, desc_id: u16)
bootloader/kernel/src/virtio.rs:485
↓ 2 callers
Method
set_icr
(&self, value: u64)
bootloader/kernel/src/local_apic.rs:69
↓ 2 callers
Method
set_sel
(&self, reg: u32)
bootloader/kernel/src/ioapic.rs:26
↓ 2 callers
Method
set_writable
(&mut self, desc_id: u16)
bootloader/kernel/src/virtio.rs:507
↓ 2 callers
Method
spawn
(&mut self, task: Task)
bootloader/kernel/src/task/executor.rs:19
↓ 2 callers
Method
swap
(&mut self, f2: LogFn)
app_console/src/st.rs:29
↓ 2 callers
Method
swap
(&mut self, f2: LogFn)
app_background/src/st.rs:29
↓ 2 callers
Method
swap
(&mut self, f2: LogFn)
app_cursor/src/st.rs:29
↓ 2 callers
Method
wake_task
(&self)
bootloader/kernel/src/task/executor.rs:154
↓ 2 callers
Method
width
(&self)
bootloader/kernel/src/framebuffer.rs:86
↓ 2 callers
Method
write_redtlb
(&self, index: u32, redtlb: u64)
bootloader/kernel/src/ioapic.rs:49
↓ 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
bootloader/kernel/src/memory.rs:23
↓ 1 callers
Method
add_request
(&mut self, desc_id: u16, desc_next_id: u16, data: T)
bootloader/kernel/src/virtio.rs:522
↓ 1 callers
Function
add_waker
(waker: &Waker)
bootloader/kernel/src/interrupts.rs:159
↓ 1 callers
Function
blur
( fx: isize, fy: isize, src: &[RGBA], dst: &mut Vec<RGBA>, wi: isize, hi: isize, b
app_console/src/main.rs:135
↓ 1 callers
Method
call
(&mut self, arg: &mut Context)
bootloader/kernel/src/app.rs:203
↓ 1 callers
Method
char
(&self, local: Local, shift: bool, altg: bool)
app_console/src/st.rs:1807
↓ 1 callers
Function
cmd_clear
( buffer: &mut Vec<u32>, buffers: u32, rgba: [u8; 4],
bootloader/kernel/src/drivers/virtio_gpu.rs:281
↓ 1 callers
Function
cmd_create_surface
(buffer: &mut Vec<u32>, handle: u32, format: VirglFormats)
bootloader/kernel/src/drivers/virtio_gpu.rs:315
↓ 1 callers
Function
cmd_set_framebuffer_state
(buffer: &mut Vec<u32>, handles: &[u32])
bootloader/kernel/src/drivers/virtio_gpu.rs:303
↓ 1 callers
Function
config_write_u16
(bus: u8, slot: u8, func: u8, off: u8, data: u16)
bootloader/kernel/src/pci.rs:82
↓ 1 callers
Function
config_write_u8
(bus: u8, slot: u8, func: u8, off: u8, data: u8)
bootloader/kernel/src/pci.rs:92
↓ 1 callers
Function
convert_level
(level: LevelFilter)
bootloader/kernel/src/logger.rs:102
↓ 1 callers
Function
cpuid
()
bootloader/kernel/src/local_apic.rs:12
↓ 1 callers
Method
dealloc
(&self, ptr: *mut u8, layout: alloc::alloc::Layout)
bootloader/kernel/src/allocator.rs:34
↓ 1 callers
Function
device_id_to_type
(id: isize)
bootloader/kernel/src/virtio.rs:73
↓ 1 callers
Function
disable_pic
()
bootloader/kernel/src/local_apic.rs:136
↓ 1 callers
Function
dummy_waker
()
bootloader/kernel/src/task/executor.rs:36
↓ 1 callers
Method
get_bar
(&self, idx: u8)
bootloader/kernel/src/pci.rs:142
↓ 1 callers
Function
get_char_raster
Returns the raster of the given char or the raster of [`font_constants::BACKUP_CHAR`].
bootloader/kernel/src/framebuffer.rs:36
↓ 1 callers
Method
get_free
(&mut self)
bootloader/kernel/src/virtio.rs:49
↓ 1 callers
Method
get_free_twice
(&mut self)
bootloader/kernel/src/virtio.rs:52
↓ 1 callers
Method
get_free_twice_desc_id
(&mut self)
bootloader/kernel/src/virtio.rs:482
↓ 1 callers
Function
getxmap
(local: Local, code: usize, shift: bool, altg: bool)
app_console/src/st.rs:1587
↓ 1 callers
Method
handle_incoming_state
(&mut self, key: usize, b: bool)
bootloader/kernel/src/globals.rs:80
↓ 1 callers
Method
height
(&self)
bootloader/kernel/src/framebuffer.rs:90
↓ 1 callers
Method
init
()
bootloader/kernel/src/allocator.rs:16
↓ 1 callers
Function
init_heap
( mapper: &mut impl Mapper<Size4KiB>, frame_allocator: &mut impl FrameAllocator<Size4KiB>, )
bootloader/kernel/src/allocator.rs:56
↓ 1 callers
Function
init_idt
()
bootloader/kernel/src/interrupts.rs:184
↓ 1 callers
Function
init_logger
( framebuffer: &'static mut [u8], info: FrameBufferInfo, log_level: LevelFilter, frame_buffer_
bootloader/kernel/src/logger.rs:83
↓ 1 callers
Method
kick
(&mut self, queue_select: u16)
bootloader/kernel/src/virtio.rs:539
↓ 1 callers
Function
log
(s: &str)
app_cursor/src/st.rs:16
↓ 1 callers
Method
log
(&self, record: &log::Record)
bootloader/kernel/src/logger.rs:61
↓ 1 callers
Function
put
(pixel: &mut RGBA, v: Vec3<f32>)
app_console/src/main.rs:58
↓ 1 callers
Method
run_ready_tasks
(&mut self)
bootloader/kernel/src/task/executor.rs:97
↓ 1 callers
Function
sd_bezier
(p: Vec2<f32>, v0: Vec2<f32>, v1: Vec2<f32>, v2: Vec2<f32>)
app_cursor/src/main.rs:49
↓ 1 callers
Method
set_div_conf
(&self, div_conf: u32)
bootloader/kernel/src/local_apic.rs:122
↓ 1 callers
Method
set_free
(&mut self, desc_id: u16)
bootloader/kernel/src/virtio.rs:59
↓ 1 callers
Method
set_init_count
(&self, initial_count: u32)
bootloader/kernel/src/local_apic.rs:113
↓ 1 callers
Method
set_lvt_error
(&self, lvt_error: u32)
bootloader/kernel/src/local_apic.rs:128
↓ 1 callers
Method
set_lvt_timer
(&self, value: u32)
bootloader/kernel/src/local_apic.rs:107
↓ 1 callers
Method
share
(&mut self)
bootloader/kernel/src/framebuffer.rs:221
next →
1–100 of 248, ranked by callers