5 Copyright (c) 2011-2012, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include <WebServer.h>
20 Respond with the firmware status
22 @param [in] SocketFD The socket's file descriptor to add to the list.
23 @param [in] pPort The WSDT_PORT structure address
24 @param [out] pbDone Address to receive the request completion status
26 @retval EFI_SUCCESS The request was successfully processed
41 // Send the system table page
45 // Send the page and table header
47 Status
= TableHeader ( SocketFD
, pPort
, L
"Firmware", NULL
);
48 if ( EFI_ERROR ( Status
)) {
53 // Display the firmware vendor and revision
55 Status
= RowUnicodeString ( SocketFD
,
58 gST
->FirmwareVendor
);
59 if ( EFI_ERROR ( Status
)) {
63 Status
= RowRevision ( SocketFD
,
66 gST
->FirmwareRevision
);
67 if ( EFI_ERROR ( Status
)) {
72 // Display the UEFI version
74 Status
= RowRevision ( SocketFD
,
78 if ( EFI_ERROR ( Status
)) {
83 // Build the table trailer
85 Status
= TableTrailer ( SocketFD
,
92 // Return the operation status
94 DBG_EXIT_STATUS ( Status
);