projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Merge branch 'namechange'
[yaffs2.git]
/
direct
/
basic-test
/
yaffsnewcfg.c
diff --git
a/direct/basic-test/yaffsnewcfg.c
b/direct/basic-test/yaffsnewcfg.c
index 6f1a9e409c98aee3c256f7cc369fee00203c16cc..a3548ef94e8f1bdfcbe131d69bf64e4e132133b1 100644
(file)
--- a/
direct/basic-test/yaffsnewcfg.c
+++ b/
direct/basic-test/yaffsnewcfg.c
@@
-23,7
+23,7
@@
#include "yaffs_trace.h"
#include "yramsim.h"
#include "yaffs_trace.h"
#include "yramsim.h"
-unsigned yaffs_trace
M
ask =
+unsigned yaffs_trace
_m
ask =
YAFFS_TRACE_SCAN |
YAFFS_TRACE_GC |
YAFFS_TRACE_SCAN |
YAFFS_TRACE_GC |
@@
-96,14
+96,14
@@
void yaffsfs_LocalInitialisation(void)
// Configuration
// Configuration
-int yaffs_
StartU
p(void)
+int yaffs_
start_u
p(void)
{
// Stuff to configure YAFFS
// Stuff to initialise anything special (eg lock semaphore).
yaffsfs_LocalInitialisation();
{
// Stuff to configure YAFFS
// Stuff to initialise anything special (eg lock semaphore).
yaffsfs_LocalInitialisation();
-
- yramsim_Create
Sim("yaffs2",200);
- yramsim_Create
Sim("yaffs2-2",5
0);
+ yramsim_CreateRamSim("yaffs2",1,1000,0,0);
+ yramsim_Create
RamSim("p0",0,0x400,1,0xff);
+ yramsim_Create
RamSim("p1",0,0x400,1,
0);
return 0;
}
return 0;
}