git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15339 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
0f67a718fa
commit
9fa0d5ecf8
|
@ -990,7 +990,7 @@ void sb_api_stdio(struct port_extctx *ectxp) {
|
|||
ectxp->r3);
|
||||
break;
|
||||
case SB_POSIX_GETDENTS:
|
||||
ectxp->r0 = sbPosixGetdents(ectxp->r1,
|
||||
ectxp->r0 = sb_posix_getdents(ectxp->r1,
|
||||
(void *)ectxp->r2,
|
||||
(size_t)ectxp->r3);
|
||||
break;
|
||||
|
|
|
@ -257,7 +257,7 @@ off_t sb_posix_lseek(int fd, off_t offset, int whence) {
|
|||
whence);;
|
||||
}
|
||||
|
||||
ssize_t sbPosixGetdents(int fd, void *buf, size_t count) {
|
||||
ssize_t sb_posix_getdents(int fd, void *buf, size_t count) {
|
||||
sb_class_t *sbp = (sb_class_t *)chThdGetSelfX()->ctx.syscall.p;
|
||||
vfs_direntry_info_t *dip;
|
||||
msg_t ret;
|
||||
|
|
|
@ -67,7 +67,7 @@ extern "C" {
|
|||
ssize_t sb_posix_read(int fd, void *buf, size_t count);
|
||||
ssize_t sb_posix_write(int fd, const void *buf, size_t count);
|
||||
off_t sb_posix_lseek(int fd, off_t offset, int whence);
|
||||
ssize_t sbPosixGetdents(int fd, void *buf, size_t count);
|
||||
ssize_t sb_posix_getdents(int fd, void *buf, size_t count);
|
||||
#if SB_CFG_ENABLE_VFS == TRUE
|
||||
void sbPosixRegisterDescriptor(sb_class_t *sbp, int fd, vfs_node_c *np);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue