summaryrefslogtreecommitdiff
path: root/Core/EM/HddSecurity/Hddpassword/HddPassword.sdl
blob: a020c63cf02038102ec9b93b13acc04ef52ab426 (plain)
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
TOKEN
    Name  = "SETUP_IDE_SECURITY_SUPPORT"
    Value  = "1"
    Help  = "Main switch to enable Hdd password Screen in Project"
    TokenType = Boolean
    TargetEQU = Yes
    TargetMAK = Yes
    TargetH = Yes
    Master = Yes
End

TOKEN
    Name  = "SETUP_ASK_MASTER_PASSWORD"
    Value  = "0"
    Help  = "Enable / Disable IDE Master password support"
    TokenType = Boolean
    TargetH = Yes
End

TOKEN
    Name  = "SETUP_SAME_SYS_HDD_PW"
    Value  = "0"
    Help  = "Enable to have User password as IDE password"
    TokenType = Boolean
    TargetMAK = Yes
    TargetH = Yes
End


TOKEN
    Name  = "USER_PASSWORD_RETRY_ATTEMPTS"
    Value  = "3"
    Help  = "Maximum number of attempts allowed to the HDD User Password. This token value should be less than or equal to MAXIMUM_HDD_UNLOCK_ATTEMPTS token. If all the attempts by user password failed then (MAXIMUM_HDD_UNLOCK_ATTEMPTS - USER_PASSWORD_RETRY_ATTEMPTS) attempts will be given to Master password"
    TokenType = Integer
    TargetH = Yes
    TargetMAK = Yes
    Range  = "1 - MAXIMUM_HDD_UNLOCK_ATTEMPTS"
End

TOKEN
    Name  = "MAXIMUM_HDD_UNLOCK_ATTEMPTS"
    Value  = "5"
    Help  = "Maximum number of attempts in POST in which the user has to enter the HDD User Password/Master Password to unlock the HDD.This token value should not exceed 5 times because the ATA SECURITY UNLOCK command fails even if the correct User/Master password is entered on the sixth time because the ATA Security Expire Count is 5"
    TokenType = Integer
    TargetH = Yes
    TargetMAK = Yes
    Range  = "1 - 5"
End

TOKEN
    Name  = "ALL_HDD_SAME_PW"
    Value  = "0"
    Help  = "1-Enable to have one password for all HDD drives,0-Different HDD could have different password"
    TokenType = Boolean
    TargetMAK = Yes
    TargetH = Yes
End
PATH
    Name  = "AMITSE_HDD_PASSWORD_DIR"
End

MODULE
    Help  = "Includes HddPassword.mak to Project"
    File  = "HddPassword.mak"
End

ELINK
    Name  = "RegisterHddNotification,"
    Parent  = "ProcessConInAvailability,"
    InvokeOrder = AfterParent
End

ELINK
    Name  = "$(BUILD_DIR)\HddPassword.obj"
    Parent  = "AMITSE_Objects"
    InvokeOrder = AfterParent
End

ELINK
    Name  = "$(AMITSE_HDD_PASSWORD_DIR)\HddSecTokens.c"
    Parent  = "TSE_STRING_CONSUMERS_LIST"
    InvokeOrder = AfterParent
End

ELINK
    Name  = "-i $(AMITSE_HDD_PASSWORD_DIR)"
    Parent  = "TSE_UNI_INCLUDE_PATH"
    InvokeOrder = AfterParent
End

ELINK
    Name  = "$(BUILD_DIR)\HddPassword.sdb"
    Parent  = "TSE_SDBS"
    InvokeOrder = AfterParent
End

ELINK
	Name  = "DisableSoftwarePreservation,"
	Parent  = "PreSystemResetHookHook,"
	InvokeOrder = AfterParent
	Token = "FORCE_HDD_PASSWORD_PROMPT" "=" "1"
End

ELINK
	Name  = "$(BUILD_DIR)\ForceHddPassword.obj"
	Parent  = "AMITSE_Objects"
	InvokeOrder = AfterParent
	Token = "FORCE_HDD_PASSWORD_PROMPT" "=" "1"
End

TOKEN
	Name  = "OVERRIDE_FramePwdCallbackIdePasswordUpdate"
	Value  = "1"
	Help  = "set to 1 if oem wants to override the FramePwdCallbackIdePasswordUpdate function from Board module."
	TokenType = Boolean
	Token = "SECUITY_SETUP_ON_SAME_PAGE" "=" "1"
	TargetH = Yes
End

TOKEN
	Name  = "OVERRIDE_PopupPwdAuthenticateIDEPwd"
	Value  = "1"
	Help  = "set to 1 if oem wants to override the PopupPwdAuthenticateIDEPwd function from Board module."
	TokenType = Boolean
	Token = "SECUITY_SETUP_ON_SAME_PAGE" "=" "1"
	TargetH = Yes
End

TOKEN
	Name  = "OVERRIDE_PopupPwdUpdateIDEPwd"
	Value  = "1"
	Help  = "set to 1 if oem wants to override the PopupPwdUpdateIDEPwd function from Board module."
	TokenType = Boolean
	Token = "SECUITY_SETUP_ON_SAME_PAGE" "=" "1"
	TargetH = Yes
End