MCPcopy Index your code
hub / github.com/arbel03/os

github.com/arbel03/os @v1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0 ↗ · + Follow
318 symbols 604 edges 49 files 13 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Screenshots

screenshot

Compilation Manual

A linux environment is needed for compiling, dosfstools is needed to generate a disk img.

Install Rust

Install rustup from https://www.rustup.rs

Configure Rust

Set the default keychain to nightly: rustup override add nightly

Install Xargo

Install Xargo, a wrapper for cargo that eases cross compilation.
cargo install xargo
Add the rust source code component for cross compiling (needed by xargo).
rustup component add rust-src

Run

Run using ./run.sh

TwoUnderscorez's OS

An operating system similar to mine, but written in C, utilizes paging and implements ext2, click here to check it out!

Extension points exported contracts — how you extend this code

Disk (Interface)
Have Ata implement this [1 implementers]
src/filesystem/disk.rs
Encodable (Interface)
(no doc) [1 implementers]
src/dtables.rs
Gdt (Interface)
(no doc) [1 implementers]
src/memory/gdt.rs
Filesystem (Interface)
(no doc) [1 implementers]
src/filesystem/mod.rs
File (Interface)
(no doc) [1 implementers]
src/filesystem/descriptor.rs

Core symbols most depended-on inside this repo

get_load_information
called by 14
src/task/process.rs
outb
called by 13
src/drivers/utils.rs
translate_virtual_to_physical_address
called by 11
src/task/loader.rs
get_cell
called by 9
bitmap_allocator/src/lib.rs
get_fat_dir
called by 8
src/filesystem/fat32/directory.rs
insert
called by 6
src/dtables.rs
inb
called by 6
src/drivers/utils.rs
write_register
called by 6
src/drivers/ata.rs

Shape

Method 140
Function 103
Class 49
Enum 21
Interface 5

Languages

Rust100%

Modules by API surface

src/task/loader.rs16 symbols
src/task/elf.rs15 symbols
src/vga_buffer.rs14 symbols
bitmap_allocator/src/lib.rs14 symbols
src/task/process.rs13 symbols
src/filesystem/fat32/mod.rs13 symbols
src/filesystem/fat32/directory.rs13 symbols
src/drivers/keyboard.rs13 symbols
src/task/mod.rs12 symbols
src/memory/memory_map.rs12 symbols
src/filesystem/descriptor.rs11 symbols
src/dtables.rs11 symbols

For agents

$ claude mcp add os \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact