GithubHelp home page GithubHelp logo

meulengracht / mollenos Goto Github PK

View Code? Open in Web Editor NEW
442.0 10.0 23.0 213.02 MB

MollenOS/Vali is a modern operating system that is built with focus on abstraction and a modular design, allowing anyone to port it to any architecture. It currently targets the x86-32 and x86-64 platform.

Home Page: http://www.mollenos.com

License: GNU General Public License v3.0

Assembly 1.94% C 81.08% C++ 15.18% Makefile 0.01% CMake 0.94% Shell 0.08% Python 0.35% Dockerfile 0.01% Pawn 0.03% Objective-C++ 0.08% Batchfile 0.01% Objective-C 0.06% Awk 0.22% CSS 0.01% HTML 0.01% Roff 0.01%
c c-plus-plus operating system os kernel drivers modular

mollenos's Introduction

The Mollen(/Vali) Operating System

Community

MollenOS/Vali is an open-source operating system. The operating system is build with focus on modern principles. The inspiration for building this was originally to learn about operating system concepts and to learn from the complexity involved. I found out that building MollenOS was my passion, and I've been working on it since it was started in 2011. The primary goal of MollenOS is to provide a modern user experience, both from a development perspective, but also from a user perspective.

One of the core features of MollenOS is being completely immutable. The core operating system is packed into a read-only filesystem which gets mounted during boot. Applications are also packed into read-only filesystem images which get mounted when installed. This ensures that both the operating system and its software operate within as safe constraints as possible.

Desktop - Terminal

Current build status and nightly build download

Platform Nightly Image (.img) Status
i386 Builds Vali I386 CI
amd64 Builds Vali AMD64 CI

Noteable projects

Project Link Description
gracht github Protocol library heavily featured in MollenOS/Vali.
vioarr github Window manager with terminal and launcher built ontop of Gracht.
openlibm github Math library used in MollenOS
acpica github Open source ACPI library

Installing MollenOS

The recommended method for trying MollenOS is to download the nightly build above. This will provide you with an .img file that you can boot in either qemu or bochs emulators. (Or other that accept .img files).

If you need the vmdk format for VMware or VirtualBox, then you will have to follow the build guidelines on how to build the image for yourself.

MollenOS is not mature enought to be a daily driver, and thus no steps will be provided on how to install the OS onto your local computer, as this would not be wise for either of us. If you want to do this you should be tech-savvy enough to figure this out yourself.

Building MollenOS

Build instructions are located here BUILDING.md

Contributing

I appreciate any form for contribution you want to make to the project! The project is purely driven by passion, and I dedicate any and all available spare time to this project. But to take this project to the next level I need support! Contributions of any kind are deerly welcome, but should follow the below guidelines.

You can start contributing on any aspect of the operating system, and if you should ever be in doubt, feel free to email me at [email protected].

Submitting issues

When submitting issues, please take care that the issue is not a dublicate of an already existing, open issue. Please follow the templates specified for issues. Issues can be either a bug report or a feature request. If you feel like the feedback/issue you have does not fall into either category, pick the one you feel it fits the most.

Pull Requests

If you want to contribute as a developer on the project please fork the repository, and contribute via pull requests. There is a pull request template you can use when creating a pull request. Please allow for a day or two for me to review the pull request before accepting, as I will take a look as quickly as possible and submit your pull request.

mollenos's People

Contributors

meulengracht avatar vocalfan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mollenos's Issues

UHCI - Rewrite

We need to rewrite the current UHCI driver to the new coding format and then fix it. It had a lot of issues.

After idling for a moment the OS seems to stop scheduling threads

Reasonable enough it shuts down the scheduling timer when entering idle thread to avoid rescheduling the idle thread and save resources, however it seems like no interrupts follow as well.. Which is weird since i need interrupts to wakeup the scheduler again. I'm thinking of building a threading log so I can see all thread activity

Process cleanup

Processes don't get cleaned up yet, including address spaces

Move modules to userspace

Several things needs to be done here,

Implement all neccessary syscalls (and there is a lot)
Move modules to have their own process with a event handler (Kill, Restart, etc events it should handle)
Move much of the shared functionality in to a library (fx: the list implementation is needed by drivers, and can't be imported if they run in usermode and list is in kernel mode memory)

Move ACPICA to MCore

After we abstracted the virtual memory access we can now completely move ACPICA out to MCore, which means we can reuse it no matter which platform we run MCore on

Unicode Support

Unicode support is easy enough in the kernel (almost done there), but the challenge is integrating it into the CLIB streamout, which I will have to do.

UsbCore - Support custom transaction length overrides

OHCI uses custom length for isochronous transfers (max of 0x2000 per td instead of MPS)
EHCI uses custom length for pretty much everything (control and bulk can handle between 16k-20k per td) and interrupt/isoc can handle up to 3k per transfer.

Bus driver changes

(MCore) Should be started in a new thread
(x86) Iterate and disable before iterating and creating new devices

USB HID - Fix report applier

Fix the code that applies the data, I'm not sure it handles when there
is no report id / when there is correctly.

AHCI Driver

We also need an AHCI driver, but this is not that important right now, Untill we actually begin to install the os to hdds

SRAT Enumeration

Enumerate SRAT and build a hierarchy view of cpus and their numa domains

ELF Loader

Now that I've built a cross compiler (clang), we need to be able to load elf files which is what I can get it to compile to....

USB - Full Out Transfer Support

USB -> Make sure to add zero-length packets when neccessary
UHCI -> Make sure implementation works
OHCI -> Make sure implementation works
EHCI -> Make sure implementation works

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.