3 List of pages to display
5 Copyright (c) 2011-2012, Intel Corporation
6 All rights reserved. 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
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.
16 #include <WebServer.h>
20 List of pages in the system
22 CONST DT_PAGE mPageList
[] = {
25 // The index page must be first
27 { L
"/", IndexPage
, L
"Index of pages" }, ///< List the pages
30 // All other pages follow in alphabetical order
32 { PAGE_BOOT_SERVICES_TABLE
, BootServicesTablePage
, L
"Boot Services Table" }, ///< Format boot services table
33 { PAGE_CONFIGURATION_TABLE
, ConfigurationTablePage
, L
"Configuration Table" }, ///< Format configuration table
34 { L
"/DhcpOptions", DhcpOptionsPage
, L
"DHCP Options" }, ///< Display the DHCP options
35 { PAGE_ACPI_APIC
, AcpiApicPage
, L
"APIC" }, ///< Format APIC
36 { PAGE_ACPI_BGRT
, AcpiBgrtPage
, L
"BGRT" }, ///< Format BGRT
37 { PAGE_ACPI_DSDT
, AcpiDsdtPage
, L
"DSDT - Differentiated System Description Table" }, ///< Format DSDT
38 { PAGE_DXE_SERVICES_TABLE
, DxeServicesTablePage
, L
"DXE Services Table" }, ///< Format DXE services table
39 { L
"/Exit", ExitPage
, L
"Exit the web server" }, ///< Exit the web server application
40 { PAGE_ACPI_FADT
, AcpiFadtPage
, L
"FADT - Fixed ACPI Description Table" }, ///< Format FADT
41 { L
"/Firmware", FirmwarePage
, L
"Firmware" }, ///< Firmware status
42 { L
"/Handles", HandlePage
, L
"Display handles and associated protocol GUIDs" }, ///< Handle database page
43 { L
"/Hello", HelloPage
, L
"Hello World" }, ///< Hello world page
44 { PAGE_ACPI_HPET
, AcpiHpetPage
, L
"HPET" }, ///< Format HPET
45 { PAGE_ACPI_MCFG
, AcpiMcfgPage
, L
"MCFG" }, ///< Format MCFG
46 { L
"/MemoryMap", MemoryMapPage
, L
"Memory Map" }, ///< Memory list
47 #if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
48 { L
"/MTRRs", MemoryTypeRegistersPage
, L
"Memory Type Range Registers" }, ///< Memory type range register table
50 { L
"/Ports", PortsPage
, L
"Display web-server ports" },///< Web-server ports page
51 { L
"/Reboot", RebootPage
, L
"Reboot the sytem" }, ///< Reboot page
52 { PAGE_ACPI_RSDP_10B
, AcpiRsdp10Page
, L
"RSDP 1.0b - ACPI Root System Description Pointer" }, ///< Format RSDP 1.0b table
53 { PAGE_ACPI_RSDP_30
, AcpiRsdp30Page
, L
"RSDP 3.0 - ACPI Root System Description Pointer" }, ///< Format RSDP 3.0 table
54 { PAGE_ACPI_RSDT
, AcpiRsdtPage
, L
"RSDT - ACPI Root System Description Table" }, ///< Format RSDT
55 { PAGE_RUNTIME_SERVICES_TABLE
, RuntimeSservicesTablePage
, L
"Runtime Services Table" },///< Format runtime services table
56 { PAGE_ACPI_SSDT
, AcpiSsdtPage
, L
"SSDT" }, ///< Format SSDT
57 { L
"/SystemTable", SystemTablePage
, L
"System Table" },///< Format system table
58 { PAGE_ACPI_TCPA
, AcpiTcpaPage
, L
"TCPA" }, ///< Format TCPA
59 { PAGE_ACPI_UEFI
, AcpiUefiPage
, L
"UEFI" } ///< Format UEFI
62 CONST UINTN mPageCount
= DIM ( mPageList
);