VirtualBox

Changeset 13306 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 15, 2008 9:17:04 PM (16 years ago)
Author:
vboxsync
Message:

IPRT,++: some assert.h cleanup, making a suitable place to call panic() in ring-0.

Location:
trunk/src/VBox/HostDrivers/Support/linux
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r13000 r13306  
    9090        r0drv/linux/time-r0drv-linux.o \
    9191        r0drv/linux/timer-r0drv-linux.o \
    92         common/err/RTErrConvertFromErrno.o
     92        common/err/RTErrConvertFromErrno.o \
     93        generic/RTAssertShouldPanic-generic.o
    9394ifeq ($(BUILD_TARGET_ARCH),x86)
    9495OBJS += math/gcc/divdi3.o \
     
    237238
    238239# By default we use remap_pfn_range() kernel API to make kernel pages
    239 # visible for userland. Unfortuately, it leads to situation that 
    240 # during debug session all structures on that page (such as PVM pointer) 
    241 # are not accessible to the debugger (see #3214). 
    242 # This code enables experimental support 
     240# visible for userland. Unfortuately, it leads to situation that
     241# during debug session all structures on that page (such as PVM pointer)
     242# are not accessible to the debugger (see #3214).
     243# This code enables experimental support
    243244# for vm_insert_page() kernel API, allowing to export kernel pages
    244 # to the userland in more debugger-friendly way. Due to stability 
     245# to the userland in more debugger-friendly way. Due to stability
    245246# concerns, not enabled by default yet.
    246247ifdef VBOX_USE_INSERT_PAGE
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r12360 r13306  
    946946
    947947/** @todo move to IPRT! */
    948 RTDECL(bool) RTAssertDoBreakpoint(void)
    949 {
    950     return true;
    951 }
    952 
    953 
    954 /** @todo move to IPRT! */
    955948RTDECL(void) AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)
    956949{
  • trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv

    r12099 r13306  
    8989    ${PATH_ROOT}/src/VBox/Runtime/include/internal/string.h=>include/internal/string.h \
    9090    ${PATH_ROOT}/src/VBox/Runtime/include/internal/thread.h=>include/internal/thread.h \
     91    ${PATH_ROOT}/src/VBox/Runtime/generic/RTAssertShouldPanic-generic.cpp=>generic/RTAssertShouldPanic-generic.c \
    9192    ${PATH_ROOT}/src/VBox/Runtime/generic/RTLogWriteStdErr-stub-generic.cpp=>generic/RTLogWriteStdErr-stub-generic.c \
    9293    ${PATH_ROOT}/src/VBox/Runtime/generic/RTLogWriteStdOut-stub-generic.cpp=>generic/RTLogWriteStdOut-stub-generic.c \
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