Subversion Repositories Kolibri OS

Rev

Rev 1687 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1687 Rev 1941
Line 22... Line 22...
22
;;                                                              ;;
22
;;                                                              ;;
23
;;  See file COPYING for details                                ;;
23
;;  See file COPYING for details                                ;;
24
;;                                                              ;;
24
;;                                                              ;;
25
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
25
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 26... Line 26...
26
 
26
 
Line 27... Line 27...
27
$Revision: 1687 $
27
$Revision: 1941 $
28
 
28
 
29
;***************************************************************************
29
;***************************************************************************
30
;   Function
30
;   Function
Line 426... Line 426...
426
 
426
 
427
pci_mmio_unmap:
427
pci_mmio_unmap:
428
    stdcall user_free, ebx
428
    stdcall user_free, ebx
Line -... Line 429...
-
 
429
    ret
-
 
430
 
-
 
431
 
-
 
432
;------------------------------------------------
-
 
433
align 4
-
 
434
sys_map1:
-
 
435
;       copies a block from kernel to user space
-
 
436
;  in: esi = address in kernel space
-
 
437
;      edi = eddress in user space
-
 
438
;      ebx = count (dwords)
-
 
439
; out: nothing
-
 
440
;------------------------------------------------
-
 
441
	mov     ecx, ebx
-
 
442
        pushfd
-
 
443
	cld
-
 
444
	rep	movsd
-
 
445
	popfd
-
 
446
	ret
429
    ret
447
 
430
 
448
 
431
;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
449
;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
432
uglobal
450
uglobal
433
align 4
451
align 4