Changeset 156bae23 in mainline for kernel/arch/amd64
- Timestamp:
- 2018-11-13T20:22:20Z (7 years ago)
- Children:
- 87db879
- Parents:
- 6e5252a
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-24 00:27:26)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-13 20:22:20)
- Location:
- kernel/arch/amd64
- Files:
-
- 3 edited
-
_link.ld.in (modified) (1 diff)
-
src/asm.S (modified) (1 diff)
-
src/boot/multiboot.S (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/_link.ld.in
r6e5252a r156bae23 42 42 } :unmapped 43 43 44 .mapped (PA2KA(BOOT_OFFSET) + SIZEOF(.unmapped)) : AT (BOOT_OFFSET + SIZEOF(.unmapped)) { 44 .unmapped_bss : { 45 *(.bootstack); 46 } :unmapped 47 48 .mapped (PA2KA(BOOT_OFFSET) + SIZEOF(.unmapped) + SIZEOF(.unmapped_bss)) : AT (BOOT_OFFSET + SIZEOF(.unmapped) + SIZEOF(.unmapped_bss)) { 45 49 ktext_start = .; 46 50 *(.text .text.*); -
kernel/arch/amd64/src/asm.S
r6e5252a r156bae23 34 34 #include <arch/cpu.h> 35 35 #include <arch/smp/apic.h> 36 #include <arch/boot/boot.h> 37 38 .section .bootstack, "a", @nobits 39 .align 16 40 SYMBOL(bootstack_bottom) 41 .skip BOOT_STACK_SIZE 42 SYMBOL(bootstack_top) 36 43 37 44 .text -
kernel/arch/amd64/src/boot/multiboot.S
r6e5252a r156bae23 44 44 // the image to get very early debug output. 45 45 46 #define START_STACK (BOOT_OFFSET - BOOT_STACK_SIZE)47 48 46 .section .multiboot, "a" 49 47 … … 99 97 100 98 /* Initialize stack pointer */ 101 movl $ START_STACK, %esp99 movl $bootstack_top, %esp 102 100 103 101 /* … … 436 434 */ 437 435 438 movq $(PA2KA( START_STACK)), %rsp436 movq $(PA2KA(bootstack_top)), %rsp 439 437 440 438 /* Create the first stack frame */
Note:
See TracChangeset
for help on using the changeset viewer.
