Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 8913 → Rev 8914

/kernel/trunk/core/syscall.inc
178,7 → 178,7
dd sys_posix ; posix support
dd undefined_syscall ; 78-free
dd undefined_syscall ; 79-free
dd syscall_fileSystemUnicode ; 80-File system interface for different encodings
dd fileSystemUnicode ; 80-File system interface for different encodings
 
times 255 - ( ($-servetable2) /4 ) dd undefined_syscall
dd sys_end ; -1-end application
/kernel/trunk/fs/fs_lfn.inc
90,21 → 90,22
; ret
; endp
 
syscall_fileSystemUnicode:
; in: ebx -> f.80 parameter structure
stdcall file_system_is_operation_safe, ebx
jnz @f
; syscall_fileSystemUnicode: ; with user pointer correctness checking
; ; in: ebx -> f.80 parameter structure
; stdcall file_system_is_operation_safe, ebx
; jnz @f
 
DEBUGF 1, "sysfn80 addr error\n"
mov dword [image_of_eax], ERROR_MEMORY_POINTER
ret
@@:
jmp fileSystemUnicode
; DEBUGF 1, "sysfn80 addr error\n"
; mov dword [image_of_eax], ERROR_MEMORY_POINTER
; ret
; @@:
; jmp fileSystemUnicode
 
; temporarily commented out cause acpi driver (drivers/devman) uses sysfn70 via 0x40
; so because drivers it kernel space, pointer checking fails
; TODO solution: add filesystem functions without pointer checking to kernel exports
; and make the driver use them, not int 0x40
; syscall_fileSystemUnicode commented out for the same reason
; syscall_file_system_lfn: ; with user pointer correctness checking
; ; in: ebx -> f.70 parameter structure
; stdcall file_system_is_operation_safe, ebx