Giter Site home page Giter Site logo

Comments (7)

Vild avatar Vild commented on June 10, 2024

I want the entry function to be called start, because almost all programs/kernels (at least those I've looked at) call their entry function start, so if anyone would objdump/nm/whatever on the loader executable they would easily find the entrypoint from the symbol list.
and for some reason I chose to jump to boot32BSP instead of just having start be called both start and boot32BSP.

and lastly the no-op is just a breakpoint for bochs, so it always pauses as soon as the loading gains control from grub.

from powernex.

 avatar commented on June 10, 2024

from powernex.

Vild avatar Vild commented on June 10, 2024

It can contain the same code, but I like the symmetry of boot32BSP and boot32AP

from powernex.

 avatar commented on June 10, 2024

from powernex.

Vild avatar Vild commented on June 10, 2024

BSP = BootStrap Processor, the processor that your code runs on by default, the one that grub gives you.
AP = Additional Processor, the processors that I boot in the smp.d file.

The BSP will be in protected mode when I get it from grub, but the APs will be in 16bit.
So init16.S is only used by the APs.

from powernex.

 avatar commented on June 10, 2024

from powernex.

Vild avatar Vild commented on June 10, 2024

extra process / extra cores, it is all the same (ish).
http://wiki.osdev.org/Multiprocessing

from powernex.

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.