tabify the commented Makefile

This commit is contained in:
John Reiser
2006-06-28 22:18:48 -07:00
parent 4fff523a6d
commit ba19ccac43
+30 -30
View File
@@ -480,47 +480,47 @@ void PackVmlinuxI386::unpack(OutputFile *fo)
//LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -e startup_32 //LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -e startup_32
// //
//$(obj)/vmlinux: $(obj)/upx-head.o $(obj)/upx-piggy.o FORCE //$(obj)/vmlinux: $(obj)/upx-head.o $(obj)/upx-piggy.o FORCE
// $(call if_changed,ld) // $(call if_changed,ld)
// @: // @:
// //
//$(obj)/upx-piggy.o: vmlinux FORCE //$(obj)/upx-piggy.o: vmlinux FORCE
// rm -f $@ // rm -f $@
// upx --best -o $@ $< // upx --best -o $@ $<
// touch $@ // touch $@
//----- //-----
// //
//----- arch/i386/boot/compressed/upx-head.S //----- arch/i386/boot/compressed/upx-head.S
// .text // .text
//startup_32: .globl startup_32 # In: %esi=0x90000 setup data "real_mode pointer" //startup_32: .globl startup_32 # In: %esi=0x90000 setup data "real_mode pointer"
// #cli # this must be true already // #cli # this must be true already
// //
// /* The only facts about segments here, that are true for all kernels: // /* The only facts about segments here, that are true for all kernels:
// * %cs is a valid "flat" code segment; no other segment reg is valid; // * %cs is a valid "flat" code segment; no other segment reg is valid;
// * the next segment after %cs is a valid "flat" data segment, but // * the next segment after %cs is a valid "flat" data segment, but
// * no segment register designates it yet. // * no segment register designates it yet.
// */ // */
// movl %cs,%eax; addl $1<<3,%eax # the next segment after %cs // movl %cs,%eax; addl $1<<3,%eax # the next segment after %cs
// movl %eax,%ds // movl %eax,%ds
// movl %eax,%es // movl %eax,%es
// leal 0x9000(%esi),%ecx # 0x99000 typical // leal 0x9000(%esi),%ecx # 0x99000 typical
// movl %ecx,-8(%ecx) # 32-bit offset for stack pointer // movl %ecx,-8(%ecx) # 32-bit offset for stack pointer
// movl %eax,-4(%ecx) # segment for stack pointer // movl %eax,-4(%ecx) # segment for stack pointer
// lss -8(%ecx),%esp # %ss:%esp= %ds:0x99000 // lss -8(%ecx),%esp # %ss:%esp= %ds:0x99000
// /* Linux Documentation/i386/boot.txt "SAMPLE BOOT CONFIGURATION" says // /* Linux Documentation/i386/boot.txt "SAMPLE BOOT CONFIGURATION" says
// 0x8000-0x8FFF Stack and heap [inside the "real mode segment", // 0x8000-0x8FFF Stack and heap [inside the "real mode segment",
// just below the command line at offset 0x9000]. // just below the command line at offset 0x9000].
// //
// arch/i386/boot/compressed/head.S "Do the decompression ..." says // arch/i386/boot/compressed/head.S "Do the decompression ..." says
// %esi contains the "real mode pointer" [as a 32-bit addr]. // %esi contains the "real mode pointer" [as a 32-bit addr].
// //
// In any case, avoid EBDA (Extended BIOS Data Area) below 0xA0000. // In any case, avoid EBDA (Extended BIOS Data Area) below 0xA0000.
// boot.txt says 0x9A000 is the limit. LILO goes up to 0x9B000. // boot.txt says 0x9A000 is the limit. LILO goes up to 0x9B000.
// */ // */
// //
// pushl $0; popf # subsumes "cli; cld"; also clears NT for buggy BIOS // pushl $0; popf # subsumes "cli; cld"; also clears NT for buggy BIOS
// //
// movl $ 0x100000,%eax # destination of uncompression (and entry point) // movl $ 0x100000,%eax # destination of uncompression (and entry point)
// push %cs // push %cs
/* Fall into .text of upx-compressed vmlinux. */ /* Fall into .text of upx-compressed vmlinux. */
//----- //-----