Changeset 9690 in vbox for trunk/src/VBox/VMM/PGMInternal.h
- Timestamp:
- Jun 13, 2008 3:51:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r9596 r9690 1279 1279 /** The extended PAE page directory (2048 entries, works as root currently). */ 1280 1280 #define PGMPOOL_IDX_PAE_PD 2 1281 1281 /** PAE Page Directory Table 0. */ 1282 1282 #define PGMPOOL_IDX_PAE_PD_0 3 1283 1283 /** PAE Page Directory Table 1. */ 1284 1284 #define PGMPOOL_IDX_PAE_PD_1 4 1285 1285 /** PAE Page Directory Table 2. */ 1286 1286 #define PGMPOOL_IDX_PAE_PD_2 5 1287 1287 /** PAE Page Directory Table 3. */ 1288 1288 #define PGMPOOL_IDX_PAE_PD_3 6 1289 /** AMD64 Page Directory Table. */ 1290 #define PGMPOOL_IDX_AMD64_PD 7 1289 1291 /** Page Directory Pointer Table (PAE root, not currently used). */ 1290 #define PGMPOOL_IDX_PDPT 71292 #define PGMPOOL_IDX_PDPT 8 1291 1293 /** Page Map Level-4 (64-bit root). */ 1292 #define PGMPOOL_IDX_PML4 81294 #define PGMPOOL_IDX_PML4 9 1293 1295 /** The first normal index. */ 1294 #define PGMPOOL_IDX_FIRST 91296 #define PGMPOOL_IDX_FIRST 10 1295 1297 /** The last valid index. (inclusive, 14 bits) */ 1296 1298 #define PGMPOOL_IDX_LAST 0x3fff … … 1309 1311 uint16_t iNext; 1310 1312 /** The user page index. */ 1311 uint 16_t iUser;1313 uint32_t iUser; 1312 1314 /** Index into the user table. */ 1313 uint 16_t iUserTable;1315 uint32_t iUserTable; 1314 1316 } PGMPOOLUSER, *PPGMPOOLUSER; 1315 1317 typedef const PGMPOOLUSER *PCPGMPOOLUSER; … … 1369 1371 /** Shw: 64-bit page directory pointer table; Gst: 64-bit page directory pointer table. */ 1370 1372 PGMPOOLKIND_64BIT_PDPT_FOR_64BIT_PDPT, 1373 /** Shw: 64-bit page directory table; Gst: 64-bit page directory table. */ 1374 PGMPOOLKIND_64BIT_PD_FOR_64BIT_PD, 1371 1375 1372 1376 /** Shw: Root 32-bit page directory. */ … … 2623 2627 void *pgmGCPoolMapPage(PVM pVM, PPGMPOOLPAGE pPage); 2624 2628 #endif 2625 int pgmPoolAlloc(PVM pVM, RTGCPHYS GCPhys, PGMPOOLKIND enmKind, uint16_t iUser, uint 16_t iUserTable, PPPGMPOOLPAGE ppPage);2629 int pgmPoolAlloc(PVM pVM, RTGCPHYS GCPhys, PGMPOOLKIND enmKind, uint16_t iUser, uint32_t iUserTable, PPPGMPOOLPAGE ppPage); 2626 2630 PPGMPOOLPAGE pgmPoolGetPageByHCPhys(PVM pVM, RTHCPHYS HCPhys); 2627 void pgmPoolFree(PVM pVM, RTHCPHYS HCPhys, uint16_t iUser, uint 16_t iUserTable);2628 void pgmPoolFreeByPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage, uint16_t iUser, uint 16_t iUserTable);2631 void pgmPoolFree(PVM pVM, RTHCPHYS HCPhys, uint16_t iUser, uint32_t iUserTable); 2632 void pgmPoolFreeByPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage, uint16_t iUser, uint32_t iUserTable); 2629 2633 int pgmPoolFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage); 2630 2634 void pgmPoolFlushAll(PVM pVM);
Note:
See TracChangeset
for help on using the changeset viewer.