source: trunk/src/win32k/misc/abort.c

Last change on this file was 4783, checked in by bird, 25 years ago

Corrected compiler error on Int3().

File size: 1.0 KB
Line 
1/* $Id: abort.c,v 1.2 2000-12-11 06:41:19 bird Exp $
2 *
3 * Abort replacement.
4 *
5 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
6 *
7 * Project Odin Software License can be found in LICENSE.TXT
8 *
9 */
10/*******************************************************************************
11* Internal Functions *
12*******************************************************************************/
13#include <os2.h>
14#include "devSegDf.h" /* Win32k segment definitions. */
15#if defined(RING0) || defined(RING3)
16 #include "dev32.h"
17#else
18 #define SSToDS(a) (a)
19#endif
20#include "string.h"
21#include "log.h"
22
23#include <builtin.h>
24#include <asmutils.h>
25#define assert(a) ((a) ? (void)0 : __interrupt(3))
26
27
28
29
30/**
31 * Abort substitute.
32 * Pure virtual fallback function jump to abort.
33 * We'll set up an IPE later, currently we'll do a breakpoint.
34 */
35void abort(void)
36{
37 kprintf(("abort() !Internal Processing Error! abort()\n"));
38 Int3();
39}
Note: See TracBrowser for help on using the repository browser.