##// END OF EJS Templates
Added Simulator target to run code on x86 and debug functions....
Added Simulator target to run code on x86 and debug functions. Fixed some bugs on terminal widget.

File last commit:

r63:68dfbccdd813 dev_alexis
r63:68dfbccdd813 dev_alexis
Show More
fs.c
25 lines | 491 B | text/x-c | CLexer
#include <stdint.h>
#include <streamdevices.h>
#include <stdio.h>
#include <bsp.h>
const int32_t __max_opened_files__ = __MAX_OPENED_FILES__;
volatile streamdevice* __opnfiles__[__MAX_OPENED_FILES__];
const int32_t __fs_root_size__ = __FS_ROOT_SIZE__;
int32_t __fs_root__[__FS_ROOT_SIZE__];
/*
void __init_fs()
{
int i=0;
for(i=0;i<__fs_root_size__;i++)
{
__fs_root__[i]=(int32_t)NULL;
}
for(i=0;i<__max_opened_files__ ;i++)
{
__opnfiles__[i]._stream=NULL;
}
}
*/