yaffs More tests
[yaffs2.git] / direct / basic-test / yaffsnewcfg.c
index 6ee43b78137cc454b05d342f7445742488212d93..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,12 +96,12 @@ 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_CreateRamSim("yaffs2",1,200,0,0);
+       yramsim_CreateRamSim("yaffs2",1,1000,0,0);
        yramsim_CreateRamSim("p0",0,0x400,1,0xff);
        yramsim_CreateRamSim("p1",0,0x400,1,0);