source: mainline/kernel/arch/ia32/src/boot/vesa_ret.inc@ 1d3d2cf

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 1d3d2cf was 1d3d2cf, checked in by Martin Decky <martin@…>, 15 years ago

rename gdtselector to GDT_SELECTOR to make explicit it is a macro
unify how bootstrap_gdtr is defined on amd64 and ia32

  • Property mode set to 100644
File size: 287 bytes
Line 
1.code32
2vesa_init_protected:
3 cld
4
5 /* Initialize stack pointer */
6 movl $START_STACK, %esp
7
8 /* Kernel data + stack */
9 movw $GDT_SELECTOR(KDATA_DES), %cx
10 movw %cx, %es
11 movw %cx, %fs
12 movw %cx, %gs
13 movw %cx, %ds
14 movw %cx, %ss
15
16 jmpl $GDT_SELECTOR(KTEXT_DES), $vesa_meeting_point
Note: See TracBrowser for help on using the repository browser.