Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7122 → Rev 7121

/kernel/trunk/kernel.asm
447,7 → 447,7
mov al, [BOOT_VARS+BOOT_LAUNCHER_START] ; Start the first app (LAUNCHER) after kernel is loaded?
mov [launcher_start], al
 
mov esi, BOOT_VARS+BOOT_BIOS_HD
mov esi, BOOT_VARS+0x9080
movzx ecx, byte [esi-1]
mov [NumBiosDisks], ecx
mov edi, BiosDisksData
2188,9 → 2188,9
ret
;------------------------------------------------------------------------------
sysfn_shutdown: ; 18.9 = system shutdown
cmp ecx, SYSTEM_SHUTDOWN
cmp ecx, 1
jl exit_for_anyone
cmp ecx, SYSTEM_RESTART
cmp ecx, 4
jg exit_for_anyone
mov [BOOT_VARS+BOOT_SHUTDOWN_TYPE], cl