source:
mainline/kernel/arch/ia32/src/boot/vesa_ret.inc@
1d3d2cf
Last change on this file since 1d3d2cf was 1d3d2cf, checked in by , 15 years ago | |
---|---|
|
|
File size: 287 bytes |
Rev | Line | |
---|---|---|
[421c833] | 1 | .code32 |
2 | vesa_init_protected: | |
[873c681] | 3 | cld |
4 | ||
5 | /* Initialize stack pointer */ | |
6 | movl $START_STACK, %esp | |
7 | ||
8 | /* Kernel data + stack */ | |
[1d3d2cf] | 9 | movw $GDT_SELECTOR(KDATA_DES), %cx |
[421c833] | 10 | movw %cx, %es |
11 | movw %cx, %fs | |
12 | movw %cx, %gs | |
[873c681] | 13 | movw %cx, %ds |
[421c833] | 14 | movw %cx, %ss |
15 | ||
[1d3d2cf] | 16 | jmpl $GDT_SELECTOR(KTEXT_DES), $vesa_meeting_point |
Note:
See TracBrowser
for help on using the repository browser.