X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fbasic-test%2Fyaffsnewcfg.c;h=60dcf022de6d682c0a242501ad46566896615c3a;hp=6f1a9e409c98aee3c256f7cc369fee00203c16cc;hb=250248634f57704c06d3ae5050febb33ad5c67d8;hpb=4a700fe570d217c2c5df87070db7c2652bc0eaaf diff --git a/direct/basic-test/yaffsnewcfg.c b/direct/basic-test/yaffsnewcfg.c index 6f1a9e4..60dcf02 100644 --- a/direct/basic-test/yaffsnewcfg.c +++ b/direct/basic-test/yaffsnewcfg.c @@ -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; }