Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 213 → Rev 214

/kernel/trunk/drivers/sis.asm
248,7 → 248,6
PROC_BASE equ OS_BASE+0x0080000
 
public START
public STOP
public service_proc
 
extrn AttachIntHandler
266,7 → 265,13
 
section '.flat' code readable align 16
 
START:
proc START stdcall, state:dword
 
mov eax, [state]
cmp eax, 1
je .entry
jmp .stop
.entry:
if DEBUG
mov esi, msgInit
call SysMsgBoardStr
320,15 → 325,18
call SysMsgBoardStr
 
ret
 
.fail:
if DEBUG
mov esi, msgFail
call SysMsgBoardStr
end if
STOP:
xor eax, eax
ret
.stop:
call stop
mov [ctrl.user_callback], 0
ret
endp
 
handle equ IOCTL.handle
io_code equ IOCTL.io_code