_write working, _fstat upload/download not working
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
@@ -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
48
runtime/fileIo/fileio.s
Normal 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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user