/kernel/trunk/arch/ia32/src/boot/boot.S |
---|
397,8 → 397,12 |
ljmpl $KTEXT,$(vesa_init_protect-vesa_init+VESA_INIT_SEGMENT<<4); |
vesa_init_protect: |
.code32 |
ret; |
0: #Error no Prefered mode found |
mov $0x111,%cx; |
push %di; |
push %cx; |
408,17 → 412,13 |
pop %di; |
cmp $VESA_OK,%al; |
jnz 1f; |
jz 2b; /* Force relative jump */ |
jmp 2b; |
1:mov $0x0003,%ax; |
int $0x10; |
mov $0xffffffff,%edi; /* EGA text mode used, because of problems with VESA */ |
xor %ax,%ax |
jz 8b; /* Force relative jump */ |
jmp 8; |
vesa_init_protect: |
.code32 |
ret; |
vesa_idt: |
.word 0x03ff |