comparison src/gpf/inc/dar_func.h @ 5:1ea54a97e831

src/gpf: import of Magnetite src/gpf3
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 08:11:07 +0000
parents
children
comparison
equal deleted inserted replaced
4:6e457872f745 5:1ea54a97e831
1 /*
2 +------------------------------------------------------------------------------
3 | File: dar_func.h
4 +------------------------------------------------------------------------------
5 | Copyright 2002 Texas Instruments Berlin, AG
6 | All rights reserved.
7 |
8 | This file is confidential and a trade secret of Texas
9 | Instruments Berlin, AG
10 | The receipt of or possession of this file does not convey
11 | any rights to reproduce or disclose its contents or to
12 | manufacture, use, or sell anything it may describe, in
13 | whole, or in part, without the specific written consent of
14 | Texas Instruments Berlin, AG.
15 +-----------------------------------------------------------------------------
16 | Purpose : DAR properties.
17 +-----------------------------------------------------------------------------
18 */
19
20 #ifndef __DAR_FUNC_H__
21 #define __DAR_FUNC_H__
22
23 /*==== CONSTANTS ==================================================*/
24
25 #define DAR_INITIALIZED 0xAFFEDEAD
26
27 /*==== TYPES ======================================================*/
28
29 typedef struct
30 {
31 int (*diagnose_swe_filter) (int,char);
32 int (*diagnose_write)(char*,char,char,int);
33 int (*diagnose_write_emergency)(char*,char,int,int);
34 int (*diagnose_generate_emergency)(char*,char,int);
35 int gpf_use_id;
36 int new_entry;
37 char ascii_format;
38 char warning;
39 char error;
40 } T_GPF_DAR_PROPERTIES;
41
42 typedef struct
43 {
44 unsigned int magic_nr;
45 T_GPF_DAR_PROPERTIES * properties;
46 } T_GPF_DAR_STRUCT;
47
48 /*==== PROTOTYPES =================================================*/
49
50
51 #endif /* __DAR_FUNC_H__ */
52