Changeset 98418 in vbox for trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk
- Timestamp:
- Feb 1, 2023 9:29:03 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155663
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk
r98103 r98418 167 167 168 168 ifeq ($(USERNAME),birdxx) 169 if1of ($(KBUILD_HOST).$(KBUILD_HOST_ARCH), win.amd64)170 #171 # Generated instruction tests (work in progress).172 #173 174 VBOX_PATH_VBINSTST = $(PATH_ROOT)/src/VBox/VMM/testcase/Instructions175 VBOX_VBINSTST_GEN= $(VBOX_PATH_VBINSTST)/InstructionTestGen.py176 VBOX_BOOTSECTOR2_VBINSTST_AMD64_GEN= $(VBOX_BLD_PYTHON) $(VBOX_VBINSTST_GEN) \177 178 VBOX_BOOTSECTOR2_VBINSTST_AMD64_FILES = $(shell $(VBOX_BOOTSECTOR2_VBINSTST_AMD64_GEN) --makefile-mode)179 180 #$$(bootsectors_0_OUTDIR)/VBInsTst.ts + $$(VBOX_BOOTSECTOR2_VBINSTST_AMD64_FILES): $(VBOX_VBINSTST_GEN) | $$(dir $$@)181 # $(VBOX_BOOTSECTOR2_VBINSTST_AMD64_GEN)182 # $(APPEND) -t $@183 #184 #bootsectors_SOURCES += $(bootsectors_0_OUTDIR)/bootsector2-vbinstst-1.img185 #bootsectors_CLEAN += $(VBOX_BOOTSECTOR2_VBINSTST_AMD64_FILES)186 #187 #$$(bootsectors_0_OUTDIR)/bootsector2-vbinstst-1.img: \188 # $(PATH_SUB_CURRENT)/bootsector2-vbinstst-64-1.asm \189 # $$(bootsectors_0_OUTDIR)/VBInsTst-64.asm190 # $(TOOL_$(VBOX_ASTOOL)_AS) -f bin -D ASM_FORMAT_BIN -I $(dir $@) -I $(PATH_ROOT)/include -I $(VBOX_PATH_VBINSTST) -o $@ -L nasm -l [email protected] $<191 192 MISCBINS += bootsector2-vbinstst-kernel193 bootsector2-vbinstst-kernel_TEMPLATE = VBoxBsTestImg194 bootsector2-vbinstst-kernel_SOURCES = \195 bootsector2-vbinstst-kernel.asm196 197 198 MISCBINS += bootsector2-vbinstst-64-1199 bootsector2-vbinstst-64-1_TEMPLATE = VBoxBsTestImg200 bootsector2-vbinstst-64-1_DEFS = \201 BS2_BIG_IMAGE_LM64 \202 BS2_BIG_IMAGE_GEN_SOURCE_FILE=bs2-vbinstst-64-1.asm \203 BS2_BIG_IMAGE_GEN_TEST_NAME=\"bs2-vbinstst-64-1\"204 bootsector2-vbinstst-64-1_INCS = $(bootsector2-vbinstst-64-1_0_OUTDIR)/205 bootsector2-vbinstst-64-1_SOURCES = \206 bootsector2-vbinstst-kernel.asm \207 bootsector2-vbinstst-big-template.asm208 bootsector2-vbinstst-64-1_INTERMEDIATES = \209 $(bootsector2-vbinstst-64-1_0_OUTDIR)/bs2-vbinstst-64-1.asm210 bootsector2-vbinstst-64-1_CLEAN = \211 $(bootsector2-vbinstst-64-1_0_OUTDIR)/bs2-vbinstst-64-1.asm212 213 $$(bootsector2-vbinstst-64-1_0_OUTDIR)/bs2-vbinstst-64-1.asm: $(VBOX_VBINSTST_GEN) | $$(dir $$@)169 if1of ($(KBUILD_HOST).$(KBUILD_HOST_ARCH), win.amd64) 170 # 171 # Generated instruction tests (work in progress). 172 # 173 174 VBOX_PATH_VBINSTST = $(PATH_ROOT)/src/VBox/VMM/testcase/Instructions 175 VBOX_VBINSTST_GEN = $(VBOX_PATH_VBINSTST)/InstructionTestGen.py 176 VBOX_BOOTSECTOR2_VBINSTST_AMD64_GEN = $(VBOX_BLD_PYTHON) $(VBOX_VBINSTST_GEN) \ 177 --split 3 --target bs2-r0-64 --output-base $(bootsectors_0_OUTDIR)/VBInsTst-64 --test-size tiny 178 VBOX_BOOTSECTOR2_VBINSTST_AMD64_FILES = $(shell $(VBOX_BOOTSECTOR2_VBINSTST_AMD64_GEN) --makefile-mode) 179 180 #$$(bootsectors_0_OUTDIR)/VBInsTst.ts + $$(VBOX_BOOTSECTOR2_VBINSTST_AMD64_FILES): $(VBOX_VBINSTST_GEN) | $$(dir $$@) 181 # $(VBOX_BOOTSECTOR2_VBINSTST_AMD64_GEN) 182 # $(APPEND) -t $@ 183 # 184 #bootsectors_SOURCES += $(bootsectors_0_OUTDIR)/bootsector2-vbinstst-1.img 185 #bootsectors_CLEAN += $(VBOX_BOOTSECTOR2_VBINSTST_AMD64_FILES) 186 # 187 #$$(bootsectors_0_OUTDIR)/bootsector2-vbinstst-1.img: \ 188 # $(PATH_SUB_CURRENT)/bootsector2-vbinstst-64-1.asm \ 189 # $$(bootsectors_0_OUTDIR)/VBInsTst-64.asm 190 # $(TOOL_$(VBOX_ASTOOL)_AS) -f bin -D ASM_FORMAT_BIN -I $(dir $@) -I $(PATH_ROOT)/include -I $(VBOX_PATH_VBINSTST) -o $@ -L nasm -l [email protected] $< 191 192 MISCBINS += bootsector2-vbinstst-kernel 193 bootsector2-vbinstst-kernel_TEMPLATE = VBoxBsTestImg 194 bootsector2-vbinstst-kernel_SOURCES = \ 195 bootsector2-vbinstst-kernel.asm 196 197 198 MISCBINS += bootsector2-vbinstst-64-1 199 bootsector2-vbinstst-64-1_TEMPLATE = VBoxBsTestImg 200 bootsector2-vbinstst-64-1_DEFS = \ 201 BS2_BIG_IMAGE_LM64 \ 202 BS2_BIG_IMAGE_GEN_SOURCE_FILE=bs2-vbinstst-64-1.asm \ 203 BS2_BIG_IMAGE_GEN_TEST_NAME=\"bs2-vbinstst-64-1\" 204 bootsector2-vbinstst-64-1_INCS = $(bootsector2-vbinstst-64-1_0_OUTDIR)/ 205 bootsector2-vbinstst-64-1_SOURCES = \ 206 bootsector2-vbinstst-kernel.asm \ 207 bootsector2-vbinstst-big-template.asm 208 bootsector2-vbinstst-64-1_INTERMEDIATES = \ 209 $(bootsector2-vbinstst-64-1_0_OUTDIR)/bs2-vbinstst-64-1.asm 210 bootsector2-vbinstst-64-1_CLEAN = \ 211 $(bootsector2-vbinstst-64-1_0_OUTDIR)/bs2-vbinstst-64-1.asm 212 213 $$(bootsector2-vbinstst-64-1_0_OUTDIR)/bs2-vbinstst-64-1.asm: $(VBOX_VBINSTST_GEN) | $$(dir $$@) 214 214 $(REDIRECT) -0 /dev/null -- $(VBOX_BLD_PYTHON) $(VBOX_VBINSTST_GEN) --target bs2-r0-64-big --output-base $(basename $@) --test-size medium 215 215 216 MISCBINS += bootsector2-vbinstst-32-1217 bootsector2-vbinstst-32-1_TEMPLATE = VBoxBsTestImg218 bootsector2-vbinstst-32-1_DEFS = \219 BS2_BIG_IMAGE_PP32 \220 BS2_BIG_IMAGE_GEN_SOURCE_FILE=bs2-vbinstst-32-1.asm \221 BS2_BIG_IMAGE_GEN_TEST_NAME=\"bs2-vbinstst-32-1\"222 bootsector2-vbinstst-32-1_INCS = $(bootsector2-vbinstst-32-1_0_OUTDIR)/223 bootsector2-vbinstst-32-1_SOURCES = \224 bootsector2-vbinstst-kernel.asm \225 bootsector2-vbinstst-big-template.asm226 bootsector2-vbinstst-32-1_INTERMEDIATES = \227 $(bootsector2-vbinstst-32-1_0_OUTDIR)/bs2-vbinstst-32-1.asm228 bootsector2-vbinstst-32-1_CLEAN = \229 $(bootsector2-vbinstst-32-1_0_OUTDIR)/bs2-vbinstst-32-1.asm230 231 $$(bootsector2-vbinstst-32-1_0_OUTDIR)/bs2-vbinstst-32-1.asm: $(VBOX_VBINSTST_GEN) | $$(dir $$@)216 MISCBINS += bootsector2-vbinstst-32-1 217 bootsector2-vbinstst-32-1_TEMPLATE = VBoxBsTestImg 218 bootsector2-vbinstst-32-1_DEFS = \ 219 BS2_BIG_IMAGE_PP32 \ 220 BS2_BIG_IMAGE_GEN_SOURCE_FILE=bs2-vbinstst-32-1.asm \ 221 BS2_BIG_IMAGE_GEN_TEST_NAME=\"bs2-vbinstst-32-1\" 222 bootsector2-vbinstst-32-1_INCS = $(bootsector2-vbinstst-32-1_0_OUTDIR)/ 223 bootsector2-vbinstst-32-1_SOURCES = \ 224 bootsector2-vbinstst-kernel.asm \ 225 bootsector2-vbinstst-big-template.asm 226 bootsector2-vbinstst-32-1_INTERMEDIATES = \ 227 $(bootsector2-vbinstst-32-1_0_OUTDIR)/bs2-vbinstst-32-1.asm 228 bootsector2-vbinstst-32-1_CLEAN = \ 229 $(bootsector2-vbinstst-32-1_0_OUTDIR)/bs2-vbinstst-32-1.asm 230 231 $$(bootsector2-vbinstst-32-1_0_OUTDIR)/bs2-vbinstst-32-1.asm: $(VBOX_VBINSTST_GEN) | $$(dir $$@) 232 232 $(REDIRECT) -0 /dev/null -- $(VBOX_BLD_PYTHON) $(VBOX_VBINSTST_GEN) --target bs2-r0-32-big --output-base $(basename $@) --test-size medium 233 233 … … 237 237 238 238 ifdef VBOX_WITH_BS3KIT 239 #240 # Bs3kit241 #242 243 #244 # APIC245 #246 MISCBINS += bs3-apic-1247 bs3-apic-1_TEMPLATE = VBoxBS3KitImg248 bs3-apic-1_SOURCES= \249 bs3kit/bs3-first-rm.asm \250 bs3-apic-1.c \251 bs3-apic-1-32.c32252 253 254 # CPU basics #2 (first being bootsector2-cpu-basic-1).255 MISCBINS += bs3-cpu-basic-2256 bs3-cpu-basic-2_TEMPLATE = VBoxBS3KitImg257 bs3-cpu-basic-2_INCS= .258 bs3-cpu-basic-2_DEFS =BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-basic-2-template.c259 bs3-cpu-basic-2_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-basic-2-template.c260 bs3-cpu-basic-2_SOURCES = \261 bs3kit/bs3-first-rm.asm \262 bs3-cpu-basic-2.c \263 bs3-cpu-basic-2-x0.c \264 bs3-cpu-basic-2-32.c32 \265 bs3-cpu-basic-2-pf.c32 \266 bs3-cpu-basic-2-asm.asm \267 268 269 270 bs3-cpu-basic-2-template.o:: \271 $$(bs3-cpu-basic-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate-x0.o16 \272 $$(bs3-cpu-basic-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \273 $$(bs3-cpu-basic-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \274 $$(bs3-cpu-basic-2_0_OUTDIR)/bs3-cpu-basic-2-asm.o16275 276 #277 # CPU weird stuff #1.278 #279 MISCBINS += bs3-cpu-weird-1280 bs3-cpu-weird-1_TEMPLATE = VBoxBS3KitImg281 bs3-cpu-weird-1_INCS= .282 bs3-cpu-weird-1_SOURCES = \283 bs3kit/bs3-first-rm.asm \284 bs3-cpu-weird-1.c \285 bs3-cpu-weird-1-x0.c \286 bs3-cpu-weird-1-asm.asm287 288 #289 # 64-bit CPU state #1.290 #291 MISCBINS += bs3-cpu-state64-1292 bs3-cpu-state64-1_TEMPLATE = VBoxBS3KitImg293 bs3-cpu-state64-1_INCS= .294 bs3-cpu-state64-1_SOURCES = \295 bs3kit/bs3-first-init-all-lm64.asm \296 bs3-cpu-state64-1.c64 \297 bs3-cpu-state64-1-asm.asm298 299 #300 # FPU state corruption checker.301 #302 MISCBINS += bs3-fpustate-1303 bs3-fpustate-1_TEMPLATE = VBoxBS3KitImg304 bs3-fpustate-1_INCS= .305 bs3-fpustate-1_DEFS =BS3_CMN_INSTANTIATE_FILE1=bs3-fpustate-1-template.c306 bs3-fpustate-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-fpustate-1-template.c307 bs3-fpustate-1_SOURCES = \308 bs3kit/bs3-first-rm.asm \309 bs3-fpustate-1.c \310 311 312 313 bs3-fpustate-1-asm.asm314 bs3-fpustate-1-template.o:: \315 $$(bs3-fpustate-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o16 \316 $$(bs3-fpustate-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \317 $$(bs3-fpustate-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \318 $$(bs3-fpustate-1_0_OUTDIR)/bs3-fpustate-1-asm.o16319 320 #321 # CPU instruction decoding experiments.322 #323 MISCBINS += bs3-cpu-decoding-1324 bs3-cpu-decoding-1_TEMPLATE = VBoxBS3KitImg325 bs3-cpu-decoding-1_INCS= .326 bs3-cpu-decoding-1_DEFS =BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-decoding-1-template.c327 bs3-cpu-decoding-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-decoding-1-template.c328 bs3-cpu-decoding-1_SOURCES = \329 bs3kit/bs3-first-init-all-pp32.asm \330 bs3-cpu-decoding-1.c32 \331 bs3-cpu-decoding-1-asm.asm332 # bs3kit/bs3-cmn-instantiate.c16 \333 # bs3kit/bs3-cmn-instantiate.c32 \334 # bs3kit/bs3-cmn-instantiate.c64335 bs3-cpu-decoding-1-template.o:: \336 $$(bs3-cpu-decoding-1_0_OUTDIR)/bs3-cpu-decoding-1-asm.o16337 # $$(bs3-cpu-decoding-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o16 \338 # $$(bs3-cpu-decoding-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \339 # $$(bs3-cpu-decoding-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \340 341 342 #343 # CPU instructions #2 (first being bootsector2-cpu-instr-1).344 #345 MISCBINS += bs3-cpu-instr-2346 bs3-cpu-instr-2_TEMPLATE = VBoxBS3KitImg347 bs3-cpu-instr-2_INCS= .348 bs3-cpu-instr-2_DEFS =BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-instr-2-template.c349 bs3-cpu-instr-2_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-instr-2-template.c350 bs3-cpu-instr-2_SOURCES = \351 bs3kit/bs3-first-rm.asm \352 bs3-cpu-instr-2.c \353 bs3-cpu-instr-2-asm.asm \354 355 356 357 bs3-cpu-instr-2-template.o:: \358 $$(bs3-cpu-instr-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate-x0.o16 \359 $$(bs3-cpu-instr-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \360 $$(bs3-cpu-instr-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \361 $$(bs3-cpu-instr-2_0_OUTDIR)/bs3-cpu-instr-2-asm.o16362 363 #364 # CPU instructions #3 - SSE, ++.365 #366 MISCBINS += bs3-cpu-instr-3367 bs3-cpu-instr-3_TEMPLATE = VBoxBS3KitImg368 bs3-cpu-instr-3_INCS= .369 bs3-cpu-instr-3_SOURCES = \370 bs3kit/bs3-first-init-all-pe32.asm \371 bs3-cpu-instr-3.c32 \372 bs3-cpu-instr-3-asm.asm373 bs3-cpu-instr-3-template.o:: \374 $$(bs3-cpu-instr-3_0_OUTDIR)/bs3-cpu-instr-3-asm.o16375 376 #377 # CPU generated instruction tests #1378 #379 MISCBINS += bs3-cpu-generated-1380 bs3-cpu-generated-1_TEMPLATE = VBoxBS3KitImg381 bs3-cpu-generated-1_INCS = .382 bs3-cpu-generated-1_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-generated-1-template.c383 bs3-cpu-generated-1_SOURCES = \384 bs3kit/bs3-first-rm.asm \385 bs3-cpu-generated-1.c \386 bs3-cpu-generated-1-asm.asm \387 388 389 390 $(bs3-cpu-generated-1_0_OUTDIR)/bs3-cpu-generated-1-data.c16391 bs3-cpu-generated-1_CLEAN = $(bs3-cpu-generated-1_0_OUTDIR)/bs3-cpu-generated-1-data.c16392 393 bs3-cpu-generated-1-template.o:: \394 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate-x0.o16 \395 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \396 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \397 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3-cpu-generated-1-asm.o16398 399 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3-cpu-generated-1-data.c16: \400 $(PATH_SUB_CURRENT)/bs3-cpu-generated-1-data.py \401 $(PATH_SUB_CURRENT)/../../VMM/VMMAll/IEMAllInstructionsPython.py \402 $(PATH_SUB_CURRENT)/../../VMM/VMMAll/IEMAllInstructions*.cpp.h \403 239 # 240 # Bs3kit 241 # 242 243 # 244 # APIC 245 # 246 MISCBINS += bs3-apic-1 247 bs3-apic-1_TEMPLATE = VBoxBS3KitImg 248 bs3-apic-1_SOURCES = \ 249 bs3kit/bs3-first-rm.asm \ 250 bs3-apic-1.c \ 251 bs3-apic-1-32.c32 252 253 254 # CPU basics #2 (first being bootsector2-cpu-basic-1). 255 MISCBINS += bs3-cpu-basic-2 256 bs3-cpu-basic-2_TEMPLATE = VBoxBS3KitImg 257 bs3-cpu-basic-2_INCS = . 258 bs3-cpu-basic-2_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-basic-2-template.c 259 bs3-cpu-basic-2_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-basic-2-template.c 260 bs3-cpu-basic-2_SOURCES = \ 261 bs3kit/bs3-first-rm.asm \ 262 bs3-cpu-basic-2.c \ 263 bs3-cpu-basic-2-x0.c \ 264 bs3-cpu-basic-2-32.c32 \ 265 bs3-cpu-basic-2-pf.c32 \ 266 bs3-cpu-basic-2-asm.asm \ 267 bs3kit/bs3-cmn-instantiate-x0.c16 \ 268 bs3kit/bs3-cmn-instantiate.c32 \ 269 bs3kit/bs3-cmn-instantiate.c64 270 bs3-cpu-basic-2-template.o:: \ 271 $$(bs3-cpu-basic-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate-x0.o16 \ 272 $$(bs3-cpu-basic-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \ 273 $$(bs3-cpu-basic-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \ 274 $$(bs3-cpu-basic-2_0_OUTDIR)/bs3-cpu-basic-2-asm.o16 275 276 # 277 # CPU weird stuff #1. 278 # 279 MISCBINS += bs3-cpu-weird-1 280 bs3-cpu-weird-1_TEMPLATE = VBoxBS3KitImg 281 bs3-cpu-weird-1_INCS = . 282 bs3-cpu-weird-1_SOURCES = \ 283 bs3kit/bs3-first-rm.asm \ 284 bs3-cpu-weird-1.c \ 285 bs3-cpu-weird-1-x0.c \ 286 bs3-cpu-weird-1-asm.asm 287 288 # 289 # 64-bit CPU state #1. 290 # 291 MISCBINS += bs3-cpu-state64-1 292 bs3-cpu-state64-1_TEMPLATE = VBoxBS3KitImg 293 bs3-cpu-state64-1_INCS = . 294 bs3-cpu-state64-1_SOURCES = \ 295 bs3kit/bs3-first-init-all-lm64.asm \ 296 bs3-cpu-state64-1.c64 \ 297 bs3-cpu-state64-1-asm.asm 298 299 # 300 # FPU state corruption checker. 301 # 302 MISCBINS += bs3-fpustate-1 303 bs3-fpustate-1_TEMPLATE = VBoxBS3KitImg 304 bs3-fpustate-1_INCS = . 305 bs3-fpustate-1_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-fpustate-1-template.c 306 bs3-fpustate-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-fpustate-1-template.c 307 bs3-fpustate-1_SOURCES = \ 308 bs3kit/bs3-first-rm.asm \ 309 bs3-fpustate-1.c \ 310 bs3kit/bs3-cmn-instantiate.c16 \ 311 bs3kit/bs3-cmn-instantiate.c32 \ 312 bs3kit/bs3-cmn-instantiate.c64 \ 313 bs3-fpustate-1-asm.asm 314 bs3-fpustate-1-template.o:: \ 315 $$(bs3-fpustate-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o16 \ 316 $$(bs3-fpustate-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \ 317 $$(bs3-fpustate-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \ 318 $$(bs3-fpustate-1_0_OUTDIR)/bs3-fpustate-1-asm.o16 319 320 # 321 # CPU instruction decoding experiments. 322 # 323 MISCBINS += bs3-cpu-decoding-1 324 bs3-cpu-decoding-1_TEMPLATE = VBoxBS3KitImg 325 bs3-cpu-decoding-1_INCS = . 326 bs3-cpu-decoding-1_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-decoding-1-template.c 327 bs3-cpu-decoding-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-decoding-1-template.c 328 bs3-cpu-decoding-1_SOURCES = \ 329 bs3kit/bs3-first-init-all-pp32.asm \ 330 bs3-cpu-decoding-1.c32 \ 331 bs3-cpu-decoding-1-asm.asm 332 # bs3kit/bs3-cmn-instantiate.c16 \ 333 # bs3kit/bs3-cmn-instantiate.c32 \ 334 # bs3kit/bs3-cmn-instantiate.c64 335 bs3-cpu-decoding-1-template.o:: \ 336 $$(bs3-cpu-decoding-1_0_OUTDIR)/bs3-cpu-decoding-1-asm.o16 337 # $$(bs3-cpu-decoding-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o16 \ 338 # $$(bs3-cpu-decoding-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \ 339 # $$(bs3-cpu-decoding-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \ 340 341 342 # 343 # CPU instructions #2 (first being bootsector2-cpu-instr-1). 344 # 345 MISCBINS += bs3-cpu-instr-2 346 bs3-cpu-instr-2_TEMPLATE = VBoxBS3KitImg 347 bs3-cpu-instr-2_INCS = . 348 bs3-cpu-instr-2_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-instr-2-template.c 349 bs3-cpu-instr-2_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-instr-2-template.c 350 bs3-cpu-instr-2_SOURCES = \ 351 bs3kit/bs3-first-rm.asm \ 352 bs3-cpu-instr-2.c \ 353 bs3-cpu-instr-2-asm.asm \ 354 bs3kit/bs3-cmn-instantiate-x0.c16 \ 355 bs3kit/bs3-cmn-instantiate.c32 \ 356 bs3kit/bs3-cmn-instantiate.c64 357 bs3-cpu-instr-2-template.o:: \ 358 $$(bs3-cpu-instr-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate-x0.o16 \ 359 $$(bs3-cpu-instr-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \ 360 $$(bs3-cpu-instr-2_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \ 361 $$(bs3-cpu-instr-2_0_OUTDIR)/bs3-cpu-instr-2-asm.o16 362 363 # 364 # CPU instructions #3 - SSE, ++. 365 # 366 MISCBINS += bs3-cpu-instr-3 367 bs3-cpu-instr-3_TEMPLATE = VBoxBS3KitImg 368 bs3-cpu-instr-3_INCS = . 369 bs3-cpu-instr-3_SOURCES = \ 370 bs3kit/bs3-first-init-all-pe32.asm \ 371 bs3-cpu-instr-3.c32 \ 372 bs3-cpu-instr-3-asm.asm 373 bs3-cpu-instr-3-template.o:: \ 374 $$(bs3-cpu-instr-3_0_OUTDIR)/bs3-cpu-instr-3-asm.o16 375 376 # 377 # CPU generated instruction tests #1 378 # 379 MISCBINS += bs3-cpu-generated-1 380 bs3-cpu-generated-1_TEMPLATE = VBoxBS3KitImg 381 bs3-cpu-generated-1_INCS = . 382 bs3-cpu-generated-1_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-generated-1-template.c 383 bs3-cpu-generated-1_SOURCES = \ 384 bs3kit/bs3-first-rm.asm \ 385 bs3-cpu-generated-1.c \ 386 bs3-cpu-generated-1-asm.asm \ 387 bs3kit/bs3-cmn-instantiate-x0.c16 \ 388 bs3kit/bs3-cmn-instantiate.c32 \ 389 bs3kit/bs3-cmn-instantiate.c64 \ 390 $(bs3-cpu-generated-1_0_OUTDIR)/bs3-cpu-generated-1-data.c16 391 bs3-cpu-generated-1_CLEAN = $(bs3-cpu-generated-1_0_OUTDIR)/bs3-cpu-generated-1-data.c16 392 393 bs3-cpu-generated-1-template.o:: \ 394 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate-x0.o16 \ 395 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \ 396 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \ 397 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3-cpu-generated-1-asm.o16 398 399 $$(bs3-cpu-generated-1_0_OUTDIR)/bs3-cpu-generated-1-data.c16: \ 400 $(PATH_SUB_CURRENT)/bs3-cpu-generated-1-data.py \ 401 $(PATH_SUB_CURRENT)/../../VMM/VMMAll/IEMAllInstructionsPython.py \ 402 $(PATH_SUB_CURRENT)/../../VMM/VMMAll/IEMAllInstructions*.cpp.h \ 403 | $$(dir $$@) 404 404 $(REDIRECT) -0 /dev/null -- $(VBOX_BLD_PYTHON) $< $@ 405 405 406 #407 # Memory allocation.408 #409 MISCBINS += bs3-memalloc-1410 bs3-memalloc-1_TEMPLATE = VBoxBS3KitImg411 bs3-memalloc-1_INCS= .412 bs3-memalloc-1_SOURCES = \413 bs3kit/bs3-first-init-all-lm64.asm \414 bs3-memalloc-1.c64415 416 417 #418 # Timer Interrupts419 #420 MISCBINS += bs3-timers-1421 bs3-timers-1_TEMPLATE = VBoxBS3KitImg422 bs3-timers-1_INCS= .423 bs3-timers-1_DEFS =BS3_CMN_INSTANTIATE_FILE1=bs3-timers-1-template.c424 bs3-timers-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-timers-1-template.c425 bs3-timers-1_SOURCES = \426 bs3kit/bs3-first-rm.asm \427 bs3-timers-1.c \428 bs3-timers-1-x0.c429 430 #431 # Timing432 #433 MISCBINS += bs3-timing-1434 bs3-timing-1_TEMPLATE = VBoxBS3KitImg435 bs3-timing-1_INCS= .436 bs3-timing-1_DEFS =BS3_CMN_INSTANTIATE_FILE1=bs3-timing-1-template.c437 bs3-timing-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-timing-1-template.c438 bs3-timing-1_SOURCES = \439 bs3kit/bs3-first-rm.asm \440 bs3-timing-1.c \441 bs3-timing-1-32.c32442 443 #444 # Lock contention and interruption.445 #446 MISCBINS += bs3-locking-1447 bs3-locking-1_TEMPLATE = VBoxBS3KitImg448 bs3-locking-1_INCS= .449 bs3-locking-1_SOURCES = \450 bs3kit/bs3-first-rm.asm \451 bs3-locking-1.c406 # 407 # Memory allocation. 408 # 409 MISCBINS += bs3-memalloc-1 410 bs3-memalloc-1_TEMPLATE = VBoxBS3KitImg 411 bs3-memalloc-1_INCS = . 412 bs3-memalloc-1_SOURCES = \ 413 bs3kit/bs3-first-init-all-lm64.asm \ 414 bs3-memalloc-1.c64 415 416 417 # 418 # Timer Interrupts 419 # 420 MISCBINS += bs3-timers-1 421 bs3-timers-1_TEMPLATE = VBoxBS3KitImg 422 bs3-timers-1_INCS = . 423 bs3-timers-1_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-timers-1-template.c 424 bs3-timers-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-timers-1-template.c 425 bs3-timers-1_SOURCES = \ 426 bs3kit/bs3-first-rm.asm \ 427 bs3-timers-1.c \ 428 bs3-timers-1-x0.c 429 430 # 431 # Timing 432 # 433 MISCBINS += bs3-timing-1 434 bs3-timing-1_TEMPLATE = VBoxBS3KitImg 435 bs3-timing-1_INCS = . 436 bs3-timing-1_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-timing-1-template.c 437 bs3-timing-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-timing-1-template.c 438 bs3-timing-1_SOURCES = \ 439 bs3kit/bs3-first-rm.asm \ 440 bs3-timing-1.c \ 441 bs3-timing-1-32.c32 442 443 # 444 # Lock contention and interruption. 445 # 446 MISCBINS += bs3-locking-1 447 bs3-locking-1_TEMPLATE = VBoxBS3KitImg 448 bs3-locking-1_INCS = . 449 bs3-locking-1_SOURCES = \ 450 bs3kit/bs3-first-rm.asm \ 451 bs3-locking-1.c 452 452 453 453 endif # VBOX_WITH_BS3KIT
Note:
See TracChangeset
for help on using the changeset viewer.