Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RWTH-OS/eduOS-rs
/ functions
Functions
288 in github.com/RWTH-OS/eduOS-rs
⨍
Functions
288
◇
Types & classes
80
↓ 1 callers
Function
main
don't mangle the name of this function
src/main.rs:35
↓ 1 callers
Method
map_page
Maps a single page to the given physical address. Returns whether an existing entry was updated. You can use this return value to flush TLBs. This is
src/arch/x86/mm/paging.rs:464
↓ 1 callers
Method
obtain_lock
(&self)
src/synch/mutex.rs:83
↓ 1 callers
Method
open
Attempts to open a file in read-write mode.
src/fs/mod.rs:141
↓ 1 callers
Method
pack
(self)
src/arch/x86/kernel/irq.rs:362
↓ 1 callers
Method
pop_with_prio
Pop the next task, which has a higher or the same priority as `prio`
src/scheduler/task.rs:119
↓ 1 callers
Function
read
(fd: FileDescriptor, buf: &mut [u8])
src/fd/mod.rs:74
↓ 1 callers
Method
read
`read` attempts to read `len` bytes from the object references by the descriptor
src/fd/mod.rs:39
↓ 1 callers
Method
read_to_end
Read all bytes until EOF in this source, placing them into buf.
src/io.rs:37
↓ 1 callers
Function
register_task
()
src/arch/x86/kernel/mod.rs:45
↓ 1 callers
Function
remove_io_interface
Remove a IO interface, which is named by the file descriptor
src/scheduler/mod.rs:91
↓ 1 callers
Method
remove_io_interface
(&self, fd: FileDescriptor)
src/scheduler/scheduler.rs:182
↓ 1 callers
Function
schedule
Timer interrupt call scheduler to switch to the next available task
src/scheduler/mod.rs:39
↓ 1 callers
Function
send_eoi_to_slave
()
src/arch/x86/kernel/irq.rs:62
↓ 1 callers
Function
set_kernel_stack
(stack: VirtAddr)
src/arch/x86/kernel/gdt.rs:186
↓ 1 callers
Function
set_root_page_table
(addr: PhysAddr)
src/scheduler/mod.rs:63
↓ 1 callers
Method
set_root_page_table
(&self, addr: PhysAddr)
src/scheduler/scheduler.rs:219
↓ 1 callers
Method
spawn
(&mut self, func: extern "C" fn(), prio: TaskPriority)
src/scheduler/scheduler.rs:59
↓ 1 callers
Function
supports_1gib_pages
()
src/arch/x86/kernel/processor.rs:70
↓ 1 callers
Function
switch
# Safety Only the scheduler itself should call this function to switch the context. `old_stack` is a pointer, where the address to the old stack is s
src/arch/x86/kernel/switch.rs:68
↓ 1 callers
Method
traverse_lsdir
(&self, mut tabs: String)
src/fs/vfs.rs:75
↓ 1 callers
Method
traverse_mkdir
(&mut self, components: &mut Vec<&str>)
src/fs/vfs.rs:55
↓ 1 callers
Method
traverse_mount
(&mut self, components: &mut Vec<&str>, slice: &'static [u8])
src/fs/vfs.rs:130
↓ 1 callers
Method
traverse_open
( &mut self, components: &mut Vec<&str>, flags: OpenOption, )
src/fs/vfs.rs:91
↓ 1 callers
Method
value
Returns the pointed address
src/mm/linked_list.rs:97
↓ 1 callers
Function
virtual_to_physical
Translate a virtual memory address to a physical one. Just like get_physical_address, but automatically uses the correct page size for the respective
src/arch/x86/mm/paging.rs:722
↓ 1 callers
Function
wakeup_task
(task: Rc<RefCell<Task>>)
src/scheduler/mod.rs:73
↓ 1 callers
Method
wakeup_task
(&mut self, task: Rc<RefCell<Task>>)
src/scheduler/scheduler.rs:143
↓ 1 callers
Method
write
`write` attempts to write `len` bytes to the object references by the descriptor
src/fd/mod.rs:45
↓ 1 callers
Method
write_all
Attempts to write an entire buffer into this writer.
src/io.rs:69
Function
_start
(boot_info: &'static bootloader::BootInfo)
src/arch/x86/kernel/start.rs:39
Function
add_element
()
src/mm/freelist.rs:142
Method
add_handler
( &mut self, int_no: usize, func: extern "x86-interrupt" fn(ExceptionStackFrame), )
src/arch/x86/kernel/irq.rs:428
Function
alignment_check_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:272
Method
alloc
Allocates memory as described by the given `layout`. Returns as result a pointer to newly-allocated memory, or an error, which describes the reason o
src/mm/buddy.rs:48
Function
allocate
(size: usize)
src/arch/x86/mm/physicalmem.rs:32
Function
allocate
()
src/mm/freelist.rs:160
Function
allocate_aligned
(size: usize, alignment: usize)
src/arch/x86/mm/physicalmem.rs:51
Function
bad_tss_exception
(stack_frame: ExceptionStackFrame, error_code: u64)
src/arch/x86/kernel/irq.rs:209
Method
bottom
(&self)
src/scheduler/task.rs:166
Method
bump
(&self)
src/synch/spinlock.rs:65
Method
create
Attempts to create a file in read-write mode.
src/fs/mod.rs:131
Function
create_user_foo
()
src/main.rs:16
Method
dealloc
Deallocates the block of memory at the given `ptr` pointer with the given layout.
src/mm/buddy.rs:89
Function
deallocate
(physical_address: PhysAddr, size: usize)
src/arch/x86/mm/physicalmem.rs:78
Function
deallocate
()
src/mm/freelist.rs:193
Function
debug_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:105
Method
default
()
src/scheduler/task.rs:147
Method
default
()
src/synch/mutex.rs:111
Method
default
()
src/syscall/mod.rs:64
Method
device
(&mut self)
src/arch/x86/mm/paging.rs:79
Function
divide_by_zero_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:95
Function
double_fault_exception
( stack_frame: ExceptionStackFrame, error_code: u64, )
src/arch/x86/kernel/irq.rs:177
Method
drop
(&mut self)
src/scheduler/mod.rs:115
Method
drop
(&mut self)
src/scheduler/task.rs:241
Method
drop
The dropping of the MutexGuard will release the lock it was created from.
src/synch/mutex.rs:131
Method
drop
(&mut self)
src/fs/mod.rs:169
Method
execute_disable
(&mut self)
src/arch/x86/mm/paging.rs:99
Function
floating_point_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:262
Method
fmt
(&self, f: &mut fmt::Formatter)
src/errno.rs:20
Method
fmt
(&self, f: &mut fmt::Formatter)
src/arch/x86/kernel/irq.rs:704
Method
fmt
(&self, f: &mut fmt::Formatter)
src/scheduler/task.rs:44
Method
fmt
Print all elements of the lists
src/mm/buddy.rs:132
Function
foo
()
src/main.rs:27
Method
from
(x: TaskStateSegment)
src/arch/x86/kernel/gdt.rs:49
Method
from
(x: u32)
src/scheduler/task.rs:38
Method
fstat
(&self)
src/fs/vfs.rs:231
Function
general_protection_exception
( stack_frame: ExceptionStackFrame, error_code: u64, )
src/arch/x86/kernel/irq.rs:242
Function
get_current_taskid
Get the TaskID of the current running task
src/scheduler/mod.rs:98
Method
get_handle
(&self, _opt: OpenOption)
src/fs/initrd.rs:28
Method
get_kind
Returns the node type
src/fs/vfs.rs:49
Function
get_linear_address_bits
()
src/arch/x86/kernel/processor.rs:74
Function
get_memory_size
()
src/arch/x86/mm/mod.rs:128
Function
get_page_range
(virtual_address: VirtAddr, count: usize)
src/arch/x86/mm/paging.rs:690
Function
get_page_table_entry
( virtual_address: VirtAddr, )
src/arch/x86/mm/paging.rs:697
Function
get_physical_address
(virtual_address: VirtAddr)
src/arch/x86/mm/paging.rs:707
Function
get_physical_address_bits
()
src/arch/x86/kernel/processor.rs:78
Method
including_address
Returns a Page including the given virtual address. That means, the address is rounded down to a page size boundary.
src/arch/x86/mm/paging.rs:266
Function
init
()
src/arch/x86/mm/virtualmem.rs:21
Function
init
()
src/arch/x86/mm/mod.rs:155
Function
init
()
src/arch/x86/mm/paging.rs:833
Function
init
()
src/arch/x86/mm/physicalmem.rs:11
Function
init
()
src/arch/x86/kernel/processor.rs:82
Function
init
()
src/arch/x86/kernel/irq.rs:670
Function
init
Initialize module, must be called once, and only once
src/arch/x86/kernel/mod.rs:254
Function
init
initialize the Programmable Interrupt Controller (PIC)
src/arch/x86/kernel/pit.rs:19
Function
init
This will setup the special GDT pointer, set up the entries in our GDT, and then finally to load the new GDT and to update the new segment registers
src/arch/x86/kernel/gdt.rs:58
Function
init
Initialize module, must be called once, and only once
src/scheduler/mod.rs:20
Function
init
()
src/mm/mod.rs:13
Function
init
()
src/fs/mod.rs:174
Function
int0_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:135
Function
int3_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:125
Method
interrupt_bottom
(&self)
src/arch/x86/mm/mod.rs:70
Method
interrupt_bottom
(&self)
src/scheduler/task.rs:174
Method
into_inner
Consumes this mutex, returning the underlying data.
src/synch/mutex.rs:74
Function
invalid_opcode_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:155
Function
invalid_syscall
(sys_no: u64)
src/syscall/invalid.rs:5
Method
is_huge
(&self)
src/arch/x86/mm/paging.rs:128
Function
is_kernel
(addr: VirtAddr)
src/arch/x86/mm/mod.rs:104
Method
is_locked
(&self)
src/synch/spinlock.rs:52
← previous
next →
101–200 of 288, ranked by callers