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:
hidnplayr 2015-07-31 13:32:01 +00:00
parent d4d026590b
commit b43c39f2f1
4 changed files with 5 additions and 7 deletions

BIN
kernel/trunk/default.skn Normal file

Binary file not shown.

View File

@ -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:

View File

@ -13,7 +13,7 @@ $Revision$
;
iglobal
_skin_file_default db '/sys/DEFAULT.SKN',0
_skin_file_default file "default.skn"
endg
struct SKIN_DATA

View File

@ -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