freemyipod r158 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r157‎ | r158 | r159 >
Date:14:21, 18 August 2010
Author:theseven
Status:new
Tags:
Comment:
Expose storage_get_info via the syscall interface
Modified paths:
  • /embios/trunk/export/syscallapi.h (modified) (history)
  • /embios/trunk/export/syscallwrappers.h (modified) (history)
  • /embios/trunk/syscallapi.c (modified) (history)

Diff [purge]

Index: embios/trunk/export/syscallwrappers.h
@@ -85,6 +85,7 @@
8686 #define shutdown(args...) __embios_syscall->shutdown(args)
8787 #define storage_read_sectors_md(args...) __embios_syscall->storage_read_sectors_md(args)
8888 #define storage_write_sectors_md(args...) __embios_syscall->storage_write_sectors_md(args)
 89+#define storage_get_info(args...) __embios_syscall->storage_get_info(args)
8990 #define strcasecmp(args...) __embios_syscall->strcasecmp(args)
9091 #define strncasecmp(args...) __embios_syscall->strncasecmp(args)
9192 #define strcasestr(args...) __embios_syscall->strcasestr(args)
Index: embios/trunk/export/syscallapi.h
@@ -130,6 +130,7 @@
131131 typeof(shutdown) *shutdown;
132132 typeof(storage_read_sectors_md) *storage_read_sectors_md;
133133 typeof(storage_write_sectors_md) *storage_write_sectors_md;
 134+ typeof(storage_get_info) *storage_get_info;
134135 typeof(strcasecmp) *strcasecmp;
135136 typeof(strncasecmp) *strncasecmp;
136137 typeof(strcasestr) *strcasestr;
Index: embios/trunk/syscallapi.c
@@ -132,6 +132,7 @@
133133 .filesize = filesize,
134134 .storage_read_sectors_md = storage_read_sectors_md,
135135 .storage_write_sectors_md = storage_write_sectors_md,
 136+ .storage_get_info = storage_get_info,
136137 #ifdef HAVE_HOTSWAP
137138 .disk_mount = disk_mount,
138139 .disk_unmount = disk_unmount,