Changeset 59311 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jan 12, 2016 1:16:28 AM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk
r59303 r59311 42 42 if defined(VBOX_WITH_OPEN_WATCOM) 43 43 if1of ($(KBUILD_TARGET), win) # requires patched NASM. 44 VBOX_WITH_BS3KIT = 1 44 45 include $(PATH_SUB_CURRENT)/bs3kit/Makefile.kmk 45 46 endif … … 205 206 206 207 208 ifdef VBOX_WITH_BS3KIT 209 # 210 # Bs3kit 211 # 212 213 # shutdown example. 214 MISCBINS += bs3-cpu-basic-2 215 bs3-cpu-basic-2_TEMPLATE = VBoxBS3KitImg 216 bs3-cpu-basic-2_SOURCES = \ 217 bs3-cpu-basic-2.asm 218 endif 219 220 207 221 include $(FILE_KBUILD_SUB_FOOTER) 208 222 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r59300 r59311 189 189 bs3kit-rm_DEFS = TMPL_RM 190 190 bs3kit-rm_SOURCES = $(VBOX_BS3KIT_MODE_SOURCES) \ 191 bs3-first-rm.asm 191 bs3-first-rm.asm \ 192 bs3-mode-CpuDetect.asm 192 193 193 194 … … 197 198 bs3kit-pe16_DEFS = TMPL_PE16 198 199 bs3kit-pe16_SOURCES = $(VBOX_BS3KIT_MODE_SOURCES) \ 199 bs3-first-pe16.asm 200 bs3-first-pe16.asm \ 201 # bs3-mode-CpuDetect.asm 200 202 201 203 # The virtual 8086 under protected mode BS3Kit library. … … 217 219 bs3kit-pp16_DEFS = TMPL_PP16 218 220 bs3kit-pp16_SOURCES = $(VBOX_BS3KIT_MODE_SOURCES) \ 221 bs3-mode-CpuDetect.asm 219 222 220 223 # The 32-bit paged protected mode BS3Kit library. … … 235 238 bs3kit-pae16_TEMPLATE = VBoxBS3KitImg 236 239 bs3kit-pae16_DEFS = TMPL_PAE16 237 bs3kit-pae16_SOURCES = $(VBOX_BS3KIT_MODE_SOURCES) 240 bs3kit-pae16_SOURCES = $(VBOX_BS3KIT_MODE_SOURCES) \ 241 bs3-mode-CpuDetect.asm 238 242 239 243 # The 32-bit paged protected mode BS3Kit library. -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-template-footer.h
r58628 r59311 49 49 #undef TMPL_CMN_LM 50 50 #undef TMPL_CMN_V86 51 #undef TMPL_CMN_PAGING 51 52 52 53 #undef TMPL_CMN_P16 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-template-footer.mac
r59259 r59311 59 59 %undef TMPL_CMN_LM 60 60 %undef TMPL_CMN_V86 61 %undef TMPL_CMN_PAGING 61 62 62 63 %undef TMPL_CMN_P16 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-template-header.h
r58666 r59311 77 77 # define TMPL_CMN_V86 /**< TMPL_PEV86 | TMPL_PPV86 | TMPL_PAEV86 */ 78 78 # define TMPL_CMN_R86 /**< TMPL_CMN_V86 | TMPL_RM */ 79 # define TMPL_CMN_PAGING /**< TMPL_CMN_PP | TMPL_CMN_PAE | TMPL_CMN_LM */ 79 80 /** @} */ 80 81 … … 356 357 # endif 357 358 # define TMPL_CMN_PP 359 # define TMPL_CMN_PAGING 358 360 # define TMPL_CMN_P16 359 361 # define TMPL_16BIT … … 405 407 # endif 406 408 # define TMPL_CMN_PP 409 # define TMPL_CMN_PAGING 407 410 # define TMPL_CMN_P32 408 411 # define TMPL_32BIT … … 454 457 # endif 455 458 # define TMPL_CMN_PP 459 # define TMPL_CMN_PAGING 456 460 # define TMPL_CMN_V86 457 461 # define TMPL_CMN_R86 … … 504 508 # endif 505 509 # define TMPL_CMN_PAE 510 # define TMPL_CMN_PAGING 506 511 # define TMPL_16BIT 507 512 # define TMPL_CMN_P16 … … 553 558 # endif 554 559 # define TMPL_CMN_PAE 560 # define TMPL_CMN_PAGING 555 561 # define TMPL_CMN_P32 556 562 # define TMPL_32BIT … … 602 608 # endif 603 609 # define TMPL_CMN_PAE 610 # define TMPL_CMN_PAGING 604 611 # define TMPL_CMN_V86 605 612 # define TMPL_CMN_R86 … … 652 659 # endif 653 660 # define TMPL_CMN_LM 661 # define TMPL_CMN_PAGING 654 662 # define TMPL_CMN_P16 655 663 # define TMPL_16BIT … … 701 709 # endif 702 710 # define TMPL_CMN_LM 711 # define TMPL_CMN_PAGING 703 712 # define TMPL_CMN_P32 704 713 # define TMPL_32BIT … … 750 759 # endif 751 760 # define TMPL_CMN_LM 761 # define TMPL_CMN_PAGING 752 762 # define TMPL_CMN_P64 753 763 # define TMPL_64BIT -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-template-header.mac
r59287 r59311 51 51 ; - TMPL_CMN_V86 = TMPL_PEV86 | TMPL_PPV86 | TMPL_PAEV86 52 52 ; - TMPL_CMN_R86 = TMPL_CMN_V86 | TMPL_RM 53 ; - TMPL_CMN_PAGING = TMPL_CMN_PP | TMPL_CMN_PAE | TMPL_CMN_LM 53 54 ; 54 55 %ifdef TMPL_RM … … 291 292 %endif 292 293 %define TMPL_CMN_PP 294 %define TMPL_CMN_PAGING 293 295 %define TMPL_CMN_P16 294 296 %define TMPL_16BIT … … 341 343 %endif 342 344 %define TMPL_CMN_PP 345 %define TMPL_CMN_PAGING 343 346 %define TMPL_CMN_P32 344 347 %define TMPL_32BIT … … 391 394 %endif 392 395 %define TMPL_CMN_PP 396 %define TMPL_CMN_PAGING 393 397 %define TMPL_CMN_V86 394 398 %define TMPL_CMN_R86 … … 442 446 %endif 443 447 %define TMPL_CMN_PAE 448 %define TMPL_CMN_PAGING 444 449 %define TMPL_16BIT 445 450 %define TMPL_CMN_P16 … … 492 497 %endif 493 498 %define TMPL_CMN_PAE 499 %define TMPL_CMN_PAGING 494 500 %define TMPL_CMN_P32 495 501 %define TMPL_32BIT … … 542 548 %endif 543 549 %define TMPL_CMN_PAE 550 %define TMPL_CMN_PAGING 544 551 %define TMPL_CMN_V86 545 552 %define TMPL_CMN_R86 … … 593 600 %endif 594 601 %define TMPL_CMN_LM 602 %define TMPL_CMN_PAGING 595 603 %define TMPL_CMN_P16 596 604 %define TMPL_16BIT … … 643 651 %endif 644 652 %define TMPL_CMN_LM 653 %define TMPL_CMN_PAGING 645 654 %define TMPL_CMN_P32 646 655 %define TMPL_32BIT … … 693 702 %endif 694 703 %define TMPL_CMN_LM 704 %define TMPL_CMN_PAGING 695 705 %define TMPL_CMN_P64 696 706 %define TMPL_64BIT … … 857 867 %endif 858 868 869 ;; @def BS3_EXTERN_TMPL 870 ; Mangles the given name into a template specific one. For ease of use, the 871 ; name is redefined to the mangled one, just like BS3_EXTERN_CMN does. 872 ; @note Segment does not change. 873 %macro BS3_EXTERN_TMPL 1 874 extern TMPL_NM(%1) 875 %undef %1 876 %define %1 TMPL_NM(%1) 877 %endmacro 878 859 879 ; 860 880 ; Default code segment (changes BITS too).
Note:
See TracChangeset
for help on using the changeset viewer.