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

Last change on this file since 791 was 791, checked in by meunier, 8 years ago
  • Added function realloc
  • Started to put the bootloader on 2 Big Pages (warning: does not work yet)
  • Fixed errors in the rosenfeld application
File size: 453 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 fscanf(x, ...)  ;
13    #define exit(x)         giet_pthread_exit(NULL)
14#endif
15
16
Note: See TracBrowser for help on using the repository browser.