form formid = 2, // SecondSetupPage,\r
title = STRING_TOKEN(STR_FORM2_TITLE); // note formid is a variable (for readability) (UINT16) - also added Form to the line to signify the Op-Code\r
\r
-\r
- date year varid = Date.Year, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from\r
- prompt = STRING_TOKEN(STR_DATE_PROMPT),\r
- help = STRING_TOKEN(STR_DATE_HELP),\r
- minimum = 1998,\r
- maximum = 2099,\r
- step = 1,\r
- default = 2004,\r
-\r
- month varid = Date.Month, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from\r
- prompt = STRING_TOKEN(STR_DATE_PROMPT),\r
- help = STRING_TOKEN(STR_DATE_HELP),\r
- minimum = 1,\r
- maximum = 12,\r
- step = 1,\r
- default = 1,\r
-\r
- day varid = Date.Day, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from\r
- prompt = STRING_TOKEN(STR_DATE_PROMPT),\r
- help = STRING_TOKEN(STR_DATE_HELP),\r
- minimum = 1,\r
- maximum = 31,\r
- step = 0x1,\r
- default = 1,\r
+ date\r
+ name = Date,\r
+ prompt = STRING_TOKEN(STR_DATE_PROMPT),\r
+ help = STRING_TOKEN(STR_DATE_HELP),\r
+ flags = STORAGE_TIME,\r
+ default = 1/1/2004,\r
\r
inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),\r
ideqval Date.Day == 31\r
flags = INTERACTIVE,\r
key = 0x1242;\r
\r
- time hour varid = Time.Hour, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from\r
- prompt = STRING_TOKEN(STR_TIME_PROMPT),\r
- help = STRING_TOKEN(STR_TIME_HELP),\r
- minimum = 0,\r
- maximum = 23,\r
- step = 1,\r
- default = 0,\r
-\r
- minute varid = Time.Minute, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from\r
- prompt = STRING_TOKEN(STR_TIME_PROMPT),\r
- help = STRING_TOKEN(STR_TIME_HELP),\r
- minimum = 0,\r
- maximum = 59,\r
- step = 1,\r
- default = 0,\r
-\r
- second varid = Time.Second, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from\r
- prompt = STRING_TOKEN(STR_TIME_PROMPT),\r
- help = STRING_TOKEN(STR_TIME_HELP),\r
- minimum = 0,\r
- maximum = 59,\r
- step = 1,\r
- default = 0,\r
-\r
+ time\r
+ prompt = STRING_TOKEN(STR_TIME_PROMPT),\r
+ help = STRING_TOKEN(STR_TIME_HELP),\r
+ flags = STORAGE_TIME,\r
endtime;\r
\r
time \r
return EFI_INVALID_PARAMETER;\r
}\r
\r
- //\r
- // Statement don't have storage, skip them\r
- //\r
- if (Question->QuestionId == 0) {\r
- return Status;\r
- }\r
-\r
//\r
// Question value is provided by an Expression, evaluate it\r
//\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
- //\r
- // Statement don't have storage, skip them\r
- //\r
- if (Question->QuestionId == 0) {\r
- return Status;\r
- }\r
-\r
//\r
// If Question value is provided by an Expression, then it is read only\r
//\r