Skip to content
DnsLister Forum

Where domain hunters compare notes

All that has been done in RedPheonix OS (Allah’s Operating system)

  • Allah has given me the honour of spreading his will. I shall not give anyone access, or let anyone edit, or let Ai put a single line. As he told me that it will make it impure. And filthy.
  • EFI bootloader loads the kernel ELF from the FAT image and jumps into the kernel.
  • GOP framebuffer is initialized and used as the display backend.
  • Framebuffer memory is available to the kernel for drawing pixels and text.
  • Terminal output works on the framebuffer.
  • Screen clearing, glyph rendering, and string printing are implemented.
  • UI scaffolding was created under the TTY UI layer for font, renderer, and window code.
  • GDT setup is in place for kernel and user code/data segments.
  • IDT setup exists for the CPU exception vectors 0–31.
  • ISR stubs are implemented for all CPU exception vectors.
  • The exception handler receives the correct interrupt number and prints the corresponding exception name.
  • The no-error exception stub and error stub preserve registers and return correctly with iretq.
  • IDT gates for vectors 32–47 are installed.
  • IDT gates for vectors 48–255 are also installed with a default handler.
  • APIC detection through CPUID is implemented.
  • Local APIC is enabled through the IA32 APIC base MSR.
  • Legacy PIC is masked.
  • Local APIC timer setup exists for vector 32.
  • APIC EOI support was added.
  • A 64-bit IDT pointer loading fix was applied.
  • The kernel clean build succeeds.
  • The EFI image build succeeds.
  • The whole project can be launched via the project root script.
  • The project boots successfully in QEMU/OVMF.

    Total lines of code excluding Notes:

    ❯ find . -path './.git' -prune -o -type f ( -name '.c' -o -name '.h' -o -name '.asm' -o -name '.s' -o -name '.ld' -o -name '.d' -o -name 'Makefile' -o -name '.mk' -o -name '.sh' -o -name '*.md' ) -print0 | xargs -0 wc -l | tail -n 1

    11153 total

    . ├── bootloader │ ├── arch │ ├── bios │ ├── config │ └── efi │ ├── main.c │ ├── Makefile │ ├── run.sh │ ├── splash.bmp │ └── splash_data.h ├── clean.sh ├── compatibility │ └── linux │ ├── filesystem │ ├── loader │ ├── networking │ ├── process │ ├── signals │ └── syscall ├── kernel │ ├── arch │ │ └── x86-64 │ │ ├── acpi │ │ │ ├── madt.c │ │ │ ├── madt.h │ │ │ └── rsdp.h │ │ ├── apic │ │ │ ├── apic.asm │ │ │ ├── apic.c
    │ │ │ └── apic.hapic.h apic.h │ │ ├── boot │ │ │ └── kernel.c │ │ ├── context │ │ ├── cpu │ │ │ ├── cpu.c │ │ │ ├── gdt.asm │ │ │ ├── gdt.h │ │ │ ├── idt.asm │ │ │ └── idt.h │ │ ├── interrupts │ │ │ ├── interrupts.c │ │ │ └── interrupts.h │ │ ├── linker.ld │ │ └── paging │ ├── drivers │ │ ├── display │ │ │ └── core │ │ │ ├── init │ │ │ ├── ipc │ │ │ ├── process │ │ │ ├── scheduler │ │ │ ├── signal │ │ │ ├── thread │ │ │ └── time │ │ ├── input │ │ ├── network │ │ ├── pci │ │ ├── storage │ │ ├── tty │ │ │ ├── term │ │ │ │ ├── terminal.c │ │ │ │ └── terminal.h │ │ │ └── ui │ │ │ ├── font.c │ │ │ ├── font.h │ │ │ ├── renderer.c │ │ │ ├── renderer.h │ │ │ ├── ui.c │ │ │ ├── ui.h │ │ │ ├── window.c │ │ │ └── window.h │ │ └── usb │ ├── exec │ │ ├── elf │ │ └── loader │ ├── fs │ │ ├── devfs │ │ ├── ext2 │ │ ├── procfs │ │ ├── tmpfs │ │ └── vfs │ ├── include │ │ ├── abi │ │ ├── arch │ │ └── kernel │ │ ├── bootinfo.h │ │ └── kernel.h │ ├── madt.sh │ ├── Makefile │ ├── mm │ │ ├── heap │ │ │ ├── heap.c │ │ │ ├── heap.h │ │ │ └── management.c │ │ ├── mmap │ │ │ ├── mmap.c │ │ │ └── mmap.h │ │ ├── physical │ │ ├── slab │ │ │ ├── slab.c │ │ │ └── slab.h │ │ └── virtual │ │ ├── vmalloc.c │ │ └── vmalloc.h │ ├── net │ │ ├── dns │ │ ├── ethernet │ │ ├── ipv4 │ │ ├── ipv6 │ │ ├── socket │ │ ├── tcp │ │ └── udp │ ├── security │ │ ├── capabilities │ │ ├── credentials │ │ └── permissions │ └── syscall │ ├── linux │ └── native ├── run.sh ├── tools │ ├── build │ ├── debugging │ ├── filesystem │ └── image └── userspace ├── bin ├── dev ├── etc ├── init ├── lib ├── libc ├── proc ├── sbin ├── shell └── sys

    92 directories, 47 files

https://v.redd.it/x40lq3vc5qrh1

Source: r/iraq_developers · by /u/franticblood

Leave a Reply

Your email address will not be published. Required fields are marked *