Changeset 41728 in vbox for trunk/include/VBox/dis.h
- Timestamp:
- Jun 14, 2012 11:04:57 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78536
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dis.h
r41727 r41728 309 309 /** @} */ 310 310 311 #define USE_REG_FP0 0 312 #define USE_REG_FP1 1 313 #define USE_REG_FP2 2 314 #define USE_REG_FP3 3 315 #define USE_REG_FP4 4 316 #define USE_REG_FP5 5 317 #define USE_REG_FP6 6 318 #define USE_REG_FP7 7 319 320 #define USE_REG_CR0 0 321 #define USE_REG_CR1 1 322 #define USE_REG_CR2 2 323 #define USE_REG_CR3 3 324 #define USE_REG_CR4 4 325 #define USE_REG_CR8 8 326 327 #define USE_REG_DR0 0 328 #define USE_REG_DR1 1 329 #define USE_REG_DR2 2 330 #define USE_REG_DR3 3 331 #define USE_REG_DR4 4 332 #define USE_REG_DR5 5 333 #define USE_REG_DR6 6 334 #define USE_REG_DR7 7 335 336 #define USE_REG_MMX0 0 337 #define USE_REG_MMX1 1 338 #define USE_REG_MMX2 2 339 #define USE_REG_MMX3 3 340 #define USE_REG_MMX4 4 341 #define USE_REG_MMX5 5 342 #define USE_REG_MMX6 6 343 #define USE_REG_MMX7 7 344 345 #define USE_REG_XMM0 0 346 #define USE_REG_XMM1 1 347 #define USE_REG_XMM2 2 348 #define USE_REG_XMM3 3 349 #define USE_REG_XMM4 4 350 #define USE_REG_XMM5 5 351 #define USE_REG_XMM6 6 352 #define USE_REG_XMM7 7 353 /** @todo missing XMM8-XMM15 */ 311 /** @name FPU register indexes. 312 * This matches the AMD64 register encoding. It is found used in 313 * DISOPPARAM::base.reg_fp. 314 * @{ 315 */ 316 #define DISFPREG_ST0 UINT8_C(0) 317 #define DISFPREG_ST1 UINT8_C(1) 318 #define DISFPREG_ST2 UINT8_C(2) 319 #define DISFPREG_ST3 UINT8_C(3) 320 #define DISFPREG_ST4 UINT8_C(4) 321 #define DISFPREG_ST5 UINT8_C(5) 322 #define DISFPREG_ST6 UINT8_C(6) 323 #define DISFPREG_ST7 UINT8_C(7) 324 /** @} */ 325 326 /** @name Control register indexes. 327 * This matches the AMD64 register encoding. It is found used in 328 * DISOPPARAM::base.reg_ctrl. 329 * @{ 330 */ 331 #define DISCREG_CR0 UINT8_C(0) 332 #define DISCREG_CR1 UINT8_C(1) 333 #define DISCREG_CR2 UINT8_C(2) 334 #define DISCREG_CR3 UINT8_C(3) 335 #define DISCREG_CR4 UINT8_C(4) 336 #define DISCREG_CR8 UINT8_C(8) 337 /** @} */ 338 339 /** @name Debug register indexes. 340 * This matches the AMD64 register encoding. It is found used in 341 * DISOPPARAM::base.reg_dbg. 342 * @{ 343 */ 344 #define DISDREG_DR0 UINT8_C(0) 345 #define DISDREG_DR1 UINT8_C(1) 346 #define DISDREG_DR2 UINT8_C(2) 347 #define DISDREG_DR3 UINT8_C(3) 348 #define DISDREG_DR4 UINT8_C(4) 349 #define DISDREG_DR5 UINT8_C(5) 350 #define DISDREG_DR6 UINT8_C(6) 351 #define DISDREG_DR7 UINT8_C(7) 352 /** @} */ 353 354 /** @name MMX register indexes. 355 * This matches the AMD64 register encoding. It is found used in 356 * DISOPPARAM::base.reg_mmx. 357 * @{ 358 */ 359 #define DISMREG_MMX0 UINT8_C(0) 360 #define DISMREG_MMX1 UINT8_C(1) 361 #define DISMREG_MMX2 UINT8_C(2) 362 #define DISMREG_MMX3 UINT8_C(3) 363 #define DISMREG_MMX4 UINT8_C(4) 364 #define DISMREG_MMX5 UINT8_C(5) 365 #define DISMREG_MMX6 UINT8_C(6) 366 #define DISMREG_MMX7 UINT8_C(7) 367 /** @} */ 368 369 /** @name SSE register indexes. 370 * This matches the AMD64 register encoding. It is found used in 371 * DISOPPARAM::base.reg_xmm. 372 * @{ 373 */ 374 #define DISXREG_XMM0 UINT8_C(0) 375 #define DISXREG_XMM1 UINT8_C(1) 376 #define DISXREG_XMM2 UINT8_C(2) 377 #define DISXREG_XMM3 UINT8_C(3) 378 #define DISXREG_XMM4 UINT8_C(4) 379 #define DISXREG_XMM5 UINT8_C(5) 380 #define DISXREG_XMM6 UINT8_C(6) 381 #define DISXREG_XMM7 UINT8_C(7) 382 /** @} */ 354 383 355 384 /** Used by DISQueryParamVal & EMIQueryParamVal … … 424 453 /** DISGREG_XXX. */ 425 454 uint8_t reg_gen; 426 /** ST(0) - ST(7)*/455 /** DISFPREG_XXX */ 427 456 uint8_t reg_fp; 428 /** MMX0 - MMX7*/457 /** DISMREG_XXX. */ 429 458 uint8_t reg_mmx; 430 /** XMM0 - XMM7*/459 /** DISXREG_XXX. */ 431 460 uint8_t reg_xmm; 432 /** {ES, CS, SS, DS, FS, GS} (DISSELREG). */461 /** DISSELREG_XXX. */ 433 462 uint8_t reg_seg; 434 /** TR0-TR7 (?)*/463 /** TR0-TR7 (no defines for these). */ 435 464 uint8_t reg_test; 436 /** CR0-CR4*/465 /** DISCREG_XXX */ 437 466 uint8_t reg_ctrl; 438 /** D R0-DR7*/467 /** DISDREG_XXX */ 439 468 uint8_t reg_dbg; 440 469 } base;
Note:
See TracChangeset
for help on using the changeset viewer.