forked from KolibriOS/kolibrios
fs.obj: new functions and dynamic buffer
git-svn-id: svn://kolibrios.org@5890 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
8e53fed57a
commit
2f5e4de57f
Binary file not shown.
@ -18,6 +18,9 @@
|
||||
dword read_pointer;
|
||||
dword read(dword path);
|
||||
|
||||
dword run_pointer;
|
||||
dword run(dword path,arg);
|
||||
|
||||
dword move_pointer;
|
||||
byte move(dword path1,path2);
|
||||
|
||||
@ -42,6 +45,14 @@
|
||||
return EAX;
|
||||
}
|
||||
|
||||
:dword FILE_SYSTEM_FUNCTION::run(dword path,arg)
|
||||
{
|
||||
dword tmp1 = path1;
|
||||
dword tmp2 = arg;
|
||||
run_pointer stdcall(tmp1,tmp2);
|
||||
return EAX;
|
||||
}
|
||||
|
||||
:qword FILE_SYSTEM_FUNCTION::get_size(dword path)
|
||||
{
|
||||
dword tmp = path;
|
||||
@ -75,6 +86,7 @@
|
||||
fs.move_pointer = library.get("fs.move");
|
||||
fs.copy_pointer = library.get("fs.copy");
|
||||
fs.read_pointer = library.get("fs.read");
|
||||
fs.run_pointer = library.get("fs.execute");
|
||||
__CHECK_FS__ = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user