Changeset 4388 in vbox for trunk/src/VBox/VMM/MMInternal.h
- Timestamp:
- Aug 27, 2007 2:26:05 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23948
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMInternal.h
r4071 r4388 503 503 504 504 /** 505 * A registered Rom range. 506 * 507 * This is used to track ROM registrations both for debug reasons 508 * and for resetting shadow ROM at reset. 509 * 510 * This is allocated of the MMR3Heap and thus only accessibel from ring-3. 511 */ 512 typedef struct MMROMRANGE 513 { 514 /** Pointer to the next */ 515 struct MMROMRANGE *pNext; 516 /** Address of the range. */ 517 RTGCPHYS GCPhys; 518 /** Size of the range. */ 519 uint32_t cbRange; 520 /** Shadow ROM? */ 521 bool fShadow; 522 /** Is the shadow ROM currently wriable? */ 523 bool fWritable; 524 /** The address of the virgin ROM image for shadow ROM. */ 525 const void *pvBinary; 526 /** The address of the guest RAM that's shadowing the ROM. (lazy bird) */ 527 void *pvCopy; 528 /** The ROM description. */ 529 const char *pszDesc; 530 } MMROMRANGE; 531 /** Pointer to a ROM range. */ 532 typedef MMROMRANGE *PMMROMRANGE; 533 534 535 /** 505 536 * Hypervisor memory mapping type. 506 537 */ … … 636 667 /** Pointer to the base RAM. */ 637 668 HCPTRTYPE(void *) pvRamBaseHC; 669 /** The head of the ROM ranges. */ 670 R3PTRTYPE(PMMROMRANGE) pRomHead; 638 671 639 672 /** Pointer to the MM R3 Heap. */ … … 660 693 661 694 const char *mmR3GetTagName(MMTAG enmTag); 695 696 void mmR3PhysRomReset(PVM pVM); 662 697 663 698 /**
Note:
See TracChangeset
for help on using the changeset viewer.