summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-04-03 12:48:12 +0200
committerJan Beulich <jbeulich@suse.com>2023-04-03 12:48:12 +0200
commitde7d113212b0e28423b6d0e983aa164e76b415b7 (patch)
treebbf545f1b8447337fa332ad12eeaadf08a5011c7 /tools
parentc80243f94386f64f85c5d92ef0bb19dc406eefc2 (diff)
downloadxen-de7d113212b0e28423b6d0e983aa164e76b415b7.tar.gz
x86emul: move various utility functions to separate source files
Many are needed by the hypervisor only - have one file for this purpose. Some are also needed by the harness (but not the fuzzer) - have another file for these. Code moved gets slightly adjusted in a few places, e.g. replacing "state" by "s" (like was done for other that has been split off). Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/tests/x86_emulator/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tests/x86_emulator/Makefile b/tools/tests/x86_emulator/Makefile
index a8c140e83c..f5d88fb9f6 100644
--- a/tools/tests/x86_emulator/Makefile
+++ b/tools/tests/x86_emulator/Makefile
@@ -252,7 +252,7 @@ endif # 32-bit override
OBJS := x86-emulate.o cpuid.o test_x86_emulator.o evex-disp8.o predicates.o wrappers.o
OBJS += x86_emulate/0f01.o x86_emulate/0fae.o x86_emulate/0fc7.o
-OBJS += x86_emulate/blk.o x86_emulate/decode.o x86_emulate/fpu.o
+OBJS += x86_emulate/blk.o x86_emulate/decode.o x86_emulate/fpu.o x86_emulate/util.o
$(TARGET): $(OBJS)
$(HOSTCC) $(HOSTCFLAGS) -o $@ $^