1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
//**********************************************************************
//**********************************************************************
//** **
//** (C)Copyright 1985-2012, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
//** **
//** Phone: (770)-246-8600 **
//** **
//**********************************************************************
//**********************************************************************
//**********************************************************************
// $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/IntelPfat/PfatSetup/PfatSetup.sd 1 9/17/12 4:49p Fredericko $
//
// $Revision: 1 $
//
// $Date: 9/17/12 4:49p $
//**********************************************************************
// Revision History
// ----------------
// $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/IntelPfat/PfatSetup/PfatSetup.sd $
//
// 1 9/17/12 4:49p Fredericko
// Added PfatSetup Module-part
//
//
//**********************************************************************
//<AMI_FHDR_START>
//
// Name: PfatSetup.sd
//
// Description: Create the setup item for PFAT.
//
//<AMI_FHDR_END>
//**********************************************************************
#ifdef SETUP_DATA_DEFINITION
//---------------------------------------------------------------------------
// Put NVRAM data definitions here.
// For example: UINT8 Data1;
// These definitions will be converted by the build process
// to a definitions of SETUP_DATA fields.
//---------------------------------------------------------------------------
UINT8 Pfatstate;
#endif
#if defined(VFRCOMPILE) && !defined(CONTROLS_ARE_DEFINED)
#define CONTROL_DEFINITION
#endif
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifdef CONTROL_DEFINITION
#define PFAT_ONEOF_STATEENABLE\
oneof varid = SETUP_DATA.Pfatstate,\
prompt = STRING_TOKEN(STR_PFAT_CONFIGURATION_PROMPT),\
help = STRING_TOKEN(STR_PFAT_CONFIGURATION_HELP),\
option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED, key = 0;\
option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED, key = 0;\
endoneof;
#endif // CONTROL_DEFINITION
#ifdef CONTROLS_WITH_DEFAULTS
PFAT_ONEOF_STATEENABLE
#endif // CONTROLS_WITH_DEFAULTS
//---------------------------------------------------------------------------
// ADVANCED - CRB Configuration Form
//---------------------------------------------------------------------------
#ifdef ADVANCED_FORM_SET
#ifndef SUPPRESS_GRAYOUT_ENDIF //old Core
#define SUPPRESS_GRAYOUT_ENDIF endif;
#endif
#ifdef FORM_SET_GOTO
// Define goto commands for the forms defined in this file
goto PFAT_CONFIGURATION_FORM_ID,
prompt = STRING_TOKEN(STR_PFAT_CONFIGURATION_FORM),
help = STRING_TOKEN(STR_PFAT_CONFIGURATION_HELP);
#endif
#ifdef FORM_SET_FORM
// Define forms
#ifndef PFAT_CONFIGURATION_FORM_SETUP
#define PFAT_CONFIGURATION_FORM_SETUP
form formid = AUTO_ID(PFAT_CONFIGURATION_FORM_ID),
title = STRING_TOKEN(STR_PFAT_CONFIGURATION_FORM);
grayoutif ideqval SYSTEM_ACCESS.Access == SYSTEM_PASSWORD_USER;
PFAT_ONEOF_STATEENABLE
endif;
endform; // PFAT_FORM_ID
#endif // PFAT_CONFIGURATION_FORM_SETUP
#endif // FORM_SET_FORM
#endif // ADVANCED_FORM_SET
//*************************************************************************
//*************************************************************************
//** **
//** (C)Copyright 1985-2012, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
//** **
//** Phone: (770)-246-8600 **
//** **
//*************************************************************************
//*************************************************************************
|