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:
parent
aa228cfc7c
commit
253cb702a7
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user