Changeset 58799 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Nov 20, 2015 2:16:17 PM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r58789 r58799 117 117 118 118 # 119 # V CC elf cross compiling 64-bit gcc (mac): sudo port install x86_64-elf-gcc119 # Visual C++ tool variant that runs the object converter afterwards. 120 120 # 121 121 TOOL_Bs3Vcc64 := Visual C++ 64-bit … … 153 153 define TOOL_Bs3Vcc64_COMPILE_CXX_CMDS 154 154 $(TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_COMPILE_CXX_CMDS) 155 $(QUIET)$(VBoxBs3ObjConverter_1_TARGET) "$(obj)" 156 endef 157 158 # 159 # 32-bit OpenWatcom C/C++ tool variant that runs the object converter afterwards 160 # to rename intrinsic functions so they don't clash with the 16-bit compiler. 161 # 162 TOOL_Bs3Ow32 := Visual C++ 64-bit 163 TOOL_Bs3Ow32_CC = $(TOOL_OPENWATCOM_CC) 164 TOOL_Bs3Ow32_CXX = $(TOOL_OPENWATCOM_CXX) 165 TOOL_Bs3Ow32_COBJSUFF = $(TOOL_OPENWATCOM_COBJSUFF) 166 TOOL_Bs3Ow32_CFLAGS = $(TOOL_OPENWATCOM_CFLAGS) 167 TOOL_Bs3Ow32_CFLAGS.debug = $(TOOL_OPENWATCOM_CFLAGS.debug) 168 TOOL_Bs3Ow32_CFLAGS.dbgopt = $(TOOL_OPENWATCOM_CFLAGS.dbgopt) 169 TOOL_Bs3Ow32_CFLAGS.profile = $(TOOL_OPENWATCOM_CFLAGS.profile) 170 TOOL_Bs3Ow32_CFLAGS.release = $(TOOL_OPENWATCOM_CFLAGS.release) 171 TOOL_Bs3Ow32_CINCS = $(TOOL_OPENWATCOM_CINCS) 172 TOOL_Bs3Ow32_CDEFS = 173 TOOL_Bs3Ow32_COMPILE_C_DEPEND = $(TOOL_OPENWATCOM_COMPILE_C_DEPEND) $(VBoxBs3ObjConverter_1_TARGET) 174 TOOL_Bs3Ow32_COMPILE_C_DEPORD = $(TOOL_OPENWATCOM_COMPILE_C_DEPORD) 175 TOOL_Bs3Ow32_COMPILE_C_OUTPUT = $(TOOL_OPENWATCOM_COMPILE_C_OUTPUT) 176 TOOL_Bs3Ow32_COMPILE_C_OUTPUT_MAYBE = $(TOOL_OPENWATCOM_COMPILE_C_OUTPUT_MAYBE) 177 define TOOL_Bs3Ow32_COMPILE_C_CMDS 178 $(TOOL_OPENWATCOM_COMPILE_C_CMDS) 179 # $(QUIET)$(VBoxBs3ObjConverter_1_TARGET) "$(obj)" 180 endef 181 182 TOOL_Bs3Ow32_CXXOBJSUFF = $(TOOL_OPENWATCOM_CXXOBJSUFF) 183 TOOL_Bs3Ow32_CXXFLAGS = $(TOOL_OPENWATCOM_CXXFLAGS) 184 TOOL_Bs3Ow32_CXXFLAGS.debug = $(TOOL_OPENWATCOM_CXXFLAGS.debug) 185 TOOL_Bs3Ow32_CXXFLAGS.dbgopt = $(TOOL_OPENWATCOM_CXXFLAGS.dbgopt) 186 TOOL_Bs3Ow32_CXXFLAGS.profile = $(TOOL_OPENWATCOM_CXXFLAGS.profile) 187 TOOL_Bs3Ow32_CXXFLAGS.release = $(TOOL_OPENWATCOM_CXXFLAGS.release) 188 TOOL_Bs3Ow32_CXXINCS = $(TOOL_OPENWATCOM_CXXINCS) 189 TOOL_Bs3Ow32_CXXDEFS = 190 TOOL_Bs3Ow32_COMPILE_CXX_DEPEND = $(TOOL_OPENWATCOM_COMPILE_CXX_DEPEND) $(VBoxBs3ObjConverter_1_TARGET) 191 TOOL_Bs3Ow32_COMPILE_CXX_DEPORD = $(TOOL_OPENWATCOM_COMPILE_CXX_DEPORD) 192 TOOL_Bs3Ow32_COMPILE_CXX_OUTPUT = $(TOOL_OPENWATCOM_COMPILE_CXX_OUTPUT) 193 TOOL_Bs3Ow32_COMPILE_CXX_OUTPUT_MAYBE = $(TOOL_OPENWATCOM_COMPILE_CXX_OUTPUT_MAYBE) 194 define TOOL_Bs3Ow32_COMPILE_CXX_CMDS 195 $(TOOL_OPENWATCOM_COMPILE_CXX_CMDS) 155 196 $(QUIET)$(VBoxBs3ObjConverter_1_TARGET) "$(obj)" 156 197 endef … … 296 337 TEMPLATE_VBoxBS3KitImg32_DEFS = ARCH_BITS=32 IN_BS3KIT 297 338 TEMPLATE_VBoxBS3KitImg32_ARTOOL = OPENWATCOM 298 TEMPLATE_VBoxBS3KitImg32_CTOOL = OPENWATCOM299 TEMPLATE_VBoxBS3KitImg32_CXXTOOL = OPENWATCOM339 TEMPLATE_VBoxBS3KitImg32_CTOOL = Bs3Ow32 340 TEMPLATE_VBoxBS3KitImg32_CXXTOOL = Bs3Ow32 300 341 TEMPLATE_VBoxBS3KitImg32_CFLAGS = \ 301 342 -nt=BS3TEXT32 -nd=BS3DATA32 -nc=BS3CODE32 -ecc -q -wx -zl -mf $(BS3_OW_DBG_OPT) -d1 -s -oa -ob -of -oi -ol -or -os … … 363 404 bs3-cmn-Panic.asm \ 364 405 bs3-cmn-PrintChr.asm \ 406 bs3-cmn-PrintF.c \ 365 407 bs3-cmn-PrintU32.asm \ 366 408 bs3-cmn-PrintX32.asm \ … … 403 445 bs3kit-common-16_SOURCES = $(VBOX_BS3KIT_COMMON_SOURCES) \ 404 446 bs3-system-data.asm \ 405 bs3-rm-InitMemory.c 447 bs3-rm-InitMemory.c \ 448 bs3-cmn-hexdigits.c 406 449 407 450 # The 32-bit BS3Kit library. -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-first-rm.asm
r58789 r58799 141 141 extern BS3_CMN_NM(Bs3Shutdown) 142 142 extern NAME(Main_rm) 143 extern _Bs3PrintF_c32 143 144 144 145 BS3_BEGIN_SYSTEM16 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-shutdown.c
r58789 r58799 22 22 Bs3PrintX32(UINT32_C(0xfdb97531)); 23 23 Bs3PrintStr("\r\n"); 24 25 Bs3PrintF("Bs3PrintF: RX32=%RX32\n", UINT32_C(0xfdb97531)); 24 26 25 27 pvTmp2 = Bs3MemAlloc(BS3MEMKIND_REAL, _4K); -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r58789 r58799 642 642 643 643 644 /** Lower case hex digits. */ 645 extern char const BS3_DATA_NM(g_achBs3HexDigits)[16+1]; 646 /** Upper case hex digits. */ 647 extern char const BS3_DATA_NM(g_achBs3HexDigitsUpper)[16+1]; 648 649 644 650 #ifdef __WATCOMC__ 645 651 /** … … 931 937 932 938 /** 939 * Converts a 64-bit unsigned integer to a string. 940 * 941 * @returns The length for the formatted string. 942 * @param pszDst The destination buffer. Caller is responsible for 943 * ensuring sufficient space. 944 * @param uValue The 64-bit value. 945 * @param uBase The base to format the number in: 2, 8,10 or 16. 946 */ 947 BS3_DECL(size_t) Bs3FormatU64_c16(char BS3_FAR *pszDst, uint64_t uValue, unsigned uBase); 948 BS3_DECL(size_t) Bs3FormatU64_c32(char BS3_FAR *pszDst, uint64_t uValue, unsigned uBase); /**< @copydoc Bs3FormatU64_c16 */ 949 BS3_DECL(size_t) Bs3FormatU64_c64(char BS3_FAR *pszDst, uint64_t uValue, unsigned uBase); /**< @copydoc Bs3FormatU64_c16 */ 950 #define Bs3FormatU64 BS3_CMN_NM(Bs3FormatU64) /**< Selects #Bs3FormatU64_c16, #Bs3FormatU64_c32 or #Bs3FormatU64_c64. */ 951 952 /** 933 953 * Formats and prints a string to the screen. 934 954 *
Note:
See TracChangeset
for help on using the changeset viewer.