Fix random boot issue: 'Failed to start first app'

Access to BOOT.dev variable was sometimes done with obsolete
offset from non-flat-kernel ages. If you are unlucky, the ramdisk
is not loaded and launcher app is not started.

git-svn-id: svn://kolibrios.org@8086 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-10-02 12:26:08 +00:00
parent 73d12d1c99
commit d48c9cc35c
2 changed files with 3 additions and 3 deletions

View File

@@ -697,7 +697,7 @@ endg
call PIT_init
; Register ramdisk file system
cmp byte [BOOT.dev+0x10000], 1
cmp byte [BOOT.dev], 1
je @f
mov esi, boot_initramdisk