]>
Commit | Line | Data |
---|---|---|
9f7f5161 | 1 | /** |
2 | @file | |
4684b66f | 3 | List of pages to display |
4 | ||
bcb96695 MK |
5 | Copyright (c) 2011-2012, Intel Corporation. All rights reserved. |
6 | SPDX-License-Identifier: BSD-2-Clause-Patent | |
9f7f5161 | 7 | |
4684b66f | 8 | **/ |
9 | ||
10 | #include <WebServer.h> | |
11 | ||
12 | ||
13 | /** | |
14 | List of pages in the system | |
15 | **/ | |
59bc0593 | 16 | CONST DT_PAGE mPageList[] = { |
4684b66f | 17 | |
18 | // | |
19 | // The index page must be first | |
20 | // | |
21 | { L"/", IndexPage, L"Index of pages" }, ///< List the pages | |
22 | ||
23 | // | |
24 | // All other pages follow in alphabetical order | |
25 | // | |
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 | |
9f7f5161 | 29 | { PAGE_ACPI_APIC, AcpiApicPage, L"APIC" }, ///< Format APIC |
30 | { PAGE_ACPI_BGRT, AcpiBgrtPage, L"BGRT" }, ///< Format BGRT | |
4684b66f | 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 | |
f6e5cdd5 | 33 | { L"/Exit", ExitPage, L"Exit the web server" }, ///< Exit the web server application |
4684b66f | 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 | |
9f7f5161 | 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 | |
43 | #endif // Intel | |
f6e5cdd5 | 44 | { L"/Ports", PortsPage, L"Display web-server ports" },///< Web-server ports page |
4684b66f | 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 | |
9f7f5161 | 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 | |
4684b66f | 54 | }; |
55 | ||
56 | CONST UINTN mPageCount = DIM ( mPageList ); |