Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 773 → Rev 774

/kernel/trunk/kernel.asm
638,17 → 638,7
 
mov [pci_access_enabled],1
 
;call detect_devices
stdcall load_driver, szPS2MDriver
stdcall load_driver, szCOM_MDriver
 
; SET MOUSE
 
mov esi,boot_setmouse
call boot_log
call setmouse
 
 
; SET PRELIMINARY WINDOW STACK AND POSITIONS
 
mov esi,boot_windefs
748,6 → 738,17
 
call set_variables
 
; SET MOUSE
 
;call detect_devices
stdcall load_driver, szPS2MDriver
stdcall load_driver, szCOM_MDriver
 
mov esi,boot_setmouse
call boot_log
call setmouse
 
 
; STACK AND FDC
 
call stack_init
884,7 → 885,7
 
loop ready_for_irqs ; flush the queue
 
stdcall attach_int_handler, dword 1, irq1
stdcall attach_int_handler, dword 1, irq1, dword 0
 
; mov [dma_hdd],1
cmp [IDEContrRegsBaseAddr], 0
4205,7 → 4206,7
 
mov ebx, [f_irqs + 4 * eax]
 
stdcall attach_int_handler, eax, ebx
stdcall attach_int_handler, eax, ebx, dword 0
 
mov [ecx], edi
 
5034,6 → 5035,9
cmp ebx,16
jae .err
 
cmp [irq_rights + 4 * ebx], dword 2
je .err
 
mov eax,[4 * ebx + irq_owner]
mov [esp+32],eax