/kernel/trunk/arch/ia32/src/boot/boot.S |
---|
397,12 → 397,8 |
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; |
412,13 → 408,17 |
pop %di; |
cmp $VESA_OK,%al; |
jnz 1f; |
jmp 2b; |
jz 2b; /* Force relative jump */ |
1:mov $0x0003,%ax; |
int $0x10; |
mov $0xffffffff,%edi; /* EGA text mode used, because of problems with VESA */ |
jmp 8; |
xor %ax,%ax |
jz 8b; /* Force relative jump */ |
vesa_init_protect: |
.code32 |
ret; |
vesa_idt: |
.word 0x03ff |