GithubHelp home page GithubHelp logo

icix's Introduction

icix

Yet another hobby os.

Screenshot from 2024-06-28 22-34-25

Only supported architecture currently is x86. Use build.sh to build, and qemu.sh to run in QEMU (cross-compiler based on osdev wiki). Features:

  • Booting up from any multiboot compliant bootloader
  • Setting up the Global Descriptor Table, Interrupt Descriptor Table
  • Setting up the Programmable Interrupt Controller
  • Programmable Interrupt Timer
  • Page frame allocator
  • Virtual Memory Manager (paging)
  • Kernel Heap
  • standard libc functions
  • Unix file system, disk driver abstraction
  • initrd driver
  • floppy disk driver
  • multitasking, user mode

Project structure is inspired from osdev wiki's Meaty Skeleton. Many aspects of the OS are based off of osdev wiki's articles or other operating systems (MIT's xv6, brokenthorn osdev series, James Molloy, etc.).

Todo

  • How to check whether code to detect spurious IRQs works?
  • Manually save the registers in the ISR handler instead of pushad/popap.
  • in irq handler (pic) Im not changing the data segment register to kernel mode (0x10), is that an issue? wrt protection
  • in IDT we are not setting proper ring levels for interrupts (mainly 0x20 onwards ig)
  • very weird bug: in printf trying to print 4096 (%d) only prints 40, not reproduced with other numbers yet..

icix's People

Contributors

double-fault avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.