From 12ecff7fb2d180d176b744ad8f82503189be7dba Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sat, 22 Apr 2006 13:54:35 +0000 Subject: [PATCH] Reserved of the function 70 for the new procedure of access to file systems Request - Please not use this number for other purposes. git-svn-id: svn://kolibrios.org@70 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/syscall.inc | 1 + kernel/trunk/fs/fs_v2.inc | 9 +++++++++ kernel/trunk/kernel32.inc | 3 ++- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 kernel/trunk/fs/fs_v2.inc diff --git a/kernel/trunk/core/syscall.inc b/kernel/trunk/core/syscall.inc index f916e89d6c..f9a0e9e4a8 100644 --- a/kernel/trunk/core/syscall.inc +++ b/kernel/trunk/core/syscall.inc @@ -138,6 +138,7 @@ iglobal dd sys_window_move ; 67-Window move or resize dd sys_internal_services ; 68-Some internal services dd sys_debug_services ; 69-Debug + dd file_system_v2 ; 70-Common file system interface, version 2 times 255 - ( ($-servetable) /4 ) dd undefined_syscall diff --git a/kernel/trunk/fs/fs_v2.inc b/kernel/trunk/fs/fs_v2.inc new file mode 100644 index 0000000000..deffcec322 --- /dev/null +++ b/kernel/trunk/fs/fs_v2.inc @@ -0,0 +1,9 @@ +;**************************************************************************** +;* System service for filesystem call, version 2 +;* +;* 22.04.05 Reserved call function 70 - Mario79 +;**************************************************************************** + +file_system_v2: + + ret diff --git a/kernel/trunk/kernel32.inc b/kernel/trunk/kernel32.inc index f04774d5dc..564a2fd8c3 100644 --- a/kernel/trunk/kernel32.inc +++ b/kernel/trunk/kernel32.inc @@ -148,7 +148,8 @@ include "boot/shutdown.inc" ; shutdown or restart include "fs/fs.inc" ; syscall include "fs/fat32.inc" ; read / write for fat32 filesystem include "fs/fat12.inc" ; read / write for fat12 filesystem -include "blkdev/rd.inc" ; ramdisk read /write +include "blkdev/rd.inc" ; ramdisk read /write +include "fs/fs_v2.inc" ; syscall, version 2 ; sound