MCPcopy Create free account

hub / github.com/RWTH-OS/eduOS-rs / functions

Functions288 in github.com/RWTH-OS/eduOS-rs

↓ 1 callersFunctionmain
don't mangle the name of this function
src/main.rs:35
↓ 1 callersMethodmap_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 callersMethodobtain_lock
(&self)
src/synch/mutex.rs:83
↓ 1 callersMethodopen
Attempts to open a file in read-write mode.
src/fs/mod.rs:141
↓ 1 callersMethodpack
(self)
src/arch/x86/kernel/irq.rs:362
↓ 1 callersMethodpop_with_prio
Pop the next task, which has a higher or the same priority as `prio`
src/scheduler/task.rs:119
↓ 1 callersFunctionread
(fd: FileDescriptor, buf: &mut [u8])
src/fd/mod.rs:74
↓ 1 callersMethodread
`read` attempts to read `len` bytes from the object references by the descriptor
src/fd/mod.rs:39
↓ 1 callersMethodread_to_end
Read all bytes until EOF in this source, placing them into buf.
src/io.rs:37
↓ 1 callersFunctionregister_task
()
src/arch/x86/kernel/mod.rs:45
↓ 1 callersFunctionremove_io_interface
Remove a IO interface, which is named by the file descriptor
src/scheduler/mod.rs:91
↓ 1 callersMethodremove_io_interface
(&self, fd: FileDescriptor)
src/scheduler/scheduler.rs:182
↓ 1 callersFunctionschedule
Timer interrupt call scheduler to switch to the next available task
src/scheduler/mod.rs:39
↓ 1 callersFunctionsend_eoi_to_slave
()
src/arch/x86/kernel/irq.rs:62
↓ 1 callersFunctionset_kernel_stack
(stack: VirtAddr)
src/arch/x86/kernel/gdt.rs:186
↓ 1 callersFunctionset_root_page_table
(addr: PhysAddr)
src/scheduler/mod.rs:63
↓ 1 callersMethodset_root_page_table
(&self, addr: PhysAddr)
src/scheduler/scheduler.rs:219
↓ 1 callersMethodspawn
(&mut self, func: extern "C" fn(), prio: TaskPriority)
src/scheduler/scheduler.rs:59
↓ 1 callersFunctionsupports_1gib_pages
()
src/arch/x86/kernel/processor.rs:70
↓ 1 callersFunctionswitch
# 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 callersMethodtraverse_lsdir
(&self, mut tabs: String)
src/fs/vfs.rs:75
↓ 1 callersMethodtraverse_mkdir
(&mut self, components: &mut Vec<&str>)
src/fs/vfs.rs:55
↓ 1 callersMethodtraverse_mount
(&mut self, components: &mut Vec<&str>, slice: &'static [u8])
src/fs/vfs.rs:130
↓ 1 callersMethodtraverse_open
( &mut self, components: &mut Vec<&str>, flags: OpenOption, )
src/fs/vfs.rs:91
↓ 1 callersMethodvalue
Returns the pointed address
src/mm/linked_list.rs:97
↓ 1 callersFunctionvirtual_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 callersFunctionwakeup_task
(task: Rc<RefCell<Task>>)
src/scheduler/mod.rs:73
↓ 1 callersMethodwakeup_task
(&mut self, task: Rc<RefCell<Task>>)
src/scheduler/scheduler.rs:143
↓ 1 callersMethodwrite
`write` attempts to write `len` bytes to the object references by the descriptor
src/fd/mod.rs:45
↓ 1 callersMethodwrite_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
Functionadd_element
()
src/mm/freelist.rs:142
Methodadd_handler
( &mut self, int_no: usize, func: extern "x86-interrupt" fn(ExceptionStackFrame), )
src/arch/x86/kernel/irq.rs:428
Functionalignment_check_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:272
Methodalloc
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
Functionallocate
(size: usize)
src/arch/x86/mm/physicalmem.rs:32
Functionallocate
()
src/mm/freelist.rs:160
Functionallocate_aligned
(size: usize, alignment: usize)
src/arch/x86/mm/physicalmem.rs:51
Functionbad_tss_exception
(stack_frame: ExceptionStackFrame, error_code: u64)
src/arch/x86/kernel/irq.rs:209
Methodbottom
(&self)
src/scheduler/task.rs:166
Methodbump
(&self)
src/synch/spinlock.rs:65
Methodcreate
Attempts to create a file in read-write mode.
src/fs/mod.rs:131
Functioncreate_user_foo
()
src/main.rs:16
Methoddealloc
Deallocates the block of memory at the given `ptr` pointer with the given layout.
src/mm/buddy.rs:89
Functiondeallocate
(physical_address: PhysAddr, size: usize)
src/arch/x86/mm/physicalmem.rs:78
Functiondeallocate
()
src/mm/freelist.rs:193
Functiondebug_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:105
Methoddefault
()
src/scheduler/task.rs:147
Methoddefault
()
src/synch/mutex.rs:111
Methoddefault
()
src/syscall/mod.rs:64
Methoddevice
(&mut self)
src/arch/x86/mm/paging.rs:79
Functiondivide_by_zero_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:95
Functiondouble_fault_exception
( stack_frame: ExceptionStackFrame, error_code: u64, )
src/arch/x86/kernel/irq.rs:177
Methoddrop
(&mut self)
src/scheduler/mod.rs:115
Methoddrop
(&mut self)
src/scheduler/task.rs:241
Methoddrop
The dropping of the MutexGuard will release the lock it was created from.
src/synch/mutex.rs:131
Methoddrop
(&mut self)
src/fs/mod.rs:169
Methodexecute_disable
(&mut self)
src/arch/x86/mm/paging.rs:99
Functionfloating_point_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:262
Methodfmt
(&self, f: &mut fmt::Formatter)
src/errno.rs:20
Methodfmt
(&self, f: &mut fmt::Formatter)
src/arch/x86/kernel/irq.rs:704
Methodfmt
(&self, f: &mut fmt::Formatter)
src/scheduler/task.rs:44
Methodfmt
Print all elements of the lists
src/mm/buddy.rs:132
Functionfoo
()
src/main.rs:27
Methodfrom
(x: TaskStateSegment)
src/arch/x86/kernel/gdt.rs:49
Methodfrom
(x: u32)
src/scheduler/task.rs:38
Methodfstat
(&self)
src/fs/vfs.rs:231
Functiongeneral_protection_exception
( stack_frame: ExceptionStackFrame, error_code: u64, )
src/arch/x86/kernel/irq.rs:242
Functionget_current_taskid
Get the TaskID of the current running task
src/scheduler/mod.rs:98
Methodget_handle
(&self, _opt: OpenOption)
src/fs/initrd.rs:28
Methodget_kind
Returns the node type
src/fs/vfs.rs:49
Functionget_linear_address_bits
()
src/arch/x86/kernel/processor.rs:74
Functionget_memory_size
()
src/arch/x86/mm/mod.rs:128
Functionget_page_range
(virtual_address: VirtAddr, count: usize)
src/arch/x86/mm/paging.rs:690
Functionget_page_table_entry
( virtual_address: VirtAddr, )
src/arch/x86/mm/paging.rs:697
Functionget_physical_address
(virtual_address: VirtAddr)
src/arch/x86/mm/paging.rs:707
Functionget_physical_address_bits
()
src/arch/x86/kernel/processor.rs:78
Methodincluding_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
Functioninit
()
src/arch/x86/mm/virtualmem.rs:21
Functioninit
()
src/arch/x86/mm/mod.rs:155
Functioninit
()
src/arch/x86/mm/paging.rs:833
Functioninit
()
src/arch/x86/mm/physicalmem.rs:11
Functioninit
()
src/arch/x86/kernel/processor.rs:82
Functioninit
()
src/arch/x86/kernel/irq.rs:670
Functioninit
Initialize module, must be called once, and only once
src/arch/x86/kernel/mod.rs:254
Functioninit
initialize the Programmable Interrupt Controller (PIC)
src/arch/x86/kernel/pit.rs:19
Functioninit
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
Functioninit
Initialize module, must be called once, and only once
src/scheduler/mod.rs:20
Functioninit
()
src/mm/mod.rs:13
Functioninit
()
src/fs/mod.rs:174
Functionint0_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:135
Functionint3_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:125
Methodinterrupt_bottom
(&self)
src/arch/x86/mm/mod.rs:70
Methodinterrupt_bottom
(&self)
src/scheduler/task.rs:174
Methodinto_inner
Consumes this mutex, returning the underlying data.
src/synch/mutex.rs:74
Functioninvalid_opcode_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:155
Functioninvalid_syscall
(sys_no: u64)
src/syscall/invalid.rs:5
Methodis_huge
(&self)
src/arch/x86/mm/paging.rs:128
Functionis_kernel
(addr: VirtAddr)
src/arch/x86/mm/mod.rs:104
Methodis_locked
(&self)
src/synch/spinlock.rs:52
← previousnext →101–200 of 288, ranked by callers