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
↓ 1 callers
Function
get_env
()
euralios_std/src/lib.rs:56
↓ 1 callers
Method
get_file
(&self, _name: &str)
pci/src/main.rs:34
↓ 1 callers
Function
get_mut
()
kernel/src/memory/kernel_info.rs:52
↓ 1 callers
Function
gopher
(host: &str, selector: &str)
gopher/src/main.rs:14
↓ 1 callers
Function
handle_file_readonly
Serve messages received from a communication channel Only allow reading from the file
euralios_std/src/server.rs:264
↓ 1 callers
Function
help
()
shell/src/main.rs:63
↓ 1 callers
Function
init
(heap_start: usize, heap_size: usize)
euralios_std/src/memory.rs:8
↓ 1 callers
Function
init_heap
( mapper: &mut impl Mapper<Size4KiB>, frame_allocator: &mut impl FrameAllocator<Size4KiB>, )
kernel/src/memory/allocator.rs:21
↓ 1 callers
Function
init_idt
()
kernel/src/interrupts.rs:36
↓ 1 callers
Function
init_test_idt
()
kernel/tests/stack_overflow.rs:64
↓ 1 callers
Function
inportd
(ioaddr: u16)
euralios_std/src/ports.rs:58
↓ 1 callers
Method
is_file
Returns true if this metadata is for a regular file.
euralios_std/src/fs.rs:345
↓ 1 callers
Method
is_response
(&self)
tcp/src/dns.rs:111
↓ 1 callers
Function
is_sep_byte
(b: u8)
euralios_std/src/sys.rs:7
↓ 1 callers
Function
kernel_info
Get a reference to the KernelInfo struct
euralios_std/src/time.rs:30
↓ 1 callers
Function
launch
Launch a thread by calling the low-level syscalls
euralios_std/src/thread.rs:38
↓ 1 callers
Function
list_mounts
()
euralios_std/src/syscalls.rs:600
↓ 1 callers
Function
ls
List a directory
shell/src/main.rs:85
↓ 1 callers
Method
mac_address
Read the Media Access Control (MAC) address from the network card.
rtl8139/src/main.rs:251
↓ 1 callers
Function
main
()
euralios_std/tests/system_test.rs:10
↓ 1 callers
Method
make_dir
Create a new subdirectory, returning a shared reference
euralios_std/src/server.rs:43
↓ 1 callers
Method
make_file
Create a new file, returning a shared reference
euralios_std/src/server.rs:48
↓ 1 callers
Method
metadata
Returns the metadata for the file that this entry points at.
euralios_std/src/fs.rs:378
↓ 1 callers
Function
mkdir
Make a directory
shell/src/main.rs:139
↓ 1 callers
Function
new_kernel_thread
Start a new kernel thread by adding it to the process table. This won't run immediately, but will run when the scheduler next switches to it. Inputs
kernel/src/process.rs:362
↓ 1 callers
Function
num_levels_needed
Calculate the number of bitmap levels needed Bitmaps are in chunks of 32, so each level multiplies the maximum number of frames by 32.
kernel/src/memory/frame_allocator.rs:42
↓ 1 callers
Method
open
Opens a file at `path` with the options specified by `self`.
euralios_std/src/fs.rs:167
↓ 1 callers
Function
open_path
Open the given path Returns either a Rendezvous handle and path match length, or an error
kernel/src/process.rs:753
↓ 1 callers
Function
open_path
Open a path from the root, returning a communication handle Note: This function spawns a thread which will then attempt to open the socket. It is pos
tcp/src/main.rs:244
↓ 1 callers
Function
open_socket
Open a socket and wait in a loop for messages on given handle
tcp/src/main.rs:299
↓ 1 callers
Function
pit_interrupt_notify
This function is called by the timer interrupt handler
kernel/src/time.rs:36
↓ 1 callers
Function
put_page_chunk
Finds an available page chunk entry, stores the physical address in the page table and returns the virtual address.
kernel/src/memory.rs:603
↓ 1 callers
Method
rcode
(&self)
tcp/src/dns.rs:115
↓ 1 callers
Method
receive
Blocking receive a message 1. Empty -> Receiving, return (None, None) 2. Sending -> Empty, return (receiving thread, sending thread) 3. Receiving ->
kernel/src/rendezvous.rs:105
↓ 1 callers
Method
receive_packet
Read a packet Rx buffer, when not empty, will contain: [header (2 bytes)] [length (2 bytes)] [packet (length - 4 bytes)] [crc
rtl8139/src/main.rs:269
↓ 1 callers
Function
remove_file
Delete a file
euralios_std/src/fs.rs:439
↓ 1 callers
Method
remove_file
Lookup and remove file, returning the shared reference
euralios_std/src/server.rs:56
↓ 1 callers
Method
reset
Perform a software reset Note: Comments from the OSDev wiki <https://wiki.osdev.org/RTL8139>
rtl8139/src/main.rs:192
↓ 1 callers
Function
resolve
Find the IP address of a given host name Uses CACHE to store previous lookups, and uses the DNS server last added to SERVERS.
tcp/src/dns.rs:150
↓ 1 callers
Function
rm
Delete a file
shell/src/main.rs:124
↓ 1 callers
Method
run
(&self)
euralios_std/src/lib.rs:115
↓ 1 callers
Method
run
(&self)
euralios_std/tests/system_test.rs:35
↓ 1 callers
Method
run
(&self)
kernel/src/lib.rs:54
↓ 1 callers
Method
save
Save contents of File to given path
edit/src/main.rs:90
↓ 1 callers
Method
send_packet
Send a packet to the device handle should point to memory containing - length : u16 - data : [u8; length]
rtl8139/src/main.rs:319
↓ 1 callers
Function
send_receive
Send a message and wait for a message back from the same thread
euralios_std/src/syscalls.rs:304
↓ 1 callers
Method
send_receive
Send a message and block on receive from the same thread When a Rendezvous is shared between multiple threads, for example a server, this ensures tha
kernel/src/rendezvous.rs:153
↓ 1 callers
Function
set_interrupt_stack_table
Set the interrupt stack table entry to a given virtual address This is called to set the kernel stack of the current process
kernel/src/gdt.rs:84
↓ 1 callers
Function
set_ipv4_addr
Set the IPv4 address of an interface This function from: <https://github.com/smoltcp-rs/smoltcp/blob/master/examples/dhcp_client.rs#L97>
tcp/src/dhcp.rs:61
↓ 1 callers
Function
special_memory_chunk
A memory chunk which maps a specific range of physical memory No frame allocation, so assumes that the physical memory is ok to use. # Arguments `t
kernel/src/process.rs:841
↓ 1 callers
Function
stack_overflow
()
kernel/tests/stack_overflow.rs:21
↓ 1 callers
Function
switch_to_kernel_pagetable
()
kernel/src/memory.rs:213
↓ 1 callers
Function
sys_await_interrupt
(context_ptr: *mut Context, _interrupt_number: u64)
kernel/src/syscalls.rs:939
↓ 1 callers
Function
sys_close
(context_ptr: *mut Context, handle: u64)
kernel/src/syscalls.rs:912
↓ 1 callers
Function
sys_copy_rendezvous
Make a copy of a Rendezvous Takes handle as first argument (syscall RDI) Returns new handle in RDI
kernel/src/syscalls.rs:547
↓ 1 callers
Function
sys_debug_write
(ptr: *const u8, len:usize)
kernel/src/syscalls.rs:315
↓ 1 callers
Function
sys_exec
Create a new process # Input - Pointer to ELF binary data (Arg1, syscall RDI) - Length of ELF binary data (high 32 bits of syscall_id) - STDIN & ST
kernel/src/syscalls.rs:582
↓ 1 callers
Function
sys_free
Free a memory chunk containing the given virtual address
kernel/src/syscalls.rs:505
↓ 1 callers
Function
sys_listmounts
Get a list of mounted paths in a memory handle
kernel/src/syscalls.rs:839
↓ 1 callers
Function
sys_malloc
Allocates a chunk of memory Returns - handle in RDI - starting virtual address in RSI - starting physical address in RDX
kernel/src/syscalls.rs:480
↓ 1 callers
Function
sys_mount
( context_ptr: *mut Context, syscall_id: u64, path_ptr: *const u8, path_len: u64)
kernel/src/syscalls.rs:798
↓ 1 callers
Function
sys_new_rendezvous
Create a new pair of Rendezvous handles
kernel/src/syscalls.rs:528
↓ 1 callers
Function
sys_open
( context_ptr: *mut Context, ptr: *const u8, len: usize)
kernel/src/syscalls.rs:442
↓ 1 callers
Function
sys_receive
(context_ptr: *mut Context, handle: u64)
kernel/src/syscalls.rs:329
↓ 1 callers
Function
sys_umount
Remove a mount point. Most of this code is the same as `sys_mount`
kernel/src/syscalls.rs:882
↓ 1 callers
Function
sys_yield
Yield to another process
kernel/src/syscalls.rs:522
↓ 1 callers
Function
thread_spawn
Spawn a new thread with a given entry point # Returns Ok(thread_id) or Err(error_code)
euralios_std/src/syscalls.rs:178
↓ 1 callers
Function
time_stamp_counter
()
euralios_std/src/time.rs:5
↓ 1 callers
Method
to_json
Return a list of mount points as a JSON string
kernel/src/vfs.rs:90
↓ 1 callers
Method
to_values
Convert a Message into values which will be returned to user code by the receive or send_receive syscalls. Includes moving Rendezvous and memory chun
kernel/src/message.rs:85
↓ 1 callers
Method
trim_left
trim away repeated separators (i.e., empty components) on the left
euralios_std/src/path.rs:801
↓ 1 callers
Method
trim_right
trim away repeated separators (i.e., empty components) on the right
euralios_std/src/path.rs:813
↓ 1 callers
Function
umount
Unmount a path
shell/src/main.rs:112
↓ 1 callers
Function
var
(key: &str)
euralios_std/src/env.rs:67
↓ 1 callers
Function
with_pagetable
Wrapper which runs a closure with a specified page table Ensures that the original page table is restored after the closure finishes.
kernel/src/process.rs:426
↓ 1 callers
Method
write_register
(&self, register: u8, value: u32)
pci/src/device.rs:44
↓ 1 callers
Method
write_string
(&mut self, s: &str)
kernel/src/vga_buffer.rs:100
↓ 1 callers
Function
writer_handler
( writer: Arc<RwLock<Writer<Text80x25>>>, comm_handle: CommHandle)
vga_driver/src/main.rs:513
Function
OsStr_to_os_string
()
euralios_std/src/ffi.rs:326
Function
OsStr_to_str
()
euralios_std/src/ffi.rs:320
Function
OsString_capacity
()
euralios_std/src/ffi.rs:350
Function
OsString_push
()
euralios_std/src/ffi.rs:343
Function
OsString_with_capacity
()
euralios_std/src/ffi.rs:333
Function
_print
(args: fmt::Arguments)
euralios_std/src/debug.rs:20
Function
_print
(handle: &CommHandle, args: fmt::Arguments)
euralios_std/src/io.rs:29
Function
_print
(args: ::core::fmt::Arguments)
kernel/src/serial.rs:14
Function
_print
(args: fmt::Arguments)
kernel/src/vga_buffer.rs:147
Function
_start
()
euralios_std/src/lib.rs:61
Function
_start
don't mangle the name of this function
kernel/tests/basic_boot.rs:11
Function
_start
()
kernel/tests/stack_overflow.rs:8
Function
alloc_error_handler
(layout: alloc::alloc::Layout)
euralios_std/src/memory.rs:14
Function
alloc_error_handler
(layout: alloc::alloc::Layout)
kernel/src/lib.rs:118
Function
allocate_active_pages
Allocate pages in the active page table Inputs ------ start_addr Virtual address in the first page size Size of the region in bytes. flags
kernel/src/memory.rs:300
Method
append
Sets the option for the append mode. This option, when true, means that writes will append to a file instead of overwriting previous contents. Note t
euralios_std/src/fs.rs:121
Method
as_mut_ref
Get a mutable reference with lifetime tied to MemoryHandle
euralios_std/src/syscalls.rs:128
Method
as_usize
(self)
kernel/src/interrupts.rs:307
Function
await_interrupt
Wait for a hardware interrupt to occur
euralios_std/src/syscalls.rs:642
Method
borrow
(&self)
euralios_std/src/path.rs:266
Function
breakpoint_handler
( stack_frame: InterruptStackFrame)
kernel/src/interrupts.rs:227
Method
bytes
Return the address as an array of bytes
euralios_std/src/net.rs:20
← previous
next →
201–300 of 458, ranked by callers