Git Product home page Git Product logo

dux's Introduction

!!!!! NO LONGER MAINTAINED !!!!!

See awooOS for my current operating system related shenanigans!

Dux

Dux is an operating system in the process of becoming a microkernel. It was started in 2008.

NOTE: If you cloned this repository before July 11th 2017, you will need to re-clone it. I (@duckinator) modified the commit history to correct my name.

Requirements

To compile dux you need:

  • GNU Make
  • A C compiler (clang is officially supported, gcc should work)
  • nasm (assembler)
  • ld (any linker which can link an elf binary should work)
  • genisoimage (or mkisofs)

It should compile on most UNIX-y systems, assuming the above dependencies are met. In theory.

Compiling

$ cp config.mk.dist config.mk
# Edit config.mk, if necessary
$ make

Licensing

Released under the MIT license, see LICENSE for more information.

dux's People

Contributors

danopia avatar duckinator avatar ldunn avatar nixeagle avatar rtfxgageqseitbmugpflekus avatar solson avatar thomil avatar xpsuzsbhotuohs6g8nkoscbq 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dux's Issues

jemalloc

research jemalloc, see how well it can be integrated with dux

No HalGDTSetGate()

HalSetTSS() is partially implemented, but requires a way to set the TSS descriptor address. (Referred to HalGDTSetGate() in the partial HalSetTSS() implementation.)

Code review

Review codebase, flag problem areas, open issues, etc.

Merge hal/shutdown.c

i386/hal/shutdown.c and amd64/hal/shutdown.c can be merged into x86/hal/shutdown.c safely. Do so.

Memory management, bit-shifting nonsense

Lots of math operations that cancel each other out in src/metodo/x86/hal/mm/memory.c

The following are equal:
X >> 12
and
X / 0x10000

The following show up all over the place, a lot of which cancel each other out:
X >> 12
X << 12
X / 0x1000

Someone needs to determine what cancels out, and simplify them.

Maybe a full rewrite? Nobody understands the current impl in full, except possibly sdkmvx

Also, this lovely tidbit:
assert((addr>>12) < 1048576); // (addr>>12) < 2^20
on line 182...is always true.

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.