Added a function for setting the I/O semantics on a Coffee file descriptor. Changed the configuration parameters slightly and updated the platform definitions to reflect this change.

This commit is contained in:
Nicolas Tsiftes 2011-02-09 15:03:57 +01:00
parent 8d55a68ebe
commit 39ea9405bb
4 changed files with 108 additions and 12 deletions

View file

@ -55,6 +55,7 @@
#define COFFEE_LOG_SIZE 8192
#define COFFEE_LOG_TABLE_LIMIT 256
#define COFFEE_MICRO_LOGS 0
#define COFFEE_IO_SEMANTICS 1
#define COFFEE_WRITE(buf, size, offset) \
xmem_pwrite((char *)(buf), (size), COFFEE_START + (offset))