summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bios_emulator/x86emu/decode.c')
-rw-r--r--drivers/bios_emulator/x86emu/decode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bios_emulator/x86emu/decode.c b/drivers/bios_emulator/x86emu/decode.c
index 1e2dcfe4b2..879f0a06d1 100644
--- a/drivers/bios_emulator/x86emu/decode.c
+++ b/drivers/bios_emulator/x86emu/decode.c
@@ -39,6 +39,8 @@
#include "x86emu/x86emui.h"
+#if defined(CONFIG_BIOSEMU)
+
/*----------------------------- Implementation ----------------------------*/
/****************************************************************************
@@ -1142,3 +1144,5 @@ unsigned decode_rmXX_address(int mod, int rm)
return decode_rm01_address(rm);
return decode_rm10_address(rm);
}
+
+#endif