source: soft/giet_vm/applications/rosenfeld/nrc2/include/nrc_os_config.h @ 772

Last change on this file since 772 was 772, checked in by meunier, 8 years ago
  • Ajout de l'application rosenfeld
  • Changement du nom du flag O_CREATE en O_CREAT
File size: 428 bytes
Line 
1
2#define TARGET_OS GIETVM
3
4#if TARGET_OS==GIETVM
5    #define printf(...)  giet_tty_printf(__VA_ARGS__)
6
7    #define open(x, y)      giet_fat_open(x, y)
8    #define close(x)        giet_fat_close(x)
9    #define read(x, y, z)   giet_fat_read(x, y, z)
10    #define write(x, y, z)  giet_fat_write(x, y, z)
11    #define fprintf(x, ...) giet_fat_fprintf(x, __VA_ARGS__)
12    #define exit(x)         giet_pthread_exit("exit...")
13#endif
14
15
Note: See TracBrowser for help on using the repository browser.