VirtualBox

Ignore:
Timestamp:
Jun 2, 2023 9:06:45 AM (21 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157727
Message:

Runtime/RTFdt: Fix for converting the memory reservations when writing the DTB, bugref:10401 bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/fdt.cpp

    r100040 r100048  
    10671067        DTBFDTRSVENTRY MemRsv;
    10681068
    1069         MemRsv.PhysAddrStart = RT_H2BE_U32(pThis->paMemRsv[i].PhysAddrStart);
    1070         MemRsv.cbArea        = RT_H2BE_U32(pThis->paMemRsv[i].cbArea);
     1069        MemRsv.PhysAddrStart = RT_H2BE_U64(pThis->paMemRsv[i].PhysAddrStart);
     1070        MemRsv.cbArea        = RT_H2BE_U64(pThis->paMemRsv[i].cbArea);
    10711071        rc = RTVfsIoStrmWrite(hVfsIos, &MemRsv, sizeof(MemRsv), true /*fBlocking*/, NULL /*pcbWritten*/);
    10721072        if (RT_FAILURE(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette