yaffs Trying to find a bug in timothy quick tests.
[yaffs2.git] / direct / basic-test / yaffsnewcfg.c
index 6f1a9e409c98aee3c256f7cc369fee00203c16cc..60dcf022de6d682c0a242501ad46566896615c3a 100644 (file)
@@ -23,7 +23,7 @@
 #include "yaffs_trace.h"
 #include "yramsim.h"
 
-unsigned yaffs_traceMask = 
+unsigned yaffs_trace_mask = 
 
        YAFFS_TRACE_SCAN |  
        YAFFS_TRACE_GC |
@@ -59,7 +59,7 @@ void yaffsfs_Unlock(void)
 {
 }
 
-__u32 yaffsfs_CurrentTime(void)
+u32 yaffsfs_CurrentTime(void)
 {
        return 0;
 }
@@ -96,14 +96,14 @@ void yaffsfs_LocalInitialisation(void)
 // Configuration
 
 
-int yaffs_StartUp(void)
+int yaffs_start_up(void)
 {
        // Stuff to configure YAFFS
        // Stuff to initialise anything special (eg lock semaphore).
        yaffsfs_LocalInitialisation();
-
-       yramsim_CreateSim("yaffs2",200);        
-       yramsim_CreateSim("yaffs2-2",50);
+       yramsim_CreateRamSim("yaffs2",1,1000,0,0);
+       yramsim_CreateRamSim("p0",0,0x400,1,0xff);
+       yramsim_CreateRamSim("p1",0,0x400,1,0);
        
        return 0;
 }