1///** @file
2//
3//  Front page formset.
4//
5//  Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
6//  This program and the accompanying materials
7//  are licensed and made available under the terms and conditions of the BSD License
8//  which accompanies this distribution.  The full text of the license may be found at
9//  http://opensource.org/licenses/bsd-license.php
10//
11//  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12//  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13//
14//**/
15
16#define FORMSET_GUID  { 0x9e0c30bc, 0x3f06, 0x4ba6, 0x82, 0x88, 0x9, 0x17, 0x9b, 0x85, 0x5d, 0xbe }
17
18#define FRONT_PAGE_FORM_ID             0x1000
19
20#define FRONT_PAGE_KEY_CONTINUE        0x1000
21#define FRONT_PAGE_KEY_LANGUAGE        0x1234
22
23#define LABEL_SELECT_LANGUAGE          0x1000
24#define LABEL_PLATFORM_INFORMATION     0x1001
25#define LABEL_END                      0xffff
26
27formset
28  guid     = FORMSET_GUID,
29  title    = STRING_TOKEN(STR_FRONT_PAGE_TITLE),
30  help     = STRING_TOKEN(STR_EMPTY_STRING ),
31  classguid = FORMSET_GUID,
32
33  form formid = FRONT_PAGE_FORM_ID,
34       title  = STRING_TOKEN(STR_FRONT_PAGE_TITLE);
35
36    banner
37      title = STRING_TOKEN(STR_FRONT_PAGE_COMPUTER_MODEL),
38      line  1,
39      align left;
40
41    banner
42      title = STRING_TOKEN(STR_FRONT_PAGE_CPU_MODEL),
43      line  2,
44      align left;
45
46    banner
47      title = STRING_TOKEN(STR_FRONT_PAGE_CPU_SPEED),
48      line  2,
49      align right;
50
51    banner
52      title = STRING_TOKEN(STR_FRONT_PAGE_BIOS_VERSION),
53      line  3,
54      align left;
55
56    banner
57      title = STRING_TOKEN(STR_FRONT_PAGE_MEMORY_SIZE),
58      line  3,
59      align right;
60
61//    banner
62//      title = STRING_TOKEN(STR_FRONT_PAGE_BANNER_0_LEFT),
63//      line  0,
64//      align left;
65
66//    banner
67//      title = STRING_TOKEN(STR_FRONT_PAGE_BANNER_0_RIGHT),
68//      line  0,
69//      align right;
70
71//    banner
72//      title = STRING_TOKEN(STR_FRONT_PAGE_BANNER_1_LEFT),
73//      line  1,
74//      align left;
75
76//    banner
77//      title = STRING_TOKEN(STR_FRONT_PAGE_BANNER_1_RIGHT),
78//      line  1,
79//      align right;
80
81//    banner
82//      title = STRING_TOKEN(STR_FRONT_PAGE_BANNER_2_LEFT),
83//      line  2,
84//      align left;
85
86//    banner
87//      title = STRING_TOKEN(STR_FRONT_PAGE_BANNER_3_LEFT),
88//      line  3,
89//      align left;
90
91
92    text
93      help    = STRING_TOKEN(STR_CONTINUE_HELP),
94      text    = STRING_TOKEN(STR_CONTINUE_PROMPT),
95      flags   = INTERACTIVE,
96      key     = FRONT_PAGE_KEY_CONTINUE;
97
98    label LABEL_SELECT_LANGUAGE;
99    //
100    // This is where we will dynamically add a OneOf type op-code to select
101    // Languages from the currently available choices
102    //
103    label LABEL_END;
104
105    label LABEL_PLATFORM_INFORMATION;
106    //
107    // This is where we will dynamically add a Action type op-code to show
108    // the platform information.
109    //
110    label LABEL_END;
111
112  endform;
113
114endformset;
115