RDFU
1.0
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
EfiScannerLib.h
Go to the documentation of this file.
1
#ifndef EFI_SCANNERLIB_H
2
#define EFI_SCANNERLIB_H
3
4
5
6
//
7
// typedefs
8
//
9
10
11
#if defined(_WIN64)
12
typedef
UINT64
C_PTR
;
13
#else
14
typedef
UINT32
C_PTR
;
15
#endif
16
17
typedef
UINT64
MAX_PTR
;
18
19
typedef
UINT16
WORD
;
20
typedef
UINT32
DWORD
;
21
typedef
INT32
LONG
;
22
23
24
typedef
VOID*
PVOID
;
25
typedef
UINT64
ULONG64
;
26
typedef
UINT16
USHORT
;
27
typedef
UINT8
UCHAR
;
28
typedef
UINT32
ULONG
,
ULONG32
;
29
30
#if defined(_WIN64)
31
typedef
__int64
LONG_PTR
, *
PLONG_PTR
;
32
#else
33
typedef
long
LONG_PTR
, *
PLONG_PTR
;
34
#endif
35
36
37
//
38
// structures
39
//
40
41
42
43
// for describing list of bad regions that cause machine freeze (from config)
44
45
#define MAX_BAD_ADDRS 40
46
47
typedef
struct
_bad_addr_entry
48
{
49
C_PTR
StartAddr
;
50
C_PTR
EndAddr
;
51
}
bad_addr_entry
;
52
53
54
55
56
typedef
struct
_policy
57
{
58
BOOLEAN
OpUsePrint
;
// output to screen
59
BOOLEAN
OpUseLog
;
// output to file
60
BOOLEAN
OpUseComPort
;
// output to com port
61
62
bad_addr_entry
BadAddrs
[
MAX_BAD_ADDRS
];
63
UINTN
NumOfBadAddrs
;
64
65
}
policy
;
66
67
68
69
70
#endif
EfiScannerLib.h
Generated on Thu Apr 18 2013 10:57:17 for RDFU by
1.8.3.1