nemu,ioe,audio: add dummy init function
This commit is contained in:
parent
76d9da0789
commit
fa8c5ee458
2 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
|||
#define AUDIO_INIT_ADDR (AUDIO_ADDR + 0x10)
|
||||
#define AUDIO_COUNT_ADDR (AUDIO_ADDR + 0x14)
|
||||
|
||||
void __am_audio_init() {
|
||||
}
|
||||
|
||||
void __am_audio_config(AM_AUDIO_CONFIG_T *cfg) {
|
||||
cfg->present = false;
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
void __am_timer_init();
|
||||
void __am_gpu_init();
|
||||
void __am_audio_init();
|
||||
void __am_input_keybrd(AM_INPUT_KEYBRD_T *);
|
||||
void __am_timer_rtc(AM_TIMER_RTC_T *);
|
||||
void __am_timer_uptime(AM_TIMER_UPTIME_T *);
|
||||
|
@ -46,6 +47,7 @@ bool ioe_init() {
|
|||
if (!lut[i]) lut[i] = fail;
|
||||
__am_gpu_init();
|
||||
__am_timer_init();
|
||||
__am_audio_init();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue