VirtualBox

Changeset 14501 in vbox


Ignore:
Timestamp:
Nov 24, 2008 2:22:21 AM (16 years ago)
Author:
vboxsync
Message:

IPRT/SUPDrv/VMM: Made RTR0AssertPanicSystem available to VMMR0.r0 on darwin & solaris (only platforms implemting it currently). Created RTAssertMsg1, RTAssertMsg2 and RTAssertMsg2V (darwin only atm) in addition to AssertMsg1/2 and delcared the latter two as weak and overridable by users, while the former are strong and exposed by SUPDrv. This way we can get the full assertion text in the 'Problem Report for Mac OS X Kernel' thing. Will propagte the changes to the other platforms and rings later.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r14496 r14501  
    399399    { "AssertMsg1",                             (void *)UNWIND_WRAP(AssertMsg1) },
    400400    { "AssertMsg2",                             (void *)AssertMsg2 }, /** @todo replace this by RTAssertMsg2V */
     401#if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS)
     402    { "RTR0AssertPanicSystem",                  (void *)RTR0AssertPanicSystem },
     403#endif
     404#if defined(RT_OS_DARWIN)
     405    { "RTAssertMsg1",                           (void *)RTAssertMsg1 },
     406    { "RTAssertMsg2",                           (void *)RTAssertMsg2 },
     407    { "RTAssertMsg2V",                          (void *)RTAssertMsg2V },
     408#endif
    401409};
    402410
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r14496 r14501  
    449449        { "AssertMsg1",                             0xefef003a },
    450450        { "AssertMsg2",                             0xefef003b },
     451        { "RTAssertMsg1",                           0xefef003c },
     452        { "RTAssertMsg2",                           0xefef003d },
     453        { "RTAssertMsg2V",                          0xefef003e },
    451454    };
    452455
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