Find the freeldr_main.rbuild file from the freeldr_main module.
<! Doctype Module System "http://www.cnblogs.com/../tools/rbuild/project.dtd"> <Module name = "freeldr_startup" type = "objectlibrary"> <Include base = "freeldr_startup"> include </include> <Include base = "ntoskrnl"> include </include> <Compilerflag>-fno-inline </compilerflag> <Compilerflag>-fno-Zero-initialized-in-BSS </compilerflag> <Directory name = "arch"> <If property = "arch" value = "i386"> <Directory name = "i386"> <File first = "true"> Fathelp. ASM </File> <File> Arch. s </File> </Directory> </If> <If property = "arch" value = "amd64"> <Directory name = "amd64"> <File first = "true"> fathelp. S </File> <File> arch. S </File> </Directory> </If> </Directory> </Module> |
The compilation result is
C: \ react_ OS> make freeldr_startup
[NASM] boot \ freeldr \ arch \ i386 \ fathelp. ASM
[As] boot \ freeldr \ arch \ i386 \ arch. s
Freeldr. sys will be read to the address 0000: 7e00 by the boot partition. If the boot sector is in the fat12/16 format, use fathelp. ASM (compiled in exactly 512 bytes) helps. This section is not required for FAT32.Program.
The next 512 bytes is arch. S.