Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bendudson/EuraliOS
/ functions
Functions
458 in github.com/bendudson/EuraliOS
⨍
Functions
458
◇
Types & classes
75
↓ 80 callers
Method
len
(&self)
edit/src/main.rs:19
↓ 60 callers
Function
send
Send a message and wait for it to be received If an error occurs then a message is returned. Note: handles not guaranteed to have same internal state
euralios_std/src/syscalls.rs:262
↓ 50 callers
Method
push
(&mut self, s: T)
euralios_std/src/ffi.rs:87
↓ 46 callers
Method
write
Write to Address and Data ports
pci/src/ports.rs:13
↓ 44 callers
Method
clone
Makes a copy of a communication handle
euralios_std/src/syscalls.rs:51
↓ 43 callers
Method
as_u64
(&self)
euralios_std/src/net.rs:35
↓ 32 callers
Method
iter
(&self)
euralios_std/src/path.rs:421
↓ 30 callers
Method
as_ref
Get a reference with lifetime tied to MemoryHandle
euralios_std/src/syscalls.rs:123
↓ 24 callers
Method
next
(&self, cursor: Cursor)
edit/src/main.rs:120
↓ 23 callers
Method
as_mut_ptr
(&mut self)
euralios_std/src/syscalls.rs:132
↓ 23 callers
Method
bytes
(&self)
euralios_std/src/ffi.rs:196
↓ 22 callers
Method
read
Write to Address port, read from Data port Note: Mutates ports values so needs mut self
pci/src/ports.rs:29
↓ 22 callers
Function
set_current_thread
Makes the given thread the current thread If another thread was running schedule it
kernel/src/process.rs:336
↓ 21 callers
Function
thread_yield
Gives up the processor for another thread to run. Usually called when a thread has nothing useful to do and can wait for an undetermined amount of ti
euralios_std/src/syscalls.rs:227
↓ 20 callers
Method
return_error
Modify a thread context, setting the RAX register to signal an error. Note: Should only be applied to threads that will return from a syscall.
kernel/src/process.rs:176
↓ 17 callers
Function
open
(path: T, flags: u64)
euralios_std/src/syscalls.rs:348
↓ 17 callers
Function
rcall
Remote call. Wrapper around send_receive syscall
euralios_std/src/message.rs:165
↓ 15 callers
Function
receive
Wait for a message to be received
euralios_std/src/syscalls.rs:237
↓ 13 callers
Method
insert
(&mut self, device: Device)
pci/src/main.rs:67
↓ 11 callers
Function
malloc
( num_bytes: u64, max_physaddr: u64 )
euralios_std/src/syscalls.rs:401
↓ 9 callers
Method
components
Produces an iterator over the [`Component`]s of the path. When parsing the path, there is a small amount of normalization: Repeated separators are i
euralios_std/src/path.rs:391
↓ 9 callers
Method
return_error_message
Modify a thread context, setting registers Note: Should only be applied to threads that will return from a syscall. If error != 0 then an error is s
kernel/src/process.rs:192
↓ 9 callers
Function
schedule_thread
Adds a thread to the front of the running queue so it will be scheduled next
kernel/src/process.rs:321
↓ 9 callers
Method
set_context
(&mut self, context_ptr: *mut Context)
kernel/src/process.rs:167
↓ 9 callers
Method
take
(&mut self)
euralios_std/src/syscalls.rs:25
↓ 9 callers
Function
take_current_thread
Takes ownership of the current Thread
kernel/src/process.rs:330
↓ 9 callers
Method
tid
Get the Thread ID
kernel/src/process.rs:153
↓ 8 callers
Method
as_os_str
Yields the underlying str slice.
euralios_std/src/path.rs:323
↓ 8 callers
Method
as_ptr
(&self)
euralios_std/src/syscalls.rs:118
↓ 8 callers
Function
init
Initialisation
kernel/src/lib.rs:29
↓ 8 callers
Function
new_rendezvous
()
kernel/src/process.rs:874
↓ 7 callers
Method
activate
(&self)
init/src/main.rs:68
↓ 7 callers
Method
allocate_frame
(&mut self)
kernel/src/memory/frame_allocator.rs:386
↓ 7 callers
Method
at
Return byte at given Cursor
edit/src/main.rs:108
↓ 7 callers
Method
fetch_frame
Allocate a frame, returning the frame number in this allocation region.
kernel/src/memory/frame_allocator.rs:193
↓ 7 callers
Function
hlt_loop
Energy-efficient endless loop
kernel/src/lib.rs:37
↓ 7 callers
Method
read
Read data starting at a given offset, storing in pre-allocated slice
euralios_std/src/server.rs:21
↓ 7 callers
Function
schedule_next
This is called by the timer interrupt handler Returns the stack containing the process state (interrupts::Context struct)
kernel/src/process.rs:707
↓ 7 callers
Method
take_rendezvous
Take the rendezvous, leaving handle empty (None)
kernel/src/process.rs:222
↓ 7 callers
Method
value
(&self)
euralios_std/src/message.rs:19
↓ 7 callers
Method
vfs
Get a clone of the VFS mount points
kernel/src/process.rs:282
↓ 6 callers
Function
exec
Execute a new process # Arguments `bin` - A slice containing ELF binary data `flags` - Permission flags `stdin` - The new process' STDIN commun
euralios_std/src/syscalls.rs:514
↓ 6 callers
Method
len
(&self)
ramdisk/src/main.rs:30
↓ 6 callers
Method
push
Extends `self` with `path`. If `path` is absolute, it replaces the current path. On Windows: if `path` has a root but no prefix (e.g., `\windows`),
euralios_std/src/path.rs:201
↓ 6 callers
Method
read_register
(&self, register: u8)
pci/src/device.rs:37
↓ 6 callers
Method
scroll_up
Move all characters from row to row-1 Fills the lowest row with the blank character
vga_driver/src/main.rs:119
↓ 6 callers
Function
spawn
Spawn a new thread with closure The spawned thread may outlive the caller, so all variables captured must be moved or have static lifetime. thread::
euralios_std/src/thread.rs:28
↓ 6 callers
Function
test_panic_handler
(info: &PanicInfo)
kernel/src/lib.rs:69
↓ 6 callers
Method
write
Write data starting at given offset
euralios_std/src/server.rs:25
↓ 5 callers
Method
as_str
(&self)
euralios_std/src/syscalls.rs:496
↓ 5 callers
Function
canonicalize
Returns the canonical, absolute form of a path with all intermediate components normalized and symbolic links resolved.
euralios_std/src/fs.rs:499
↓ 5 callers
Function
create_empty_pagetable
Create a new page table Returns ------- - A pointer to the PageTable (virtual address in kernel mapped pages) - The physical address which can be wr
kernel/src/memory.rs:111
↓ 5 callers
Method
give_rendezvous
Add a rendezvous to the process, returning the handle
kernel/src/process.rs:228
↓ 5 callers
Function
launch_thread
Run a thread by using `iret`
kernel/src/interrupts.rs:195
↓ 5 callers
Function
microseconds_monotonic
Monotonic count of he number of microseconds since restart Uses PIT interrupts to calibrate the TSC
kernel/src/time.rs:59
↓ 5 callers
Method
mount
Add a mount point to the VFS The path will have leading and trailing whitespace removed, and all trailing '/' characters removed. It is expected, th
kernel/src/vfs.rs:35
↓ 5 callers
Function
outportd
Write a double word (32 bits) to a port
euralios_std/src/ports.rs:25
↓ 5 callers
Method
parent
(&self)
euralios_std/src/path.rs:443
↓ 5 callers
Method
pop
Truncates `self` to [`self.parent`]. Returns `false` and does nothing if [`self.parent`] is [`None`]. Otherwise, returns `true`. [`self.parent`]: Pa
euralios_std/src/path.rs:239
↓ 5 callers
Method
rendezvous
Get a clone of a rendezvous handle if it exists
kernel/src/process.rs:213
↓ 5 callers
Function
switch_to_pagetable
Switch to the specified page table # Input physaddr Physical address of the L4 page table
kernel/src/memory.rs:206
↓ 4 callers
Function
active_pagetable_physaddr
()
kernel/src/memory.rs:220
↓ 4 callers
Method
address
Return PCI bus address
pci/src/device.rs:30
↓ 4 callers
Method
as_path
(&self)
euralios_std/src/path.rs:163
↓ 4 callers
Method
as_ref
(&self)
euralios_std/src/ffi.rs:221
↓ 4 callers
Method
as_ref
(&self)
euralios_std/src/path.rs:507
↓ 4 callers
Method
as_slice
(&self, length: usize)
euralios_std/src/syscalls.rs:94
↓ 4 callers
Method
as_u8
(self)
kernel/src/interrupts.rs:303
↓ 4 callers
Method
context_mut
Get a mutable reference to the thread Context
kernel/src/process.rs:163
↓ 4 callers
Function
create_dir
(path: P)
euralios_std/src/fs.rs:468
↓ 4 callers
Method
deallocate_frame
(&mut self, frame: PhysFrame)
kernel/src/memory/frame_allocator.rs:281
↓ 4 callers
Method
has_root
true if the path starts with '/'
euralios_std/src/path.rs:344
↓ 4 callers
Function
inportb
Read a byte from a port
euralios_std/src/ports.rs:35
↓ 4 callers
Method
join
(&self, path: P)
euralios_std/src/path.rs:494
↓ 4 callers
Function
mount
( path: &str, bin: &[u8], flags: u8, stdout: CommHandle)
init/src/main.rs:79
↓ 4 callers
Method
open
Open a path, returning a handle to read/write and the length of the string matched.
kernel/src/vfs.rs:57
↓ 4 callers
Method
return_message
Return a message to the thread
kernel/src/process.rs:208
↓ 4 callers
Method
rfind
Reverse find, starting from the given cursor If found, returns a Cursor pointing to the location, and the number of characters traversed
edit/src/main.rs:167
↓ 4 callers
Method
to_os_string
(&self)
euralios_std/src/ffi.rs:214
↓ 4 callers
Function
unique_id
Generate a unique number
kernel/src/process.rs:60
↓ 3 callers
Method
as_mut_slice
(&mut self, length: usize)
euralios_std/src/syscalls.rs:100
↓ 3 callers
Method
as_mut_vec
(&mut self)
euralios_std/src/path.rs:99
↓ 3 callers
Method
clear
(&mut self)
ramdisk/src/main.rs:48
↓ 3 callers
Function
current_dir
()
euralios_std/src/env.rs:98
↓ 3 callers
Function
dispatch_loop
Dispatch messages in a loop, returning when the communication handle is closed. This function handles common error messages, passing other messages to
euralios_std/src/server.rs:154
↓ 3 callers
Function
ephemeral_port_number
Returns a port number in the range 49152–65535. This implementation just uses a sequential allocation
tcp/src/main.rs:291
↓ 3 callers
Function
exit_qemu
(exit_code: QemuExitCode)
kernel/src/lib.rs:107
↓ 3 callers
Method
find
(&self, start: Cursor, pattern: u8)
edit/src/main.rs:144
↓ 3 callers
Function
get_page_chunk
Remove a page chunk from a page table Doesn't free any of the pages Returns physical address and level of the page table that it points to
kernel/src/memory.rs:551
↓ 3 callers
Function
handle_directory
Handle messages for a given directory # Arguments `directory` - The directory being viewed or modified `comm_handle` - Waits for messages on this Co
euralios_std/src/server.rs:317
↓ 3 callers
Method
include_cur_dir
Should the normalized path include a leading . ?
euralios_std/src/path.rs:753
↓ 3 callers
Method
is_relative
Returns true if the Path is relative, i.e., not absolute.
euralios_std/src/path.rs:355
↓ 3 callers
Method
is_sep_byte
(&self, b: u8)
euralios_std/src/path.rs:718
↓ 3 callers
Method
len_before_body
(&self)
euralios_std/src/path.rs:705
↓ 3 callers
Function
new_rendezvous
()
euralios_std/src/syscalls.rs:434
↓ 3 callers
Function
outportb
(ioaddr: u16, value: u8)
euralios_std/src/ports.rs:5
↓ 3 callers
Function
outportw
Write a word (16 bits) to a port
euralios_std/src/ports.rs:15
↓ 3 callers
Method
previous
(&self, cursor: Cursor)
edit/src/main.rs:132
↓ 3 callers
Method
read_to_end
Read all bytes until EOF in this source, placing them into buf
euralios_std/src/fs.rs:312
↓ 3 callers
Method
remove
Remove a path from the VFS
euralios_std/src/syscalls.rs:489
next →
1–100 of 458, ranked by callers