MCPcopy Create free account

hub / github.com/bendudson/EuraliOS / functions

Functions458 in github.com/bendudson/EuraliOS

↓ 80 callersMethodlen
(&self)
edit/src/main.rs:19
↓ 60 callersFunctionsend
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 callersMethodpush
(&mut self, s: T)
euralios_std/src/ffi.rs:87
↓ 46 callersMethodwrite
Write to Address and Data ports
pci/src/ports.rs:13
↓ 44 callersMethodclone
Makes a copy of a communication handle
euralios_std/src/syscalls.rs:51
↓ 43 callersMethodas_u64
(&self)
euralios_std/src/net.rs:35
↓ 32 callersMethoditer
(&self)
euralios_std/src/path.rs:421
↓ 30 callersMethodas_ref
Get a reference with lifetime tied to MemoryHandle
euralios_std/src/syscalls.rs:123
↓ 24 callersMethodnext
(&self, cursor: Cursor)
edit/src/main.rs:120
↓ 23 callersMethodas_mut_ptr
(&mut self)
euralios_std/src/syscalls.rs:132
↓ 23 callersMethodbytes
(&self)
euralios_std/src/ffi.rs:196
↓ 22 callersMethodread
Write to Address port, read from Data port Note: Mutates ports values so needs mut self
pci/src/ports.rs:29
↓ 22 callersFunctionset_current_thread
Makes the given thread the current thread If another thread was running schedule it
kernel/src/process.rs:336
↓ 21 callersFunctionthread_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 callersMethodreturn_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 callersFunctionopen
(path: T, flags: u64)
euralios_std/src/syscalls.rs:348
↓ 17 callersFunctionrcall
Remote call. Wrapper around send_receive syscall
euralios_std/src/message.rs:165
↓ 15 callersFunctionreceive
Wait for a message to be received
euralios_std/src/syscalls.rs:237
↓ 13 callersMethodinsert
(&mut self, device: Device)
pci/src/main.rs:67
↓ 11 callersFunctionmalloc
( num_bytes: u64, max_physaddr: u64 )
euralios_std/src/syscalls.rs:401
↓ 9 callersMethodcomponents
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 callersMethodreturn_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 callersFunctionschedule_thread
Adds a thread to the front of the running queue so it will be scheduled next
kernel/src/process.rs:321
↓ 9 callersMethodset_context
(&mut self, context_ptr: *mut Context)
kernel/src/process.rs:167
↓ 9 callersMethodtake
(&mut self)
euralios_std/src/syscalls.rs:25
↓ 9 callersFunctiontake_current_thread
Takes ownership of the current Thread
kernel/src/process.rs:330
↓ 9 callersMethodtid
Get the Thread ID
kernel/src/process.rs:153
↓ 8 callersMethodas_os_str
Yields the underlying str slice.
euralios_std/src/path.rs:323
↓ 8 callersMethodas_ptr
(&self)
euralios_std/src/syscalls.rs:118
↓ 8 callersFunctioninit
Initialisation
kernel/src/lib.rs:29
↓ 8 callersFunctionnew_rendezvous
()
kernel/src/process.rs:874
↓ 7 callersMethodactivate
(&self)
init/src/main.rs:68
↓ 7 callersMethodallocate_frame
(&mut self)
kernel/src/memory/frame_allocator.rs:386
↓ 7 callersMethodat
Return byte at given Cursor
edit/src/main.rs:108
↓ 7 callersMethodfetch_frame
Allocate a frame, returning the frame number in this allocation region.
kernel/src/memory/frame_allocator.rs:193
↓ 7 callersFunctionhlt_loop
Energy-efficient endless loop
kernel/src/lib.rs:37
↓ 7 callersMethodread
Read data starting at a given offset, storing in pre-allocated slice
euralios_std/src/server.rs:21
↓ 7 callersFunctionschedule_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 callersMethodtake_rendezvous
Take the rendezvous, leaving handle empty (None)
kernel/src/process.rs:222
↓ 7 callersMethodvalue
(&self)
euralios_std/src/message.rs:19
↓ 7 callersMethodvfs
Get a clone of the VFS mount points
kernel/src/process.rs:282
↓ 6 callersFunctionexec
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 callersMethodlen
(&self)
ramdisk/src/main.rs:30
↓ 6 callersMethodpush
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 callersMethodread_register
(&self, register: u8)
pci/src/device.rs:37
↓ 6 callersMethodscroll_up
Move all characters from row to row-1 Fills the lowest row with the blank character
vga_driver/src/main.rs:119
↓ 6 callersFunctionspawn
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 callersFunctiontest_panic_handler
(info: &PanicInfo)
kernel/src/lib.rs:69
↓ 6 callersMethodwrite
Write data starting at given offset
euralios_std/src/server.rs:25
↓ 5 callersMethodas_str
(&self)
euralios_std/src/syscalls.rs:496
↓ 5 callersFunctioncanonicalize
Returns the canonical, absolute form of a path with all intermediate components normalized and symbolic links resolved.
euralios_std/src/fs.rs:499
↓ 5 callersFunctioncreate_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 callersMethodgive_rendezvous
Add a rendezvous to the process, returning the handle
kernel/src/process.rs:228
↓ 5 callersFunctionlaunch_thread
Run a thread by using `iret`
kernel/src/interrupts.rs:195
↓ 5 callersFunctionmicroseconds_monotonic
Monotonic count of he number of microseconds since restart Uses PIT interrupts to calibrate the TSC
kernel/src/time.rs:59
↓ 5 callersMethodmount
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 callersFunctionoutportd
Write a double word (32 bits) to a port
euralios_std/src/ports.rs:25
↓ 5 callersMethodparent
(&self)
euralios_std/src/path.rs:443
↓ 5 callersMethodpop
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 callersMethodrendezvous
Get a clone of a rendezvous handle if it exists
kernel/src/process.rs:213
↓ 5 callersFunctionswitch_to_pagetable
Switch to the specified page table # Input physaddr Physical address of the L4 page table
kernel/src/memory.rs:206
↓ 4 callersFunctionactive_pagetable_physaddr
()
kernel/src/memory.rs:220
↓ 4 callersMethodaddress
Return PCI bus address
pci/src/device.rs:30
↓ 4 callersMethodas_path
(&self)
euralios_std/src/path.rs:163
↓ 4 callersMethodas_ref
(&self)
euralios_std/src/ffi.rs:221
↓ 4 callersMethodas_ref
(&self)
euralios_std/src/path.rs:507
↓ 4 callersMethodas_slice
(&self, length: usize)
euralios_std/src/syscalls.rs:94
↓ 4 callersMethodas_u8
(self)
kernel/src/interrupts.rs:303
↓ 4 callersMethodcontext_mut
Get a mutable reference to the thread Context
kernel/src/process.rs:163
↓ 4 callersFunctioncreate_dir
(path: P)
euralios_std/src/fs.rs:468
↓ 4 callersMethoddeallocate_frame
(&mut self, frame: PhysFrame)
kernel/src/memory/frame_allocator.rs:281
↓ 4 callersMethodhas_root
true if the path starts with '/'
euralios_std/src/path.rs:344
↓ 4 callersFunctioninportb
Read a byte from a port
euralios_std/src/ports.rs:35
↓ 4 callersMethodjoin
(&self, path: P)
euralios_std/src/path.rs:494
↓ 4 callersFunctionmount
( path: &str, bin: &[u8], flags: u8, stdout: CommHandle)
init/src/main.rs:79
↓ 4 callersMethodopen
Open a path, returning a handle to read/write and the length of the string matched.
kernel/src/vfs.rs:57
↓ 4 callersMethodreturn_message
Return a message to the thread
kernel/src/process.rs:208
↓ 4 callersMethodrfind
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 callersMethodto_os_string
(&self)
euralios_std/src/ffi.rs:214
↓ 4 callersFunctionunique_id
Generate a unique number
kernel/src/process.rs:60
↓ 3 callersMethodas_mut_slice
(&mut self, length: usize)
euralios_std/src/syscalls.rs:100
↓ 3 callersMethodas_mut_vec
(&mut self)
euralios_std/src/path.rs:99
↓ 3 callersMethodclear
(&mut self)
ramdisk/src/main.rs:48
↓ 3 callersFunctioncurrent_dir
()
euralios_std/src/env.rs:98
↓ 3 callersFunctiondispatch_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 callersFunctionephemeral_port_number
Returns a port number in the range 49152–65535. This implementation just uses a sequential allocation
tcp/src/main.rs:291
↓ 3 callersFunctionexit_qemu
(exit_code: QemuExitCode)
kernel/src/lib.rs:107
↓ 3 callersMethodfind
(&self, start: Cursor, pattern: u8)
edit/src/main.rs:144
↓ 3 callersFunctionget_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 callersFunctionhandle_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 callersMethodinclude_cur_dir
Should the normalized path include a leading . ?
euralios_std/src/path.rs:753
↓ 3 callersMethodis_relative
Returns true if the Path is relative, i.e., not absolute.
euralios_std/src/path.rs:355
↓ 3 callersMethodis_sep_byte
(&self, b: u8)
euralios_std/src/path.rs:718
↓ 3 callersMethodlen_before_body
(&self)
euralios_std/src/path.rs:705
↓ 3 callersFunctionnew_rendezvous
()
euralios_std/src/syscalls.rs:434
↓ 3 callersFunctionoutportb
(ioaddr: u16, value: u8)
euralios_std/src/ports.rs:5
↓ 3 callersFunctionoutportw
Write a word (16 bits) to a port
euralios_std/src/ports.rs:15
↓ 3 callersMethodprevious
(&self, cursor: Cursor)
edit/src/main.rs:132
↓ 3 callersMethodread_to_end
Read all bytes until EOF in this source, placing them into buf
euralios_std/src/fs.rs:312
↓ 3 callersMethodremove
Remove a path from the VFS
euralios_std/src/syscalls.rs:489
next →1–100 of 458, ranked by callers