Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-2
/ types & classes
Types & classes
78 in github.com/YatSenOS/YatSenOS-Tutorial-Volume-2
⨍
Functions
400
◇
Types & classes
78
↓ 8 callers
Class
Cluster
src/0x06/crates/storage/src/fs/fat16/direntry.rs:27
↓ 2 callers
Class
ProcessId
src/0x03/crates/kernel/src/proc/pid.rs:4
↓ 1 callers
Enum
DeviceError
src/0x06/crates/storage/src/common/error.rs:38
Class
AtaBus
src/0x06/crates/kernel/src/drivers/ata/bus.rs:15
Enum
AtaCommand
src/0x06/crates/kernel/src/drivers/ata/consts.rs:44
Enum
AtaDeviceType
The possible types of drive devices that can be attached to an IDE controller via ATA.
src/0x06/crates/kernel/src/drivers/ata/consts.rs:77
Class
AtaDrive
src/0x06/crates/kernel/src/drivers/ata/mod.rs:30
Class
Block
src/0x06/crates/storage/src/common/block.rs:21
Interface
BlockDevice
A block device
src/0x06/crates/storage/src/common/device.rs:4
Class
BootInfo
This structure represents the information that the bootloader passes to the kernel.
src/0x01/crates/boot/src/lib.rs:32
Class
BootInfoFrameAllocator
A FrameAllocator that returns usable frames from the bootloader's memory map.
src/0x02/crates/kernel/src/memory/frames.rs:19
Class
Config
src/0x01/crates/boot/src/config.rs:5
Class
Cr3RegValue
src/0x03/crates/kernel/src/proc/paging.rs:12
Class
DirEntry
src/0x06/crates/storage/src/fs/fat16/direntry.rs:16
Class
Directory
src/0x06/crates/storage/src/fs/fat16/directory.rs:8
Class
Fat16
Identifies a Fat16 filesystem on the disk.
src/0x06/crates/storage/src/fs/fat16/mod.rs:17
Class
Fat16Bpb
Represents a Boot Parameter Block. This is the first sector of a FAT 16 formatted partition, and it describes various properties of the FAT 16 filesy
src/0x06/crates/storage/src/fs/fat16/bpb.rs:13
Class
Fat16Impl
The Fat16 filesystem. The partition is a collection of clusters. BPB (Boot Parameter Block) is the first sector of the partition. The BPB contains in
src/0x06/crates/storage/src/fs/fat16/mod.rs:38
Class
File
src/0x06/crates/storage/src/fs/fat16/file.rs:8
Class
FileHandle
src/0x06/crates/storage/src/common/filehandle.rs:8
Interface
FileIO
src/0x06/crates/storage/src/common/io.rs:58
Interface
FileSystem
File system trait
src/0x06/crates/storage/src/common/filesystem.rs:7
Enum
FileType
src/0x06/crates/storage/src/common/metadata.rs:9
Enum
FilenameError
src/0x06/crates/storage/src/common/error.rs:57
Enum
FsError
src/0x06/crates/storage/src/common/error.rs:6
Class
Heap
User process runtime heap always page aligned, the range is [base, end)
src/0x07/crates/kernel/src/proc/vm/heap.rs:22
Enum
Interrupts
src/0x02/crates/kernel/src/interrupt/consts.rs:5
Class
IoApic
src/0x02/crates/kernel/src/interrupt/apic/ioapic.rs:29
Enum
Irq
src/0x02/crates/kernel/src/interrupt/consts.rs:36
Class
KernelAllocator
src/0x04/crates/lib/src/allocator.rs:1
Class
KernelAllocator
src/0x07/crates/lib/src/allocator/kernel.rs:1
Class
KernelSelectors
src/0x02/crates/kernel/src/memory/gdt.rs:64
Interface
LocalApic
src/0x02/crates/kernel/src/interrupt/apic/mod.rs:17
Class
Logger
src/0x01/crates/kernel/src/utils/logger.rs:12
Class
MbrPartition
src/0x06/crates/storage/src/partition/mbr/entry.rs:8
Class
MbrTable
The MBR Table The disk is a collection of partitions. MBR (Master Boot Record) is the *first sector* of the disk. The MBR contains information about
src/0x06/crates/storage/src/partition/mbr/mod.rs:20
Class
Metadata
File entry metadata
src/0x06/crates/storage/src/common/metadata.rs:18
Class
Mount
Mount a file system to a specific path NOTE: strip the mount point from the path before calling the underlying file system
src/0x06/crates/storage/src/common/mount.rs:7
Class
PageTableContext
src/0x03/crates/kernel/src/proc/paging.rs:23
Class
PanicLocation
src/0x01/crates/kernel/src/utils/macros.rs:76
Class
Partition
src/0x06/crates/storage/src/partition/mod.rs:23
Interface
PartitionTable
Partition table trait
src/0x06/crates/storage/src/partition/mod.rs:8
Class
Process
src/0x03/crates/kernel/src/proc/process.rs:9
Class
ProcessContext
src/0x03/crates/kernel/src/proc/context.rs:15
Class
ProcessContextValue
src/0x03/crates/kernel/src/proc/context.rs:8
Class
ProcessData
src/0x03/crates/kernel/src/proc/data.rs:8
Class
ProcessInner
src/0x03/crates/kernel/src/proc/process.rs:14
Class
ProcessManager
src/0x03/crates/kernel/src/proc/manager.rs:29
Class
ProcessVm
src/0x03/crates/kernel/src/proc/vm/mod.rs:18
Class
ProcessVm
src/0x07/crates/kernel/src/proc/vm/mod.rs:28
Class
Processor
Processor holds the current process id
src/0x03/crates/kernel/src/proc/processor.rs:39
Enum
ProgramStatus
src/0x03/crates/kernel/src/proc/mod.rs:23
Interface
Read
The `Read` trait allows for reading bytes from a source.
src/0x06/crates/storage/src/common/io.rs:4
Class
RegistersValue
src/0x03/crates/kernel/src/utils/regs.rs:5
Enum
Resource
src/0x04/crates/kernel/src/utils/resource.rs:60
Class
ResourceSet
src/0x04/crates/kernel/src/utils/resource.rs:13
Interface
Seek
The `Seek` trait provides a cursor within byte stream.
src/0x06/crates/storage/src/common/io.rs:53
Enum
SeekFrom
src/0x06/crates/storage/src/common/io.rs:41
Class
Semaphore
src/0x05/crates/lib/src/sync.rs:31
Class
Semaphore
src/0x05/crates/kernel/src/proc/sync.rs:19
Class
SemaphoreId
src/0x05/crates/kernel/src/proc/sync.rs:9
Enum
SemaphoreResult
src/0x05/crates/kernel/src/proc/sync.rs:26
Class
SemaphoreSet
src/0x05/crates/kernel/src/proc/sync.rs:65
Class
SerialPort
A port-mapped UART 16550 serial interface.
src/0x01/crates/kernel/src/drivers/uart16550.rs:4
Class
ShortFileName
src/0x06/crates/storage/src/fs/fat16/direntry.rs:92
Interface
SizedBlock
src/0x06/crates/storage/src/common/block.rs:8
Class
SpinLock
src/0x05/crates/lib/src/sync.rs:8
Class
Stack
src/0x03/crates/kernel/src/proc/vm/stack.rs:38
Class
StackTrace
src/0x01/crates/kernel/src/utils/macros.rs:136
Enum
StdIO
src/0x04/crates/kernel/src/utils/resource.rs:6
Class
Stderr
src/0x04/crates/lib/src/io.rs:10
Class
Stdin
src/0x04/crates/lib/src/io.rs:8
Class
Stdout
src/0x04/crates/lib/src/io.rs:9
Enum
Syscall
src/0x04/crates/syscall/src/lib.rs:9
Class
SyscallArgs
src/0x04/crates/kernel/src/interrupt/syscall/mod.rs:30
Class
UEFIFrameAllocator
Use `BootServices::allocate_pages()` as frame allocator
src/0x01/crates/boot/src/allocator.rs:5
Interface
Write
The `Write` trait allows for writing bytes to a source. NOTE: Leave here to ensure flexibility for the optional lab task.
src/0x06/crates/storage/src/common/io.rs:24
Class
XApic
src/0x02/crates/kernel/src/interrupt/apic/xapic.rs:14