- Timestamp:
- Aug 29, 2007 8:49:20 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pgm.h
r4387 r4412 1010 1010 1011 1011 /** 1012 * Read from guest physical memory referenced by GC pointer. 1013 * 1014 * This function uses the current CR3/CR0/CR4 of the guest and will 1015 * respect access handlers and set accessed bits. 1016 * 1017 * @returns VBox status. 1018 * @param pVM VM handle. 1019 * @param pvDst The destination address. 1020 * @param GCPtrSrc The source address (GC pointer). 1021 * @param cb The number of bytes to read. 1022 */ 1023 PGMDECL(int) PGMPhysReadGCPtrSafe(PVM pVM, void *pvDst, RTGCPTR GCPtrSrc, size_t cb); 1024 1025 /** 1026 * Write to guest physical memory referenced by GC pointer. 1027 * 1028 * This function uses the current CR3/CR0/CR4 of the guest and will 1029 * respect access handlers and set dirty and accessed bits. 1030 * 1031 * @returns VBox status. 1032 * @param pVM VM handle. 1033 * @param GCPtrDst The destination address (GC pointer). 1034 * @param pvSrc The source address. 1035 * @param cb The number of bytes to write. 1036 */ 1037 PGMDECL(int) PGMPhysWriteGCPtrSafe(PVM pVM, RTGCPTR GCPtrDst, const void *pvSrc, size_t cb); 1038 1039 /** 1012 1040 * Write to guest physical memory referenced by GC pointer and update the PTE. 1013 1041 *
Note:
See TracChangeset
for help on using the changeset viewer.