Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / i386-darwin / exec / alert.c
blob2324f1165b78e6ac153aa2cbc5abd86a0405d0ff
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Display an alert.
6 Lang: english
7 */
8 #include <exec/execbase.h>
9 #include <aros/libcall.h>
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <exec/alerts.h>
13 #include <proto/exec.h>
14 #include <proto/kernel.h>
15 #include <aros/kernel.h>
16 #include <proto/arossupport.h>
18 /*****************************************************************************
20 NAME */
22 AROS_LH1(void, Alert,
24 /* SYNOPSIS */
25 AROS_LHA(ULONG, alertNum, D7),
27 /* LOCATION */
28 struct ExecBase *, SysBase, 18, Exec)
30 /* FUNCTION
31 Alerts the user of a serious system problem.
33 INPUTS
34 alertNum - This is a number which contains information about
35 the reason for the call.
37 RESULT
38 This routine may return, if the alert is not a dead-end one.
40 NOTES
41 You should not call this routine because it halts the machine,
42 displays the message and then may reboot it.
44 EXAMPLE
45 // Dead-End alert: 680x0 Access To Odd Address
46 Alert (0x80000003);
48 BUGS
50 SEE ALSO
52 INTERNALS
54 HISTORY
55 26-08-95 digulla created after EXEC-Routine
56 05-04-2008 danielo modified for osx
58 ******************************************************************************/
60 AROS_LIBFUNC_INIT
62 KRNWireImpl(Alert);
64 CALLHOOKPKT(krnAlertImpl,0,TAGLIST(TAG_USER,alertNum,TAG_DONE));
66 AROS_LIBFUNC_EXIT
67 } /* Alert */