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