Changeset 156bae23 in mainline for kernel/arch/ia32/src
- 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/ia32/src
- Files:
-
- 2 edited
-
asm.S (modified) (1 diff)
-
boot/multiboot.S (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/asm.S
r6e5252a r156bae23 37 37 #include <arch/istate_struct.h> 38 38 #include <arch/smp/apic.h> 39 #include <arch/boot/boot.h> 40 41 .section .bootstack, "a", @nobits 42 .align 16 43 SYMBOL(bootstack_bottom) 44 .skip BOOT_STACK_SIZE 45 SYMBOL(bootstack_top) 39 46 40 47 .text -
kernel/arch/ia32/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 … … 93 91 94 92 /* Initialize stack pointer */ 95 movl $ START_STACK, %esp93 movl $bootstack_top, %esp 96 94 97 95 /* … … 147 145 148 146 stack_init: 147 movl $PA2KA(bootstack_top), %esp 149 148 150 149 /* Create the first stack frame */ … … 300 299 movl %edi, kernel_end 301 300 ret 301 302 // TODO: remove this cruft 302 303 303 304 /** Find free 2M (+4k for alignment) region where to store page tables */
Note:
See TracChangeset
for help on using the changeset viewer.
