newlib: don't depend on VFS names when populating the syscall table
This commit is contained in:
parent
b203ac7b02
commit
1f1ce38e5f
1 changed files with 10 additions and 10 deletions
|
@ -59,23 +59,23 @@ static struct syscall_stub_table s_stub_table = {
|
|||
._calloc_r = &_calloc_r,
|
||||
._abort = &abort,
|
||||
._system_r = &_system_r,
|
||||
._rename_r = &esp_vfs_rename,
|
||||
._rename_r = &_rename_r,
|
||||
._times_r = &_times_r,
|
||||
._gettimeofday_r = &_gettimeofday_r,
|
||||
._raise_r = &raise_r_stub,
|
||||
._unlink_r = &esp_vfs_unlink,
|
||||
._link_r = &esp_vfs_link,
|
||||
._stat_r = &esp_vfs_stat,
|
||||
._fstat_r = &esp_vfs_fstat,
|
||||
._unlink_r = &_unlink_r,
|
||||
._link_r = &_link_r,
|
||||
._stat_r = &_stat_r,
|
||||
._fstat_r = &_fstat_r,
|
||||
._sbrk_r = &_sbrk_r,
|
||||
._getpid_r = &_getpid_r,
|
||||
._kill_r = &_kill_r,
|
||||
._exit_r = NULL, // never called in ROM
|
||||
._close_r = &esp_vfs_close,
|
||||
._open_r = &esp_vfs_open,
|
||||
._write_r = (int (*)(struct _reent *r, int, const void *, int)) &esp_vfs_write,
|
||||
._lseek_r = (int (*)(struct _reent *r, int, int, int)) &esp_vfs_lseek,
|
||||
._read_r = (int (*)(struct _reent *r, int, void *, int)) &esp_vfs_read,
|
||||
._close_r = &_close_r,
|
||||
._open_r = &_open_r,
|
||||
._write_r = (int (*)(struct _reent *r, int, const void *, int)) &_write_r,
|
||||
._lseek_r = (int (*)(struct _reent *r, int, int, int)) &_lseek_r,
|
||||
._read_r = (int (*)(struct _reent *r, int, void *, int)) &_read_r,
|
||||
._lock_init = &_lock_init,
|
||||
._lock_init_recursive = &_lock_init_recursive,
|
||||
._lock_close = &_lock_close,
|
||||
|
|
Loading…
Reference in a new issue