Embedded default skin in kernel.mnt
- little faster boot time. - no more problems when default.skn cannot be found. git-svn-id: svn://kolibrios.org@5635 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d4d026590b
commit
b43c39f2f1
Binary file not shown.
|
@ -22,8 +22,8 @@ read_skin_file:
|
|||
jnz .noskin
|
||||
|
||||
xchg eax, [skin_data]
|
||||
test eax, eax
|
||||
jz @f
|
||||
cmp eax, _skin_file_default
|
||||
je @f
|
||||
|
||||
stdcall kernel_free, eax
|
||||
@@:
|
||||
|
@ -86,9 +86,7 @@ ends
|
|||
align 4
|
||||
load_default_skin:
|
||||
mov [_skinh], 22
|
||||
mov ebx, _skin_file_default
|
||||
call read_skin_file
|
||||
ret
|
||||
mov [skin_data], _skin_file_default
|
||||
;------------------------------------------------------------------------------
|
||||
align 4
|
||||
parse_skin_data:
|
||||
|
|
|
@ -13,7 +13,7 @@ $Revision$
|
|||
;
|
||||
|
||||
iglobal
|
||||
_skin_file_default db '/sys/DEFAULT.SKN',0
|
||||
_skin_file_default file "default.skn"
|
||||
endg
|
||||
|
||||
struct SKIN_DATA
|
||||
|
|
|
@ -1085,7 +1085,7 @@ include "detect/vortex86.inc" ; Vortex86 SoC detection code
|
|||
|
||||
call load_default_skin
|
||||
|
||||
;protect io permission map
|
||||
; Protect I/O permission map
|
||||
|
||||
mov esi, [default_io_map]
|
||||
stdcall map_page, esi, [SLOT_BASE+256+APPDATA.io_map], PG_READ
|
||||
|
|
Loading…
Reference in New Issue