forked from KolibriOS/kolibrios
kernel.set_screen: allways do force resetting
git-svn-id: svn://kolibrios.org@4286 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7cfde6baf4
commit
8a90112e87
@ -1108,7 +1108,7 @@ end if
|
||||
mov al, 1 ; at least one CPU
|
||||
@@:
|
||||
DEBUGF 1, "K : %d CPU detected\n", eax
|
||||
|
||||
|
||||
include "detect/vortex86.inc" ; Vortex86 SoC detection code
|
||||
|
||||
DEBUGF 1, "K : BAR0 %x \n", [IDE_BAR0_val]:4
|
||||
@ -3251,10 +3251,10 @@ sys_cpuusage:
|
||||
; Event mask (+71)
|
||||
mov EAX, dword [ECX+CURRENT_TASK+TASKDATA.event_mask]
|
||||
stosd
|
||||
|
||||
|
||||
; Keyboard mode (+75)
|
||||
mov al, byte [ecx*8 + SLOT_BASE + APPDATA.keyboard_mode]
|
||||
stosb
|
||||
stosb
|
||||
|
||||
pop esi
|
||||
pop edi
|
||||
@ -5611,13 +5611,7 @@ set_screen:
|
||||
; eax - new Screen_Max_X
|
||||
; ecx - new BytesPerScanLine
|
||||
; edx - new Screen_Max_Y
|
||||
cmp eax, [Screen_Max_X]
|
||||
jne .set
|
||||
|
||||
cmp edx, [Screen_Max_Y]
|
||||
jne .set
|
||||
ret
|
||||
.set:
|
||||
pushfd
|
||||
cli
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user