Changeset 58675 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Nov 12, 2015 3:47:57 PM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 7 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r58667 r58675 306 306 bs3-cmn-Shutdown.asm \ 307 307 bs3-cmn-Panic.asm \ 308 bs3-cmn-PrintChr.asm \ 308 309 bs3-cmn-PrintU32.asm \ 310 bs3-cmn-PrintStr.c \ 309 311 bs3-cmn-PrintStrColonSpaces.asm \ 310 312 bs3-cmn-PrintStrSpacesColonSpace.c \ … … 315 317 bs3-cmn-MemPCpy.c \ 316 318 bs3-cmn-MemMove.c \ 319 bs3-cmn-TestData.c \ 320 bs3-cmn-TestInit.c \ 321 bs3-cmn-TestSendStrCmd.asm \ 322 bs3-cmn-TestIsVmmDevTestingPresent.asm \ 317 323 318 324 # The BS3Kit library. -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-shutdown.c
r58628 r58675 11 11 void Main_rm(void) 12 12 { 13 Bs3TestInit("bs3-shutdown"); 14 13 15 Bs3Shutdown(); 14 16 return; -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r58667 r58675 175 175 * @param uValue The 32-bit value. 176 176 */ 177 BS3_DECL(void) Bs3PrintU32_c16(uint32_t uValue); /**< @copydoc Bs3PrintU32_c16 */177 BS3_DECL(void) Bs3PrintU32_c16(uint32_t uValue); 178 178 BS3_DECL(void) Bs3PrintU32_c32(uint32_t uValue); /**< @copydoc Bs3PrintU32_c16 */ 179 179 BS3_DECL(void) Bs3PrintU32_c64(uint32_t uValue); /**< @copydoc Bs3PrintU32_c16 */ 180 180 #define Bs3PrintU32 BS3_CMN_NM(Bs3PrintU32) /**< Selects #Bs3PrintU32_c16, #Bs3PrintU32_c32 or #Bs3PrintU32_c64. */ 181 182 /** 183 * Prints a string to the screen. 184 * 185 * @param pszString The string to print. 186 */ 187 BS3_DECL(void) Bs3PrintStr_c16(const char BS3_FAR *pszString); 188 BS3_DECL(void) Bs3PrintStr_c32(const char BS3_FAR *pszString); /**< @copydoc Bs3PrintStr_c16 */ 189 BS3_DECL(void) Bs3PrintStr_c64(const char BS3_FAR *pszString); /**< @copydoc Bs3PrintStr_c16 */ 190 #define Bs3PrintStr BS3_CMN_NM(Bs3PrintStr) /**< Selects #Bs3PrintStr_c16, #Bs3PrintStr_c32 or #Bs3PrintStr_c64. */ 191 192 /** 193 * Prints a char to the screen. 194 * 195 * @param ch The character to print. 196 */ 197 BS3_DECL(void) Bs3PrintChr_c16(char ch); 198 BS3_DECL(void) Bs3PrintChr_c32(char ch); /**< @copydoc Bs3PrintChr_c16 */ 199 BS3_DECL(void) Bs3PrintChr_c64(char ch); /**< @copydoc Bs3PrintChr_c16 */ 200 #define Bs3PrintChr BS3_CMN_NM(Bs3PrintChr) /**< Selects #Bs3PrintChr_c16, #Bs3PrintChr_c32 or #Bs3PrintChr_c64. */ 201 181 202 182 203 /** … … 257 278 258 279 280 281 /** 282 * Equivalent to RTTestCreate + RTTestBanner. 283 * 284 * @param pszTest The test name. 285 */ 286 BS3_DECL(void) Bs3TestInit_c16(const char BS3_FAR *pszTest); 287 BS3_DECL(void) Bs3TestInit_c32(const char BS3_FAR *pszTest); /**< @copydoc Bs3TestInit_c16 */ 288 BS3_DECL(void) Bs3TestInit_c64(const char BS3_FAR *pszTest); /**< @copydoc Bs3TestInit_c16 */ 289 #define Bs3TestInit BS3_CMN_NM(Bs3TestInit) /**< Selects #Bs3TestInit_c16, #Bs3TestInit_c32 or #Bs3TestInit_c64. */ 290 291 259 292 /** @} */ 260 293 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.mac
r58628 r58675 262 262 ;; 263 263 ; Extern macro which mangles the common name correctly, redefining the unmangled 264 ; name withto the mangled one for ease of use.264 ; name to the mangled one for ease of use. 265 265 ; 266 266 ; @param %1 The unmangled common name. … … 272 272 %undef %1 273 273 %define %1 BS3_CMN_NM(%1) 274 %endmacro 275 276 ;; 277 ; Extern macro which mangles a DATA16 symbol correctly, redefining the 278 ; unmangled name to the mangled one for ease of use. 279 ; 280 ; @param %1 The unmangled common name. 281 ; 282 ; @remarks Will change to the DATA16 segment, use must switch back afterwards! 283 ; 284 %macro BS3_EXTERN_DATA16 1 285 BS3_BEGIN_DATA16 286 extern _ %+ %1 287 %undef %1 288 %define %1 _ %+ %1 274 289 %endmacro 275 290 … … 511 526 512 527 513 %endif 514 528 ;; The system call vector. 529 %define BS3_TRAP_SYSCALL 20h 530 531 ;; @name System call numbers 532 ;; @{ 533 ;; Print char (cl). 534 %define BS3_SYSCALL_PRINT_CHR 0ca110001h 535 ;; @} 536 537 %endif 538
Note:
See TracChangeset
for help on using the changeset viewer.