GithubHelp home page GithubHelp logo

x86-64 Port about toaruos HOT 11 CLOSED

klange avatar klange commented on May 21, 2024
x86-64 Port

from toaruos.

Comments (11)

Je06jm avatar Je06jm commented on May 21, 2024 1

Since I'm going to do a rewrite, I'm going to make it easier for other people to contribute to it. The rewrite will also allow for the opportunity to add new features. What features do you want to see implemented?

from toaruos.

gil0mendes avatar gil0mendes commented on May 21, 2024

For the build system we could use some thing like jam or scons, personally I like more of scons. Make is slow, old and it is hard to make something more complex.

What is your idea?

from toaruos.

klange avatar klange commented on May 21, 2024

I have no interest in actually replacing the build system; the required work to support ports in the existing makefile is minimal.

from toaruos.

io12 avatar io12 commented on May 21, 2024

To make ports to other architectures easier, there should be a clear separation between hardware dependent and hardware independent code. NetBSD does this.

from toaruos.

Je06jm avatar Je06jm commented on May 21, 2024

I'm new to the project, but I am going to working on the x86_64 port. For right now, I'm just going to be working on the kernel. It's going to allow the operating system to run in a legacy 32 bit mode while the kernel runs in 64 bit mode. This will allow the operating system to be transitioned bit by bit.

from toaruos.

klange avatar klange commented on May 21, 2024

As rebuilding the userspace is a fairly simple matter (and it should be mostly architecture independent, beyond some bits of the crt libs), it may be worthwhile to try to take the opposite approach, like OS X did during its 64-bit transition, and set up the kernel so it can run a 64-bit userspace while the kernel mode remains 32-bit.

from toaruos.

Je06jm avatar Je06jm commented on May 21, 2024

That's probably not a bad idea...

from toaruos.

Je06jm avatar Je06jm commented on May 21, 2024

Is there any documentation anywhere? I'm finding myself digging through tons of code in order to understand the flow of the kernel.

from toaruos.

Je06jm avatar Je06jm commented on May 21, 2024

Would it be acceptable for me to rebuild large parts of the kernel so that it will more portable and support SMP. Software compatibility will be kept as much as possible.

from toaruos.

maxdev1 avatar maxdev1 commented on May 21, 2024

rebuild large parts of the kernel

Quite adventurous.

from toaruos.

Je06jm avatar Je06jm commented on May 21, 2024

I believe that it's necessary. As it is written now, it will not scale or port very well. It is also written without SMP in mind and it's most likely to be unsafe for SMP. Most of the pointers are also explicitly set to 32 bits instead of a generic pointer type. I believe that a rewrite is the only way to achieve some of the long term goals for this project.

from toaruos.

Related Issues (20)

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.