asm.S (7ce76caa) | asm.S (af28f636) |
---|---|
1/* 2 * GRUB -- GRand Unified Bootloader 3 * Copyright (C) 1999,2000,2001,2002,2004 Free Software Foundation, Inc. 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 94 unchanged lines hidden (view full) --- 103 .long 0xffffffff 104 .string "/boot/grub/stage2" 105#endif /* STAGE1_5 */ 106 107 /* 108 * Leave some breathing room for the config file name. 109 */ 110 | 1/* 2 * GRUB -- GRand Unified Bootloader 3 * Copyright (C) 1999,2000,2001,2002,2004 Free Software Foundation, Inc. 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 94 unchanged lines hidden (view full) --- 103 .long 0xffffffff 104 .string "/boot/grub/stage2" 105#endif /* STAGE1_5 */ 106 107 /* 108 * Leave some breathing room for the config file name. 109 */ 110 |
111 . = EXT_C(main) + 0x5f 112VARIABLE(ext_info) 113 .byte 0xEE 114VARIABLE(md5hash) 115 .quad 0xAAAAAAAACCCCCCCC, 0xBBBBBBBBBBBBBBBB 116VARIABLE(pkg_version) 117 .byte 0 | 111 . = EXT_C(main) + 0x60 112VARIABLE(fake_mboot) 113 .long 0x1BADB002 114 .long 0x00010003 115 .long -0x1BAEB005 |
118 /* | 116 /* |
119 * installgrub will place the pkg_version here | 117 * installgrub will place the rest of the fake 118 * multiboot header here. |
120 */ | 119 */ |
121 .= EXT_C(main) + 0x110 | 120 .= EXT_C(main) + 0x140 |
122/* the real mode code continues... */ 123codestart: 124 cli /* we're not safe here! */ 125 126 /* set up %ds, %ss, and %es */ 127 xorw %ax, %ax 128 movw %ax, %ds 129 movw %ax, %ss --- 2635 unchanged lines hidden --- | 121/* the real mode code continues... */ 122codestart: 123 cli /* we're not safe here! */ 124 125 /* set up %ds, %ss, and %es */ 126 xorw %ax, %ax 127 movw %ax, %ds 128 movw %ax, %ss --- 2635 unchanged lines hidden --- |