lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 84afc7b was 421c833, checked in by Martin Decky <martin@…>, 16 years ago |
parse VESA mode from a string
unify VESA initialization for ia32 and amd64
|
-
Property mode
set to
100644
|
File size:
286 bytes
|
Line | |
---|
1 | .code32
|
---|
2 | vesa_init_protected:
|
---|
3 | movw $gdtselector(KDATA_DES), %cx
|
---|
4 | movw %cx, %es
|
---|
5 | movw %cx, %fs
|
---|
6 | movw %cx, %gs
|
---|
7 | movw %cx, %ds # kernel data + stack
|
---|
8 | movw %cx, %ss
|
---|
9 |
|
---|
10 | movl $START_STACK, %esp # initialize stack pointer
|
---|
11 |
|
---|
12 | jmpl $gdtselector(KTEXT_DES), $vesa_meeting_point
|
---|
Note:
See
TracBrowser
for help on using the repository browser.