From 5e89a9d77576208d6d06b8dd9eea793d0f712093 Mon Sep 17 00:00:00 2001 From: nerd73 Date: Thu, 15 Apr 2021 23:34:53 -0600 Subject: [PATCH] fix more compile issues --- src/cpu/x86.c | 2 +- src/device/keyboard_at.c | 2 +- src/machine/machine.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpu/x86.c b/src/cpu/x86.c index bb8d86cf9..9ab8ce169 100644 --- a/src/cpu/x86.c +++ b/src/cpu/x86.c @@ -281,7 +281,7 @@ reset_common(int hard) smi_block = 0; if (hard) { - smbase = isam486dxl ? 0x00060000 : 0x00030000; + smbase = is_am486dxl ? 0x00060000 : 0x00030000; ppi_reset(); } in_sys = 0; diff --git a/src/device/keyboard_at.c b/src/device/keyboard_at.c index 33fff0d23..7c844ec15 100644 --- a/src/device/keyboard_at.c +++ b/src/device/keyboard_at.c @@ -1061,7 +1061,7 @@ write_output(atkbd_t *dev, uint8_t val) /* Pin 0 selected. */ softresetx86(); /*Pulse reset!*/ cpu_set_edx(); - smbase = isam486dxl ? 0x00060000 : 0x00030000; + smbase = is_am486dxl ? 0x00060000 : 0x00030000; } } /* Mask off the A20 stuff because we use mem_a20_key directly for that. */ diff --git a/src/machine/machine.c b/src/machine/machine.c index 76cd8d27b..685165f89 100644 --- a/src/machine/machine.c +++ b/src/machine/machine.c @@ -81,7 +81,7 @@ machine_init_ex(int m) /* Reset the memory state. */ mem_reset(); - smbase = isam486dxl ? 0x00060000 : 0x00030000; + smbase = is_am486dxl ? 0x00060000 : 0x00030000; lpt_init(); }