DiskTool - Fiddling towards compiling
authorJohn Hodge <[email protected]>
Sat, 7 Jul 2012 15:30:32 +0000 (23:30 +0800)
committerJohn Hodge <[email protected]>
Sat, 7 Jul 2012 15:30:32 +0000 (23:30 +0800)
Tools/DiskTool/src/threads.c
Tools/DiskTool/src/time.c [new file with mode: 0644]
Tools/DiskTool/src/vfs_handles.c

index b5c2edf..79ec4c6 100644 (file)
@@ -2,8 +2,19 @@
  * 
  */
 #include <acess.h>
+#include <threads.h>
 
 // === CODE ===
+tThread *Proc_GetCurThread(void)
+{
+       return NULL;
+}
+
+void Threads_PostEvent(tThread *Thread, Uint32 Events)
+{
+       
+}
+
 Uint32 Threads_WaitEvents(Uint32 Events)
 {
        Log_KernelPanic("Threads", "Can't use _WaitEvents in DiskTool");
diff --git a/Tools/DiskTool/src/time.c b/Tools/DiskTool/src/time.c
new file mode 100644 (file)
index 0000000..e69de29
index 53c932f..42fa659 100644 (file)
@@ -4,6 +4,11 @@
 #include <vfs_int.h>
 
 // === CODE ===
+int VFS_AllocHandle(int bKernel)
+{
+       return 0;
+}
+
 tVFS_Handle *VFS_GetHandle(int ID)
 {
        return NULL;

UCC git Repository :: git.ucc.asn.au