The bootstrap user module
Although replacing this module with another can allow the user to run an effectively different operating system, this is currently the default.
Checks and loads all modules present in the ramdisk and starts each of them
Marcel Sondaar
Educational purposes
stage4_ia32_pc.asm | The bootstrap user module |
Functions | |
ELF_Load | Parses an elf file in memory |
ELF_Loadsection | Parses an elf section and loads it into memory |
ELF_Adjustsection | Parses an elf relocation section and loads it into memory |
ELF_Copysection | Copies a section from an ELF file to newly allocated memory |
ELF_AllocSection | Parses an elf bss section header, allocates it and zeroes it |
Todo’s | |
get task entry point and create threads for all modules |
Parses an elf file in memory
unknown
unknown
Parses an elf section and loads it into memory
unknown
unknown
Parses an elf relocation section and loads it into memory
unknown
unknown
Copies a section from an ELF file to newly allocated memory
unknown
EAX, EDI