EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

AppPkg/Applications/Sockets/WebServer/SystemTable.c File Reference

#include <WebServer.h>

Go to the source code of this file.

Functions

EFI_STATUS EfiTableHeader (IN int SocketFD, IN WSDT_PORT *pPort, IN EFI_TABLE_HEADER *pHeader)
EFI_STATUS RowDecimalValue (IN int SocketFD, IN WSDT_PORT *pPort, IN CONST CHAR8 *pName, IN UINT64 Value)
EFI_STATUS RowHexValue (IN int SocketFD, IN WSDT_PORT *pPort, IN CONST CHAR8 *pName, IN UINT64 Value, IN CONST CHAR16 *pWebPage)
EFI_STATUS RowPointer (IN int SocketFD, IN WSDT_PORT *pPort, IN CONST CHAR8 *pName, IN CONST VOID *pAddress, IN CONST CHAR16 *pWebPage)
EFI_STATUS RowRevision (IN int SocketFD, IN WSDT_PORT *pPort, IN CONST CHAR8 *pName, IN UINT32 Revision)
EFI_STATUS RowUnicodeString (IN int SocketFD, IN WSDT_PORT *pPort, IN CONST CHAR8 *pName, IN CONST CHAR16 *pString)
EFI_STATUS TableHeader (IN int SocketFD, IN WSDT_PORT *pPort, IN CONST CHAR16 *pName, IN CONST VOID *pTable)
EFI_STATUS TableTrailer (IN int SocketFD, IN WSDT_PORT *pPort, OUT BOOLEAN *pbDone)
EFI_STATUS SystemTablePage (IN int SocketFD, IN WSDT_PORT *pPort, OUT BOOLEAN *pbDone)

Detailed Description

Display the system table

Definition in file SystemTable.c.


Function Documentation

EFI_STATUS EfiTableHeader ( IN int  SocketFD,
IN WSDT_PORT pPort,
IN EFI_TABLE_HEADER pHeader 
)

Display the EFI Table Header

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[in]pHeaderAddress of the EFI_TABLE_HEADER structure
Return values:
EFI_SUCCESSThe request was successfully processed

A 64-bit signature that identifies the type of table that follows. Unique signatures have been generated for the EFI System Table, the EFI Boot Services Table, and the EFI Runtime Services Table.

The revision of the EFI Specification to which this table conforms. The upper 16 bits of this field contain the major revision value, and the lower 16 bits contain the minor revision value. The minor revision values are limited to the range of 00..99.

The size, in bytes, of the entire table including the EFI_TABLE_HEADER.

The 32-bit CRC for the entire table. This value is computed by setting this field to 0, and computing the 32-bit CRC for HeaderSize bytes.

Reserved field that must be set to 0.

Definition at line 40 of file SystemTable.c.

EFI_STATUS RowDecimalValue ( IN int  SocketFD,
IN WSDT_PORT pPort,
IN CONST CHAR8 pName,
IN UINT64  Value 
)

Display a row containing a decimal value

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[in]pNameAddress of a zero terminated name string
[in]ValueThe value to display
Return values:
EFI_SUCCESSThe request was successfully processed

Definition at line 137 of file SystemTable.c.

EFI_STATUS RowHexValue ( IN int  SocketFD,
IN WSDT_PORT pPort,
IN CONST CHAR8 pName,
IN UINT64  Value,
IN CONST CHAR16 pWebPage 
)

Display a row containing a hex value

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[in]pNameAddress of a zero terminated name string
[in]ValueThe value to display
[in]pWebPageAddress of a zero terminated web page name
Return values:
EFI_SUCCESSThe request was successfully processed

Definition at line 203 of file SystemTable.c.

EFI_STATUS RowPointer ( IN int  SocketFD,
IN WSDT_PORT pPort,
IN CONST CHAR8 pName,
IN CONST VOID *  pAddress,
IN CONST CHAR16 pWebPage 
)

Display a row containing a pointer

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[in]pNameAddress of a zero terminated name string
[in]pAddressThe address to display
[in]pWebPageAddress of a zero terminated web page name
Return values:
EFI_SUCCESSThe request was successfully processed

Definition at line 298 of file SystemTable.c.

EFI_STATUS RowRevision ( IN int  SocketFD,
IN WSDT_PORT pPort,
IN CONST CHAR8 pName,
IN UINT32  Revision 
)

Display a row containing a revision

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[in]pNameAddress of a zero terminated name string
[in]RevisionThe revision to display
Return values:
EFI_SUCCESSThe request was successfully processed

Definition at line 399 of file SystemTable.c.

EFI_STATUS RowUnicodeString ( IN int  SocketFD,
IN WSDT_PORT pPort,
IN CONST CHAR8 pName,
IN CONST CHAR16 pString 
)

Display a row containing a unicode string

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[in]pNameAddress of a zero terminated name string
[in]pStringAddress of a zero terminated unicode string
Return values:
EFI_SUCCESSThe request was successfully processed

Definition at line 476 of file SystemTable.c.

EFI_STATUS SystemTablePage ( IN int  SocketFD,
IN WSDT_PORT pPort,
OUT BOOLEAN pbDone 
)

Respond with the system table

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[out]pbDoneAddress to receive the request completion status
Return values:
EFI_SUCCESSThe request was successfully processed

The table header for the EFI System Table.

A pointer to a null terminated string that identifies the vendor that produces the system firmware for the platform.

A firmware vendor specific value that identifies the revision of the system firmware for the platform.

The handle for the active console input device. This handle must support EFI_SIMPLE_TEXT_INPUT_PROTOCOL and EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.

A pointer to the EFI_SIMPLE_TEXT_INPUT_PROTOCOL interface that is associated with ConsoleInHandle.

The handle for the active console output device.

A pointer to the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL interface that is associated with ConsoleOutHandle.

The handle for the active standard error console device. This handle must support the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.

A pointer to the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL interface that is associated with StandardErrorHandle.

A pointer to the EFI Runtime Services Table.

A pointer to the EFI Boot Services Table.

The number of system configuration tables in the buffer ConfigurationTable.

A pointer to the system configuration tables. The number of entries in the table is NumberOfTableEntries.

Definition at line 671 of file SystemTable.c.

EFI_STATUS TableHeader ( IN int  SocketFD,
IN WSDT_PORT pPort,
IN CONST CHAR16 pName,
IN CONST VOID *  pTable 
)

Start the table page

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[in]pNameAddress of a zero terminated name string
[in]pTableAddress of the table
Return values:
EFI_SUCCESSThe request was successfully processed

Definition at line 541 of file SystemTable.c.

EFI_STATUS TableTrailer ( IN int  SocketFD,
IN WSDT_PORT pPort,
OUT BOOLEAN pbDone 
)

End the table page

Parameters:
[in]SocketFDThe socket's file descriptor to add to the list.
[in]pPortThe WSDT_PORT structure address
[out]pbDoneAddress to receive the request completion status
Return values:
EFI_SUCCESSThe request was successfully processed

Definition at line 621 of file SystemTable.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines