Changeset 28380 in vbox
- Timestamp:
- Apr 15, 2010 5:35:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r28065 r28380 4078 4078 { 4079 4079 if (pAhciPortTaskState->pvBufferUnaligned) 4080 RTMem Free(pAhciPortTaskState->pvBufferUnaligned);4080 RTMemPageFree(pAhciPortTaskState->pvBufferUnaligned, pAhciPortTaskState->cbBufferUnaligned); 4081 4081 4082 4082 Log(("%s: Allocating buffer for unaligned segments cbUnaligned=%u\n", __FUNCTION__, cbUnaligned)); 4083 4083 4084 pAhciPortTaskState->pvBufferUnaligned = RTMem AllocZ(cbUnaligned);4084 pAhciPortTaskState->pvBufferUnaligned = RTMemPageAlloc(cbUnaligned); 4085 4085 if (!pAhciPortTaskState->pvBufferUnaligned) 4086 4086 return VERR_NO_MEMORY; … … 4173 4173 if (!pAhciPortTaskState->paSGEntries) 4174 4174 { 4175 RTMem Free(pAhciPortTaskState->pvBufferUnaligned);4175 RTMemPageFree(pAhciPortTaskState->pvBufferUnaligned, pAhciPortTaskState->cbBufferUnaligned); 4176 4176 RTMemFree(pAhciPortTaskState->pSGListHead); 4177 4177 return VERR_NO_MEMORY;
Note:
See TracChangeset
for help on using the changeset viewer.