> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 11:11:27 up 1 day,  1:25,  1 user,  load average: 0.38, 0.38, 0.30
This commit is contained in:
tracer-ics2023
2024-09-13 11:11:28 +08:00
committed by zzy
parent 0ee1ec5c6a
commit 67a1c2480b

View File

@ -23,7 +23,7 @@ static void __am_input_config(AM_INPUT_CONFIG_T *cfg) { cfg->present = true; }
static void __am_uart_config(AM_UART_CONFIG_T *cfg) { cfg->present = false; }
static void __am_net_config (AM_NET_CONFIG_T *cfg) { cfg->present = false; }
typedef void (*handler_t)(volatile void *buf);
typedef void (*handler_t)(void *buf);
static void *lut[128] = {
[AM_TIMER_CONFIG] = __am_timer_config,
[AM_TIMER_RTC ] = __am_timer_rtc,