_write working, _fstat upload/download not working

This commit is contained in:
felsabbagh3
2019-11-12 13:39:33 -05:00
parent ef83285c6c
commit ba3722c4bb
13 changed files with 25884 additions and 25609 deletions

View File

@@ -1,27 +0,0 @@
#include "fileio.h"
void __attribute__ ((section (".FileIO"))) vx_close()
{
}
void __attribute__ ((section (".FileIO"))) vx_fstat()
{
}
void __attribute__ ((section (".FileIO"))) vx_isatty()
{
}
void __attribute__ ((section (".FileIO"))) vx_read()
{
}
void __attribute__ ((section (".FileIO"))) vx_write()
{
}

View File

@@ -3,19 +3,19 @@
#define FILE_IOO
#include <sys/stat.h>
#include <errno.h>
#include <stdio.h>
// #include <sys/stat.h>
// #include <errno.h>
// #include <stdio.h>
void vx_close();
// void vx_close();
void vx_fstat();
// void vx_fstat();
void vx_isatty();
// void vx_isatty();
void vx_read();
// void vx_read();
void vx_write();
// void vx_write();

48
runtime/fileIo/fileio.s Normal file
View File

@@ -0,0 +1,48 @@
# .section .FileIO
# .type vx_close, @function
# .global vx_close
# vx_close:
# nop
# ret
# nop
# nop
# .type vx_fstat, @function
# .global vx_fstat
# vx_fstat:
# nop
# ret
# nop
# nop
# .type vx_isatty, @function
# .global vx_isatty
# vx_isatty:
# nop
# ret
# nop
# nop
# .type vx_read, @function
# .global vx_read
# vx_read:
# nop
# ret
# nop
# nop
# .type vx_write, @function
# .global vx_write
# vx_write:
# nop
# ret
# nop
# nop