Mercurial > yaffs-ecoscentric
comparison packages/fs/yaffs/current/tests/yaffs6.c @ 339:73b6efce8c58
yaffs1-6: NA unless kernel present
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Fri, 13 Nov 2009 16:25:42 +0000 |
| parents | b254764fbeac |
| children |
comparison
equal
deleted
inserted
replaced
| 338:138c9338c4cc | 339:73b6efce8c58 |
|---|---|
| 50 // file names. | 50 // file names. |
| 51 // | 51 // |
| 52 //####DESCRIPTIONEND#### | 52 //####DESCRIPTIONEND#### |
| 53 // | 53 // |
| 54 //========================================================================== | 54 //========================================================================== |
| 55 | |
| 56 #include <pkgconf/system.h> | |
| 57 | |
| 58 #ifdef CYGPKG_KERNEL | |
| 55 | 59 |
| 56 #include <pkgconf/hal.h> | 60 #include <pkgconf/hal.h> |
| 57 #include <pkgconf/kernel.h> | 61 #include <pkgconf/kernel.h> |
| 58 #include <pkgconf/io_fileio.h> | 62 #include <pkgconf/io_fileio.h> |
| 59 | 63 |
| 963 cyg_thread_resume(thread_handle); | 967 cyg_thread_resume(thread_handle); |
| 964 | 968 |
| 965 cyg_scheduler_start(); | 969 cyg_scheduler_start(); |
| 966 } | 970 } |
| 967 | 971 |
| 972 #else // CYGPKG_KERNEL | |
| 973 | |
| 974 #include <cyg/infra/testcase.h> | |
| 975 | |
| 976 externC void cyg_start(void) | |
| 977 { | |
| 978 CYG_TEST_NA("Needs CYGPKG_KERNEL"); | |
| 979 } | |
| 980 | |
| 981 #endif | |
| 982 | |
| 968 // ------------------------------------------------------------------------- | 983 // ------------------------------------------------------------------------- |
| 969 // EOF yaffs6.c | 984 // EOF yaffs6.c |
