]> git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Sockets/WebServer/PageList.c
Merged socket development branch:
[mirror_edk2.git] / AppPkg / Applications / Sockets / WebServer / PageList.c
1 /*++
2 This file contains an 'Intel UEFI Application' and is
3 licensed for Intel CPUs and chipsets under the terms of your
4 license agreement with Intel or your vendor. This file may
5 be modified by the user, subject to additional terms of the
6 license agreement
7 --*/
8 /*++
9
10 Copyright (c) 2011 Intel Corporation. All rights reserved
11 This software and associated documentation (if any) is furnished
12 under a license and may only be used or copied in accordance
13 with the terms of the license. Except as permitted by such
14 license, no part of this software or documentation may be
15 reproduced, stored in a retrieval system, or transmitted in any
16 form or by any means without the express written consent of
17 Intel Corporation.
18
19 --*/
20
21 /** @file
22 List of pages to display
23
24 **/
25
26 #include <WebServer.h>
27
28
29 /**
30 List of pages in the system
31 **/
32 CONST DT_PAGE mPageList[] = {
33
34 //
35 // The index page must be first
36 //
37 { L"/", IndexPage, L"Index of pages" }, ///< List the pages
38
39 //
40 // All other pages follow in alphabetical order
41 //
42 { PAGE_BOOT_SERVICES_TABLE, BootServicesTablePage, L"Boot Services Table" }, ///< Format boot services table
43 { PAGE_CONFIGURATION_TABLE, ConfigurationTablePage, L"Configuration Table" }, ///< Format configuration table
44 { L"/DhcpOptions", DhcpOptionsPage, L"DHCP Options" }, ///< Display the DHCP options
45 { PAGE_ACPI_DSDT, AcpiDsdtPage, L"DSDT - Differentiated System Description Table" }, ///< Format DSDT
46 { PAGE_DXE_SERVICES_TABLE, DxeServicesTablePage, L"DXE Services Table" }, ///< Format DXE services table
47 { L"/Exit", ExitPage, L"Exit the web server" }, ///< Exit the web server application
48 { PAGE_ACPI_FADT, AcpiFadtPage, L"FADT - Fixed ACPI Description Table" }, ///< Format FADT
49 { L"/Firmware", FirmwarePage, L"Firmware" }, ///< Firmware status
50 { L"/Handles", HandlePage, L"Display handles and associated protocol GUIDs" }, ///< Handle database page
51 { L"/Hello", HelloPage, L"Hello World" }, ///< Hello world page
52 { L"/Ports", PortsPage, L"Display web-server ports" },///< Web-server ports page
53 { L"/Reboot", RebootPage, L"Reboot the sytem" }, ///< Reboot page
54 { PAGE_ACPI_RSDP_10B, AcpiRsdp10Page, L"RSDP 1.0b - ACPI Root System Description Pointer" }, ///< Format RSDP 1.0b table
55 { PAGE_ACPI_RSDP_30, AcpiRsdp30Page, L"RSDP 3.0 - ACPI Root System Description Pointer" }, ///< Format RSDP 3.0 table
56 { PAGE_ACPI_RSDT, AcpiRsdtPage, L"RSDT - ACPI Root System Description Table" }, ///< Format RSDT
57 { PAGE_RUNTIME_SERVICES_TABLE, RuntimeSservicesTablePage, L"Runtime Services Table" },///< Format runtime services table
58 { L"/SystemTable", SystemTablePage, L"System Table" } ///< Format system table
59 };
60
61 CONST UINTN mPageCount = DIM ( mPageList );