MCPcopy Create free account

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

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

Methodis_valid_address
Returns whether the given virtual address is a valid one in the x86-64 memory model. Current x86-64 supports only 48-bit for virtual memory addresses
src/arch/x86/mm/paging.rs:259
Functionleave_task
()
src/arch/x86/kernel/task.rs:81
Functionlsdir
List the current state of file system
src/fs/mod.rs:82
Functionmachine_check_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:282
Functionmain
demo/hello.c:3
Functionmap
( virtual_address: VirtAddr, physical_address: PhysAddr, count: usize, flags: PageTableEntryFlags, )
src/arch/x86/mm/paging.rs:737
Methodmap_page_in_this_table
Maps a single page in this table to the given physical address. Returns whether an existing entry was updated. You can use this return value to flush
src/arch/x86/mm/paging.rs:406
Functionmap_usr_entry
(func: extern "C" fn())
src/arch/x86/mm/paging.rs:760
Functionmkdir
Create a directory with the path `path`. `path` must be a absolete path to the direcory.
src/fs/mod.rs:88
Functionmount
Mount slice to to `path`
src/fs/mod.rs:108
Methodnew
()
src/lib.rs:47
Methodnew
( start: VirtAddr, end: VirtAddr, ist_start: VirtAddr, ist_end: VirtAddr, )
src/arch/x86/mm/mod.rs:30
Methodnew
(character: u8, attribute: u8)
src/arch/x86/kernel/vga.rs:26
Methodnew
Create a new IdtEntry pointing at `handler`, which must be a function with interrupt calling conventions. (This must be currently defined in assembly
src/arch/x86/kernel/irq.rs:392
Methodnew
Create a new COM port with the specified base address.
src/arch/x86/kernel/serial.rs:14
Methodnew
()
src/scheduler/mod.rs:107
Methodnew
()
src/scheduler/scheduler.rs:33
Methodnew
Creates an empty priority queue for tasks
src/scheduler/task.rs:82
Methodnew
Creates a new semaphore with the initial count specified. The count specified can be thought of as a number of resources, and a call to `acquire` or
src/synch/mutex.rs:65
Methodnew
()
src/syscall/mod.rs:42
Methodnew
(start: T, end: T)
src/mm/freelist.rs:38
Methodnew
Constructs an empty buddy system.
src/mm/buddy.rs:25
Methodnew
()
src/mm/linked_list.rs:11
Methodnew
()
src/fd/stdio.rs:14
Methodnew
(slice: &'static [u8])
src/fs/initrd.rs:21
Methodnew
()
src/fs/vfs.rs:26
Methodnew_from_rom
(slice: &'static [u8])
src/fs/vfs.rs:174
Methodnew_idle
(id: TaskId)
src/scheduler/task.rs:199
Methodnext
(&mut self)
src/arch/x86/mm/paging.rs:308
Methodnext
(&mut self)
src/mm/linked_list.rs:68
Functionnmi_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:115
Functionno_coprocessor_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:165
Methodnormal
(&mut self)
src/arch/x86/mm/paging.rs:84
Functionnot_present_exception
(stack_frame: ExceptionStackFrame, error_code: u64)
src/arch/x86/kernel/irq.rs:220
Methodopen
(&mut self, path: &str, flags: OpenOption)
src/fs/vfs.rs:275
Functionout_of_bound_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:145
Functionoverrun_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:193
Functionpage_fault_handler
( stack_frame: irq::ExceptionStackFrame, error_code: u64, )
src/arch/x86/mm/paging.rs:632
Functionpanic
(info: &PanicInfo)
src/lib.rs:70
Methodrange
Returns a PageIter to iterate from the given first Page to the given last Page (inclusive).
src/arch/x86/mm/paging.rs:284
Methodread
(&mut self, buf: &mut [u8])
src/fs/mod.rs:157
Methodread
(&self, buf: &mut [u8])
src/fs/vfs.rs:210
Methodread_only
(&mut self)
src/arch/x86/mm/paging.rs:89
Methodread_to_string
Read all bytes until EOF in this source, appending them to `buf`. If successful, this function returns the number of bytes which were read and append
src/io.rs:57
Methodremove_handler
(&mut self, int_no: usize)
src/arch/x86/kernel/irq.rs:447
Functionreserved_exception
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:292
Functionrust_oom
(layout: Layout)
src/mm/mod.rs:21
Methodseek
(&self, _offset: SeekFrom)
src/fd/mod.rs:49
Methodseek
(&self, style: SeekFrom)
src/fs/initrd.rs:57
Methodseek
(&self, style: SeekFrom)
src/fs/vfs.rs:224
Functionset_current_kernel_stack
()
src/arch/x86/kernel/gdt.rs:196
Functionstack_fault_exception
(stack_frame: ExceptionStackFrame, error_code: u64)
src/arch/x86/kernel/irq.rs:231
Methodsubtable
Returns the next subtable for the given page in the page table hierarchy. Must only be called if a page of this size is mapped in a subtable!
src/arch/x86/mm/paging.rs:576
Functionsys_exit
()
src/syscall/exit.rs:4
Functionsys_invalid
()
src/syscall/invalid.rs:12
Functionsys_nothing
()
src/syscall/nothing.rs:1
Functionsys_write
(fd: FileDescriptor, buf: *mut u8, len: usize)
src/syscall/write.rs:36
Functionsys_writev
( fd: FileDescriptor, ptr: *const IoVec, cnt: i32, )
src/syscall/write.rs:10
Functionsyscall0
(arg0: u64)
src/arch/x86/kernel/mod.rs:121
Functionsyscall1
(arg0: u64, arg1: u64)
src/arch/x86/kernel/mod.rs:136
Functionsyscall2
(arg0: u64, arg1: u64, arg2: u64)
src/arch/x86/kernel/mod.rs:152
Functionsyscall3
(arg0: u64, arg1: u64, arg2: u64, arg3: u64)
src/arch/x86/kernel/mod.rs:169
Functionsyscall4
(arg0: u64, arg1: u64, arg2: u64, arg3: u64, arg4: u64)
src/arch/x86/kernel/mod.rs:187
Functionsyscall5
(arg0: u64, arg1: u64, arg2: u64, arg3: u64, arg4: u64, arg5: u64)
src/arch/x86/kernel/mod.rs:206
Functionsyscall6
( arg0: u64, arg1: u64, arg2: u64, arg3: u64, arg4: u64, arg5: u64, arg6: u64, )
src/arch/x86/kernel/mod.rs:226
Functionsyscall_handler
()
src/arch/x86/kernel/syscall.rs:9
Methodtable_index
Returns the index of this page in the table given by L.
src/arch/x86/mm/paging.rs:293
Functiontask_heap_end
()
src/arch/x86/mm/virtualmem.rs:110
Functiontask_heap_start
()
src/arch/x86/mm/virtualmem.rs:105
Functiontimer_handler
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:323
Methodtop
(&self)
src/scheduler/task.rs:162
Methodtry_lock
(&self)
src/synch/spinlock.rs:32
Functionunhandled_irq1
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:302
Functionunhandled_irq2
(stack_frame: ExceptionStackFrame)
src/arch/x86/kernel/irq.rs:312
Functionunmap
(virtual_address: VirtAddr, count: usize)
src/arch/x86/mm/paging.rs:726
Methodwritable
(&mut self)
src/arch/x86/mm/paging.rs:94
Methodwrite
(&self, buf: &[u8])
src/fd/stdio.rs:23
Methodwrite
(&mut self, buf: &[u8])
src/fs/mod.rs:163
Methodwrite
(&self, buf: &[u8])
src/fs/vfs.rs:217
Methodwrite_bytes
(&mut self, buf: &[u8])
src/arch/x86/kernel/vga.rs:114
Methodwrite_bytes
(&mut self, buf: &[u8])
src/arch/x86/kernel/serial.rs:18
Methodwrite_fmt
Writes a formatted string into this writer, returning any error encountered.
src/io.rs:84
Methodwrite_str
Output a string to each of our console outputs.
src/console.rs:13
Methodwrite_str
(&mut self, s: &str)
src/io.rs:93
Methodwrite_str
(&mut self, s: &str)
src/arch/x86/kernel/vga.rs:128
Methodwrite_str
Output a string to our COM port. This allows using nice, high-level tools like Rust's `write!` macro.
src/arch/x86/kernel/serial.rs:32
Methodwrite_str
(&self, s: &str)
src/fs/initrd.rs:195
Methodwrite_str
(&mut self, s: &str)
src/fs/vfs.rs:201
← previous201–288 of 288, ranked by callers