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

Last change on this file was 8be3230, checked in by Jiri Svoboda <jiri@…>, 7 years ago

Revert "Remove realmode VESA code" - needs more work

This reverts commit 8781e9d05ac3f6aeaa3ad709c5af9efa3209b87a.

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