diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-02-07 18:30:50 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-02-23 20:23:52 +0100 |
commit | f6c26d33a4e15d966597bc9d66c1f33328a750af (patch) | |
tree | 5e0e4d0189c856010a78ce0b79cdc3c3cb5c1354 /firmware/include/file.h | |
parent | 46137ebd4d59d7a91d0b8d98d846a3fd2ec70f5c (diff) | |
download | rockbox-f6c26d33a4e15d966597bc9d66c1f33328a750af.tar.gz rockbox-f6c26d33a4e15d966597bc9d66c1f33328a750af.zip |
samsungypr0: Support or mounting the microsd
A thread polls the appropriate GPIO pin for sd card presence and mounts
using the mount system call.
Change-Id: I31ab41c4120f4af64eb6998b7e7b6f9051585efb
Diffstat (limited to 'firmware/include/file.h')
-rw-r--r-- | firmware/include/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h index 9b7f123999..77930864c7 100644 --- a/firmware/include/file.h +++ b/firmware/include/file.h @@ -43,6 +43,7 @@ # define creat(x,m) app_creat(x, m) # define remove(x) app_remove(x) # define rename(x,y) app_rename(x,y) +# define readlink(x,y,z) app_readlink(x,y,z) # if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) /* SDL overrides a few more */ # define read(x,y,z) sim_read(x,y,z) @@ -59,6 +60,7 @@ # define read(x,y,z) sim_read(x,y,z) # define write(x,y,z) sim_write(x,y,z) # define close(x) sim_close(x) +/* readlink() not used in the sim yet */ extern int sim_open(const char *name, int o, ...); extern int sim_creat(const char *name, mode_t mode); #endif |