1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

small fix that fixes compilation issues on 'sim' and 'i386' targets

This commit is contained in:
Bogdan Marinescu 2010-11-13 23:33:59 +00:00
parent aa228cfc7c
commit 253cb702a7
3 changed files with 28 additions and 1 deletions

View File

@ -163,6 +163,19 @@ void platform_s_timer_delay( unsigned id, u32 delay_us )
}
u32 platform_s_timer_op( unsigned id, int op, u32 data )
{
return 0;
}
// ****************************************************************************
// "Dummy" CPU functions
int platform_cpu_set_global_interrupts( int status )
{
return 0;
}
int platform_cpu_get_global_interrupts()
{
return 0;
}

View File

@ -149,3 +149,17 @@ u32 platform_s_timer_op( unsigned id, int op, u32 data )
return 0;
}
// ****************************************************************************
// "Dummy" CPU functions
int platform_cpu_set_global_interrupts( int status )
{
return 0;
}
int platform_cpu_get_global_interrupts()
{
return 0;
}

View File

@ -15,7 +15,7 @@
#define BUILD_ROMFS
#define BUILD_CON_GENERIC
#define BUILD_TERM
#define BUILD_RFS
//#define BUILD_RFS
#define TERM_LINES 25
#define TERM_COLS 80