Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2120 → Rev 2119

/kernel/trunk/fs/disk.inc
633,12 → 633,10
; Note that 'read' callback operates with 64-bit sector numbers, so we must
; push additional zero as a high dword of sector number.
mov al, DISKFUNC.read
push 1
stdcall disk_call_driver, ebx, ebp, 0, esp
pop ecx
stdcall disk_call_driver, ebx, ebp, 0, 1
; 6. If the read has failed, abort the loop.
dec ecx
jnz .mbr_failed
test eax, eax
jz .mbr_failed
; 7. Check the MBR/EBR signature. If it is wrong, abort the loop.
; Soon we will access the partition table which starts at ebx+0x1BE,
; so we can fill its address right now. If we do it now, then the addressing
/kernel/trunk/core/exports.inc
85,11 → 85,7
szStrchr db 'strchr',0
szStrrchr db 'strrchr',0
 
szDiskAdd db 'DiskAdd',0
szDiskDel db 'DiskDel',0
szDiskMediaChanged db 'DiskMediaChanged',0
 
 
align 16
kernel_export:
dd szRegService , reg_service
164,10 → 160,6
dd szStrchr , strchr
dd szStrrchr , strrchr
 
dd szDiskAdd , disk_add
dd szDiskDel , disk_del
dd szDiskMediaChanged, disk_media_changed
 
exp_lfb:
dd szLFBAddress , 0
dd 0 ;terminator, must be zero
/kernel/trunk/docs/drivers_api.txt
File deleted