If I'm understanding this correctly, you can, but it will be based on legacy code which you should probably avoid.dream21 wrote:So that means that we cannot build a minimal boot environment using that code?Schol-R-LEA wrote: So the code you are looking at here is only really there for an edge case, and is not the start-up used by Linux on most systems today. The x86/boot directory, with all the 16-bit startup code, is basically Linux's appendix, important at one time but now sort of just hanging around there in a reduced form because there's no reason to eliminate it even though it isn't really needed anymore.
Understanding intcall in linux kernel
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Understanding intcall in linux kernel
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing