2012-03-20 23:16:42 +01:00
|
|
|
/**
|
|
|
|
@file
|
2011-07-30 02:32:15 +02:00
|
|
|
List of pages to display
|
|
|
|
|
2012-03-20 23:16:42 +01:00
|
|
|
Copyright (c) 2011-2012, Intel Corporation
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
2011-07-30 02:32:15 +02:00
|
|
|
**/
|
|
|
|
|
|
|
|
#include <WebServer.h>
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
List of pages in the system
|
|
|
|
**/
|
2011-10-01 01:04:13 +02:00
|
|
|
CONST DT_PAGE mPageList[] = {
|
2011-07-30 02:32:15 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
// The index page must be first
|
|
|
|
//
|
|
|
|
{ L"/", IndexPage, L"Index of pages" }, ///< List the pages
|
|
|
|
|
|
|
|
//
|
|
|
|
// All other pages follow in alphabetical order
|
|
|
|
//
|
|
|
|
{ PAGE_BOOT_SERVICES_TABLE, BootServicesTablePage, L"Boot Services Table" }, ///< Format boot services table
|
|
|
|
{ PAGE_CONFIGURATION_TABLE, ConfigurationTablePage, L"Configuration Table" }, ///< Format configuration table
|
|
|
|
{ L"/DhcpOptions", DhcpOptionsPage, L"DHCP Options" }, ///< Display the DHCP options
|
2012-03-20 23:16:42 +01:00
|
|
|
{ PAGE_ACPI_APIC, AcpiApicPage, L"APIC" }, ///< Format APIC
|
|
|
|
{ PAGE_ACPI_BGRT, AcpiBgrtPage, L"BGRT" }, ///< Format BGRT
|
2011-07-30 02:32:15 +02:00
|
|
|
{ PAGE_ACPI_DSDT, AcpiDsdtPage, L"DSDT - Differentiated System Description Table" }, ///< Format DSDT
|
|
|
|
{ PAGE_DXE_SERVICES_TABLE, DxeServicesTablePage, L"DXE Services Table" }, ///< Format DXE services table
|
2012-02-09 20:18:06 +01:00
|
|
|
{ L"/Exit", ExitPage, L"Exit the web server" }, ///< Exit the web server application
|
2011-07-30 02:32:15 +02:00
|
|
|
{ PAGE_ACPI_FADT, AcpiFadtPage, L"FADT - Fixed ACPI Description Table" }, ///< Format FADT
|
|
|
|
{ L"/Firmware", FirmwarePage, L"Firmware" }, ///< Firmware status
|
|
|
|
{ L"/Handles", HandlePage, L"Display handles and associated protocol GUIDs" }, ///< Handle database page
|
|
|
|
{ L"/Hello", HelloPage, L"Hello World" }, ///< Hello world page
|
2012-03-20 23:16:42 +01:00
|
|
|
{ PAGE_ACPI_HPET, AcpiHpetPage, L"HPET" }, ///< Format HPET
|
|
|
|
{ PAGE_ACPI_MCFG, AcpiMcfgPage, L"MCFG" }, ///< Format MCFG
|
|
|
|
{ L"/MemoryMap", MemoryMapPage, L"Memory Map" }, ///< Memory list
|
|
|
|
#if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
|
|
|
|
{ L"/MTRRs", MemoryTypeRegistersPage, L"Memory Type Range Registers" }, ///< Memory type range register table
|
|
|
|
#endif // Intel
|
2012-02-09 20:18:06 +01:00
|
|
|
{ L"/Ports", PortsPage, L"Display web-server ports" },///< Web-server ports page
|
2011-07-30 02:32:15 +02:00
|
|
|
{ L"/Reboot", RebootPage, L"Reboot the sytem" }, ///< Reboot page
|
|
|
|
{ PAGE_ACPI_RSDP_10B, AcpiRsdp10Page, L"RSDP 1.0b - ACPI Root System Description Pointer" }, ///< Format RSDP 1.0b table
|
|
|
|
{ PAGE_ACPI_RSDP_30, AcpiRsdp30Page, L"RSDP 3.0 - ACPI Root System Description Pointer" }, ///< Format RSDP 3.0 table
|
|
|
|
{ PAGE_ACPI_RSDT, AcpiRsdtPage, L"RSDT - ACPI Root System Description Table" }, ///< Format RSDT
|
|
|
|
{ PAGE_RUNTIME_SERVICES_TABLE, RuntimeSservicesTablePage, L"Runtime Services Table" },///< Format runtime services table
|
2012-03-20 23:16:42 +01:00
|
|
|
{ PAGE_ACPI_SSDT, AcpiSsdtPage, L"SSDT" }, ///< Format SSDT
|
|
|
|
{ L"/SystemTable", SystemTablePage, L"System Table" },///< Format system table
|
|
|
|
{ PAGE_ACPI_TCPA, AcpiTcpaPage, L"TCPA" }, ///< Format TCPA
|
|
|
|
{ PAGE_ACPI_UEFI, AcpiUefiPage, L"UEFI" } ///< Format UEFI
|
2011-07-30 02:32:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
CONST UINTN mPageCount = DIM ( mPageList );
|