lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since dbd4ae5 was 873c681, checked in by Martin Decky <martin@…>, 15 years ago |
|
initial support for early kernel debugging prints
use C comments in C-preprocessed assembler files (to avoid confusion between assembler comments and preprocessor directives)
|
-
Property mode
set to
100644
|
|
File size:
285 bytes
|
| Line | |
|---|
| 1 | .code32
|
|---|
| 2 | vesa_init_protected:
|
|---|
| 3 | cld
|
|---|
| 4 |
|
|---|
| 5 | /* Initialize stack pointer */
|
|---|
| 6 | movl $START_STACK, %esp
|
|---|
| 7 |
|
|---|
| 8 | /* Kernel data + stack */
|
|---|
| 9 | movw $gdtselector(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 $gdtselector(KTEXT_DES), $vesa_meeting_point
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.