Changeset 663 for soft/giet_vm/giet_libs
- Timestamp:
- Jul 27, 2015, 5:56:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/stdio.h
r661 r663 12 12 #ifndef _STDIO_H 13 13 #define _STDIO_H 14 15 #include "giet_fat32/fat32_shared.h" 14 16 15 17 // These define must be synchronised with … … 83 85 #define SYSCALL_COPROC_RUN 0x3E 84 86 #define SYSCALL_COPROC_RELEASE 0x3F 85 86 ////////////////////////////////////////////////////////////////////////////87 // These define must be synchronised vith values defined in fat32.h88 ////////////////////////////////////////////////////////////////////////////89 90 #ifndef _FAT32_SHARED91 #define _FAT32_SHARED92 typedef struct fat_file_info_s93 {94 unsigned int size;95 unsigned int offset;96 unsigned int is_dir;97 } fat_file_info_t;98 99 typedef struct fat_dirent_s100 {101 unsigned int cluster;102 unsigned int size;103 unsigned int is_dir;104 char name[36];105 } fat_dirent_t;106 107 #define SEEK_SET 0 // argument for giet_fat_lseek()108 #define SEEK_CUR 1 // argument for giet_fat_lseek109 110 #define O_RDONLY 0x01 // argument for giet_fat_open()111 #define O_TRUNC 0x10 // argument for giet_fat_open()112 #define O_CREATE 0x20 // argument for giet_fat_open()113 #endif // _FAT32_SHARED114 87 115 88 ////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.