Changeset 914 in vbox for trunk/include/VBox
- Timestamp:
- Feb 14, 2007 11:23:08 PM (18 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pgm.h
r861 r914 1382 1382 * @returns VBox status code. 1383 1383 * @param pVM The virtual machine. 1384 * @param pvAddr Intermediate context address of the mapping. This must be entriely below 4GB!1384 * @param Addr Intermediate context address of the mapping. 1385 1385 * @param HCPhys Start of the range of physical pages. This must be entriely below 4GB! 1386 1386 * @param cbPages Number of bytes to map. … … 1388 1388 * @remark This API shall not be used to anything but mapping the switcher code. 1389 1389 */ 1390 PGMR3DECL(int) PGMR3MapIntermediate(PVM pVM, void *pvAddr, RTHCPHYS HCPhys, unsigned cbPages);1390 PGMR3DECL(int) PGMR3MapIntermediate(PVM pVM, RTUINTPTR Addr, RTHCPHYS HCPhys, unsigned cbPages); 1391 1391 1392 1392 /** -
trunk/include/VBox/sup.h
r335 r914 169 169 { 170 170 PCSUPGLOBALINFOPAGE pGIP; 171 __asm__ __volatile__ ("movabs g_SUPGlobalInfoPage,%0\n\t" 171 __asm__ __volatile__ ("movabs g_SUPGlobalInfoPage,%0\n\t" 172 172 : "=a" (pGIP)); 173 173 return pGIP; … … 176 176 # else 177 177 # define g_pSUPGlobalInfoPage (&g_SUPGlobalInfoPage) 178 #endif 178 #endif 179 179 #else 180 180 extern DECLIMPORT(PCSUPGLOBALINFOPAGE) g_pSUPGlobalInfoPage; … … 251 251 * 252 252 * @returns error code specific to uFunction. 253 * @param pVM Pointer to the Host Contextmapping of the VM structure.253 * @param pVMR0 Pointer to the Ring-0 (Host Context) mapping of the VM structure. 254 254 * @param uOperation Operation to execute. 255 255 * @param pvArg Argument. 256 256 */ 257 SUPR3DECL(int) SUPCallVMMR0(PVM pVM, unsigned uOperation, void *pvArg);257 SUPR3DECL(int) SUPCallVMMR0(PVMR0 pVMR0, unsigned uOperation, void *pvArg); 258 258 259 259 /** … … 265 265 * 266 266 * @returns error code specific to uFunction. 267 * @param pVM Pointer to the Host Contextmapping of the VM structure.267 * @param pVMR0 Pointer to the Ring-0 (Host Context) mapping of the VM structure. 268 268 * @param uOperation Operation to execute. 269 269 * @param pvArg Pointer to argument structure or if cbArg is 0 just an value. … … 272 272 * being invalidated while we're executing the call. 273 273 */ 274 SUPR3DECL(int) SUPCallVMMR0Ex(PVM pVM, unsigned uOperation, void *pvArg, unsigned cbArg);274 SUPR3DECL(int) SUPCallVMMR0Ex(PVMR0 pVMR0, unsigned uOperation, void *pvArg, unsigned cbArg); 275 275 276 276 /** … … 349 349 * @returns NULL on failure. 350 350 * @param cb Number of bytes to allocate. 351 * @param p pvR0Where to store the ring-0 mapping of the allocation. (optional)351 * @param pR0Ptr Where to store the ring-0 mapping of the allocation. (optional) 352 352 * @param pHCPhys Where to store the physical address of the memory block. 353 353 * … … 356 356 * the world switchers. 357 357 */ 358 SUPR3DECL(void *) SUPContAlloc2(unsigned cb, void **ppvR0, PRTHCPHYS pHCPhys);358 SUPR3DECL(void *) SUPContAlloc2(unsigned cb, PRTR0PTR pR0Ptr, PRTHCPHYS pHCPhys); 359 359 360 360 /** … … 486 486 SUPR0DECL(int) SUPR0LockMem(PSUPDRVSESSION pSession, void *pvR3, unsigned cb, PSUPPAGE paPages); 487 487 SUPR0DECL(int) SUPR0UnlockMem(PSUPDRVSESSION pSession, void *pvR3); 488 SUPR0DECL(int) SUPR0ContAlloc(PSUPDRVSESSION pSession, unsigned cb, void **ppvR0, void **ppvR3, PRTHCPHYS pHCPhys);488 SUPR0DECL(int) SUPR0ContAlloc(PSUPDRVSESSION pSession, unsigned cb, void **ppvR0, PRTR3PTR ppvR3, PRTHCPHYS pHCPhys); 489 489 SUPR0DECL(int) SUPR0ContFree(PSUPDRVSESSION pSession, void *pv); 490 490 SUPR0DECL(int) SUPR0LowAlloc(PSUPDRVSESSION pSession, unsigned cPages, void **ppvR3, PSUPPAGE paPages);
Note:
See TracChangeset
for help on using the changeset viewer.