Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7326 → Rev 7325

/programs/cmm/KERNEL/kernel.c
5,9 → 5,8
#initallvar 0
#jumptomain FALSE
#startaddress 0
#startaddress 0x0000
#code32 TRUE
 
char os_name[8] = {'M','E','N','U','E','T','0','1'};
dword os_version = 0x00000001;
27,9 → 26,8
$int 0x40
}
 
segmentDisableFunction:
dword eaxFunctionDestroy(){RETURN 0;}
segmentDisableFunctionEnd:
eaxFunctionDestroyEnd:
 
void ____INIT____()
{
36,10 → 34,9
 
// Disable door kernel
EAX = 81;
EBX = 81; // Self function
ECX = #eaxFunctionDestroy; // Function execute
EDX = #segmentDisableFunction; // Begin segment
ESI = #segmentDisableFunctionEnd; // End segment
EBX = 81;
ECX = #eaxFunctionDestroy;
EDX = #eaxFunctionDestroyEnd-#eaxFunctionDestroy;
$int 0x40
ExitProcess();