VirtualBox

Changeset 11415 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 14, 2008 8:30:16 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34731
Message:

Darwin: adapt to changed RTUUID struct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/darwin/iokit.cpp

    r11389 r11415  
    15241524                            RTUuidClear(&pNew->Uuid);
    15251525                            memcpy(&pNew->Uuid, pNew->szBSDName, RT_MIN(sizeof(pNew->szBSDName), sizeof(pNew->Uuid)));
    1526                             pNew->Uuid.Gen.u16ClockSeq = (pNew->Uuid.Gen.u16ClockSeq & 0x3fff) | 0x8000;
     1526                            pNew->Uuid.Gen.u8ClockSeqHiAndReserved = (pNew->Uuid.Gen.u8ClockSeqHiAndReserved & 0x3f) | 0x80;
    15271527                            pNew->Uuid.Gen.u16TimeHiAndVersion = (pNew->Uuid.Gen.u16TimeHiAndVersion & 0x0fff) | 0x4000;
    15281528                            pNew->Uuid.Gen.au8Node[0] = Mac.au8[0];
Note: See TracChangeset for help on using the changeset viewer.

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