По решению администрации убрал функцию
git-svn-id: svn://kolibrios.org@7327 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
840cb9a4ea
commit
4200a751e8
@ -588,7 +588,6 @@ tup.append_table(img_files, {
|
||||
{"MOUSECFG", PROGS .. "/cmm/mousecfg/mousecfg.com"},
|
||||
{"NETWORK/WEBVIEW", PROGS .. "/cmm/browser/WebView.com"},
|
||||
{"PANELS_CFG", PROGS .. "/cmm/panels_cfg/panels_cfg.com"},
|
||||
{"@KERNEL", PROGS .. "/cmm/KERNEL/kernel.com"},
|
||||
})
|
||||
tup.append_table(extra_files, {
|
||||
{"kolibrios/drivers/DRVINST.KEX", PROGS .. "/cmm/drvinst/drvinst.com"},
|
||||
|
@ -8,7 +8,6 @@
|
||||
#/SYS/DEVELOP/BOARD "" 0 # Load DEBUG board
|
||||
/SYS/SETUP BOOT 0 # Load device settings
|
||||
/SYS/LOADDRV RDC 0 # videodriver for RDC M2010/M2012
|
||||
/SYS/@KERNEL "" 0 # Start modify KERNEL
|
||||
/SYS/@TASKBAR "" 0 # Start taskbar
|
||||
/SYS/@ICON "" 0 # Multithread icon
|
||||
/SYS/ESKIN "" 0 # Set style
|
||||
|
@ -179,75 +179,8 @@ iglobal
|
||||
dd undefined_syscall ; 78-free
|
||||
dd undefined_syscall ; 79-free
|
||||
dd fileSystemUnicode ; 80-File system interface for different encodings
|
||||
dd setInt0x40 ; 81-Implementation of the function in the system
|
||||
|
||||
times 255 - ( ($-servetable2) /4 ) dd undefined_syscall
|
||||
dd sys_end ; -1-end application
|
||||
|
||||
endg
|
||||
|
||||
; Author Pavel Iakovlev
|
||||
align 32
|
||||
callSet0x40:
|
||||
shl eax, 2
|
||||
push dword [memNewFunctionTable + eax]
|
||||
pop dword [tempPointerAlloc]
|
||||
mov eax, dword [memOldFunctionTable + eax]
|
||||
call dword [tempPointerAlloc]
|
||||
ret
|
||||
align 4
|
||||
setInt0x40:
|
||||
|
||||
and ebx, 0FFh
|
||||
shl ebx, 2
|
||||
mov eax, dword [servetable2 + ebx]
|
||||
|
||||
pushad
|
||||
sub esi, edx
|
||||
add esi, 16
|
||||
stdcall kernel_alloc, esi
|
||||
mov dword [tempPointerAlloc], eax
|
||||
popad
|
||||
|
||||
push ebx
|
||||
mov eax, dword [tempPointerAlloc]
|
||||
mov ebx, eax
|
||||
add eax, esi
|
||||
sub eax, edx
|
||||
|
||||
push edx
|
||||
push ecx
|
||||
loopCopyMemory:
|
||||
|
||||
mov cl, byte[edx]
|
||||
mov byte[ebx], cl
|
||||
inc ebx
|
||||
inc edx
|
||||
cmp ebx, eax
|
||||
jne loopCopyMemory
|
||||
|
||||
pop ecx
|
||||
pop edx
|
||||
pop ebx
|
||||
|
||||
mov eax, dword [tempPointerAlloc]
|
||||
mov esi, dword [servetable2 + ebx]
|
||||
cmp esi, undefined_syscall
|
||||
jne .step1
|
||||
sub ecx, edx
|
||||
add eax, ecx
|
||||
mov dword [servetable2 + ebx], eax
|
||||
ret
|
||||
.step1:
|
||||
mov dword [memOldFunctionTable + ebx], esi
|
||||
sub ecx, edx
|
||||
add eax, ecx
|
||||
mov dword [memNewFunctionTable + ebx], eax
|
||||
mov dword [servetable2 + ebx], callSet0x40
|
||||
ret
|
||||
|
||||
align 4
|
||||
tempPointerAlloc dd 0
|
||||
memOldFunctionTable: times 255 dd 0
|
||||
memNewFunctionTable: times 255 dd 0
|
||||
;-------------------
|
@ -1,6 +0,0 @@
|
||||
if tup.getconfig("NO_CMM") ~= "" then return end
|
||||
if tup.getconfig("LANG") == "ru"
|
||||
then C_LANG = "LANG_RUS"
|
||||
else C_LANG = "LANG_ENG" -- this includes default case without config
|
||||
end
|
||||
tup.rule("kernel.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "kernel.com")
|
Loading…
Reference in New Issue
Block a user