MCPcopy Create free account

hub / github.com/bendudson/EuraliOS / functions

Functions458 in github.com/bendudson/EuraliOS

↓ 1 callersFunctionget_env
()
euralios_std/src/lib.rs:56
↓ 1 callersMethodget_file
(&self, _name: &str)
pci/src/main.rs:34
↓ 1 callersFunctionget_mut
()
kernel/src/memory/kernel_info.rs:52
↓ 1 callersFunctiongopher
(host: &str, selector: &str)
gopher/src/main.rs:14
↓ 1 callersFunctionhandle_file_readonly
Serve messages received from a communication channel Only allow reading from the file
euralios_std/src/server.rs:264
↓ 1 callersFunctionhelp
()
shell/src/main.rs:63
↓ 1 callersFunctioninit
(heap_start: usize, heap_size: usize)
euralios_std/src/memory.rs:8
↓ 1 callersFunctioninit_heap
( mapper: &mut impl Mapper<Size4KiB>, frame_allocator: &mut impl FrameAllocator<Size4KiB>, )
kernel/src/memory/allocator.rs:21
↓ 1 callersFunctioninit_idt
()
kernel/src/interrupts.rs:36
↓ 1 callersFunctioninit_test_idt
()
kernel/tests/stack_overflow.rs:64
↓ 1 callersFunctioninportd
(ioaddr: u16)
euralios_std/src/ports.rs:58
↓ 1 callersMethodis_file
Returns true if this metadata is for a regular file.
euralios_std/src/fs.rs:345
↓ 1 callersMethodis_response
(&self)
tcp/src/dns.rs:111
↓ 1 callersFunctionis_sep_byte
(b: u8)
euralios_std/src/sys.rs:7
↓ 1 callersFunctionkernel_info
Get a reference to the KernelInfo struct
euralios_std/src/time.rs:30
↓ 1 callersFunctionlaunch
Launch a thread by calling the low-level syscalls
euralios_std/src/thread.rs:38
↓ 1 callersFunctionlist_mounts
()
euralios_std/src/syscalls.rs:600
↓ 1 callersFunctionls
List a directory
shell/src/main.rs:85
↓ 1 callersMethodmac_address
Read the Media Access Control (MAC) address from the network card.
rtl8139/src/main.rs:251
↓ 1 callersFunctionmain
()
euralios_std/tests/system_test.rs:10
↓ 1 callersMethodmake_dir
Create a new subdirectory, returning a shared reference
euralios_std/src/server.rs:43
↓ 1 callersMethodmake_file
Create a new file, returning a shared reference
euralios_std/src/server.rs:48
↓ 1 callersMethodmetadata
Returns the metadata for the file that this entry points at.
euralios_std/src/fs.rs:378
↓ 1 callersFunctionmkdir
Make a directory
shell/src/main.rs:139
↓ 1 callersFunctionnew_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 callersFunctionnum_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 callersMethodopen
Opens a file at `path` with the options specified by `self`.
euralios_std/src/fs.rs:167
↓ 1 callersFunctionopen_path
Open the given path Returns either a Rendezvous handle and path match length, or an error
kernel/src/process.rs:753
↓ 1 callersFunctionopen_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 callersFunctionopen_socket
Open a socket and wait in a loop for messages on given handle
tcp/src/main.rs:299
↓ 1 callersFunctionpit_interrupt_notify
This function is called by the timer interrupt handler
kernel/src/time.rs:36
↓ 1 callersFunctionput_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 callersMethodrcode
(&self)
tcp/src/dns.rs:115
↓ 1 callersMethodreceive
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 callersMethodreceive_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 callersFunctionremove_file
Delete a file
euralios_std/src/fs.rs:439
↓ 1 callersMethodremove_file
Lookup and remove file, returning the shared reference
euralios_std/src/server.rs:56
↓ 1 callersMethodreset
Perform a software reset Note: Comments from the OSDev wiki <https://wiki.osdev.org/RTL8139>
rtl8139/src/main.rs:192
↓ 1 callersFunctionresolve
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 callersFunctionrm
Delete a file
shell/src/main.rs:124
↓ 1 callersMethodrun
(&self)
euralios_std/src/lib.rs:115
↓ 1 callersMethodrun
(&self)
euralios_std/tests/system_test.rs:35
↓ 1 callersMethodrun
(&self)
kernel/src/lib.rs:54
↓ 1 callersMethodsave
Save contents of File to given path
edit/src/main.rs:90
↓ 1 callersMethodsend_packet
Send a packet to the device handle should point to memory containing - length : u16 - data : [u8; length]
rtl8139/src/main.rs:319
↓ 1 callersFunctionsend_receive
Send a message and wait for a message back from the same thread
euralios_std/src/syscalls.rs:304
↓ 1 callersMethodsend_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 callersFunctionset_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 callersFunctionset_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 callersFunctionspecial_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 callersFunctionstack_overflow
()
kernel/tests/stack_overflow.rs:21
↓ 1 callersFunctionswitch_to_kernel_pagetable
()
kernel/src/memory.rs:213
↓ 1 callersFunctionsys_await_interrupt
(context_ptr: *mut Context, _interrupt_number: u64)
kernel/src/syscalls.rs:939
↓ 1 callersFunctionsys_close
(context_ptr: *mut Context, handle: u64)
kernel/src/syscalls.rs:912
↓ 1 callersFunctionsys_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 callersFunctionsys_debug_write
(ptr: *const u8, len:usize)
kernel/src/syscalls.rs:315
↓ 1 callersFunctionsys_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 callersFunctionsys_free
Free a memory chunk containing the given virtual address
kernel/src/syscalls.rs:505
↓ 1 callersFunctionsys_listmounts
Get a list of mounted paths in a memory handle
kernel/src/syscalls.rs:839
↓ 1 callersFunctionsys_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 callersFunctionsys_mount
( context_ptr: *mut Context, syscall_id: u64, path_ptr: *const u8, path_len: u64)
kernel/src/syscalls.rs:798
↓ 1 callersFunctionsys_new_rendezvous
Create a new pair of Rendezvous handles
kernel/src/syscalls.rs:528
↓ 1 callersFunctionsys_open
( context_ptr: *mut Context, ptr: *const u8, len: usize)
kernel/src/syscalls.rs:442
↓ 1 callersFunctionsys_receive
(context_ptr: *mut Context, handle: u64)
kernel/src/syscalls.rs:329
↓ 1 callersFunctionsys_umount
Remove a mount point. Most of this code is the same as `sys_mount`
kernel/src/syscalls.rs:882
↓ 1 callersFunctionsys_yield
Yield to another process
kernel/src/syscalls.rs:522
↓ 1 callersFunctionthread_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 callersFunctiontime_stamp_counter
()
euralios_std/src/time.rs:5
↓ 1 callersMethodto_json
Return a list of mount points as a JSON string
kernel/src/vfs.rs:90
↓ 1 callersMethodto_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 callersMethodtrim_left
trim away repeated separators (i.e., empty components) on the left
euralios_std/src/path.rs:801
↓ 1 callersMethodtrim_right
trim away repeated separators (i.e., empty components) on the right
euralios_std/src/path.rs:813
↓ 1 callersFunctionumount
Unmount a path
shell/src/main.rs:112
↓ 1 callersFunctionvar
(key: &str)
euralios_std/src/env.rs:67
↓ 1 callersFunctionwith_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 callersMethodwrite_register
(&self, register: u8, value: u32)
pci/src/device.rs:44
↓ 1 callersMethodwrite_string
(&mut self, s: &str)
kernel/src/vga_buffer.rs:100
↓ 1 callersFunctionwriter_handler
( writer: Arc<RwLock<Writer<Text80x25>>>, comm_handle: CommHandle)
vga_driver/src/main.rs:513
FunctionOsStr_to_os_string
()
euralios_std/src/ffi.rs:326
FunctionOsStr_to_str
()
euralios_std/src/ffi.rs:320
FunctionOsString_capacity
()
euralios_std/src/ffi.rs:350
FunctionOsString_push
()
euralios_std/src/ffi.rs:343
FunctionOsString_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
Functionalloc_error_handler
(layout: alloc::alloc::Layout)
euralios_std/src/memory.rs:14
Functionalloc_error_handler
(layout: alloc::alloc::Layout)
kernel/src/lib.rs:118
Functionallocate_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
Methodappend
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
Methodas_mut_ref
Get a mutable reference with lifetime tied to MemoryHandle
euralios_std/src/syscalls.rs:128
Methodas_usize
(self)
kernel/src/interrupts.rs:307
Functionawait_interrupt
Wait for a hardware interrupt to occur
euralios_std/src/syscalls.rs:642
Methodborrow
(&self)
euralios_std/src/path.rs:266
Functionbreakpoint_handler
( stack_frame: InterruptStackFrame)
kernel/src/interrupts.rs:227
Methodbytes
Return the address as an array of bytes
euralios_std/src/net.rs:20
← previousnext →201–300 of 458, ranked by callers