]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Sockets/WebServer/PageList.c
Fix the errors detected by the GCC compiler:
[mirror_edk2.git] / AppPkg / Applications / Sockets / WebServer / PageList.c
CommitLineData
4684b66f 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
10Copyright (c) 2011 Intel Corporation. All rights reserved
11This software and associated documentation (if any) is furnished
12under a license and may only be used or copied in accordance
13with the terms of the license. Except as permitted by such
14license, no part of this software or documentation may be
15reproduced, stored in a retrieval system, or transmitted in any
16form or by any means without the express written consent of
17Intel 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**/
59bc0593 32CONST DT_PAGE mPageList[] = {
4684b66f 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
f6e5cdd5 47 { L"/Exit", ExitPage, L"Exit the web server" }, ///< Exit the web server application
4684b66f 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
f6e5cdd5 52 { L"/Ports", PortsPage, L"Display web-server ports" },///< Web-server ports page
4684b66f 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
61CONST UINTN mPageCount = DIM ( mPageList );