assert-r0drv-linux.c revision 5eda82e218d35ae0691febd531e1bfc0324cc4a6
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * IPRT - Assertion Workers, Ring-0 Drivers, Linux.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync * Copyright (C) 2007 Oracle Corporation
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * available from http://www.virtualbox.org. This file is free software;
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * you can redistribute it and/or modify it under the terms of the GNU
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * General Public License (GPL) as published by the Free Software
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * The contents of this file may alternatively be used under the terms
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * of the Common Development and Distribution License Version 1.0
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * VirtualBox OSE distribution, in which case the provisions of the
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * CDDL are applicable instead of those of the GPL.
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * You may elect to license modified versions of this file under the
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync * terms and conditions of either the GPL or the CDDL or both.
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync/*******************************************************************************
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync* Header Files *
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync*******************************************************************************/
5eda82e218d35ae0691febd531e1bfc0324cc4a6vboxsyncDECLHIDDEN(void) rtR0AssertNativeMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)
6fffd38c4ef918b4aaa702d0768422e0be119ba7vboxsync "\r\n!!Assertion Failed!!\r\n"
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync "Expression: %s\r\n"
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync "Location : %s(%d) %s\r\n",
5eda82e218d35ae0691febd531e1bfc0324cc4a6vboxsyncDECLHIDDEN(void) rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va)
d606b96aa8a4be8f7d2da410f982889804c27b92vboxsync RTStrPrintfV(szMsg, sizeof(szMsg) - 1, pszFormat, va);