X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=AppPkg%2FApplications%2FSockets%2FWebServer%2FWebServer.h;fp=AppPkg%2FApplications%2FSockets%2FWebServer%2FWebServer.h;h=0eee114832b0318a7d9c1021c6312a0c87c5f8ca;hp=6078df0362acc2269fa3268d51b807fdb14b5b45;hb=59bc059327dd519619fa437c0d7c941e090cd8a3;hpb=a88c31639bb24c73383a4528a5b77066e805148b diff --git a/AppPkg/Applications/Sockets/WebServer/WebServer.h b/AppPkg/Applications/Sockets/WebServer/WebServer.h index 6078df0362..0eee114832 100644 --- a/AppPkg/Applications/Sockets/WebServer/WebServer.h +++ b/AppPkg/Applications/Sockets/WebServer/WebServer.h @@ -125,7 +125,7 @@ #endif // MDEPKG_NDEBUG -#define WEB_SERVER_SIGNATURE SIGNATURE_32('W','e','b','S') ///< DT_WEB_SERVER memory signature +#define WEB_SERVER_SIGNATURE SIGNATURE_32 ('W','e','b','S') ///< DT_WEB_SERVER memory signature #define SPACES_ADDRESS_TO_DATA 2 #define BYTES_ON_A_LINE 16 @@ -154,9 +154,9 @@ typedef struct { // size_t RequestLength; ///< Request length in bytes size_t TxBytes; ///< Bytes in the TX buffer - UINT8 Request [ 65536 ]; ///< Page request - UINT8 RxBuffer [ 65536 ]; ///< Receive buffer - UINT8 TxBuffer [ 65536 ]; ///< Transmit buffer + UINT8 Request[ 65536 ]; ///< Page request + UINT8 RxBuffer[ 65536 ]; ///< Receive buffer + UINT8 TxBuffer[ 65536 ]; ///< Transmit buffer } WSDT_PORT; /** @@ -186,7 +186,7 @@ typedef struct { WSDT_PORT ** ppPortList; ///< List of port management structures } DT_WEB_SERVER; -//#define SERVER_FROM_SERVICE(a) CR(a, DT_WEB_SERVER, ServiceBinding, WEB_SERVER_SIGNATURE) ///< Locate DT_LAYER from service binding +//#define SERVER_FROM_SERVICE(a) CR (a, DT_WEB_SERVER, ServiceBinding, WEB_SERVER_SIGNATURE) ///< Locate DT_LAYER from service binding extern DT_WEB_SERVER mWebServer; @@ -217,7 +217,7 @@ typedef struct { UINT16 * pDescription; ///< Description of the page } DT_PAGE; -extern CONST DT_PAGE mPageList []; ///< List of pages +extern CONST DT_PAGE mPageList[]; ///< List of pages extern CONST UINTN mPageCount; ///< Number of pages //------------------------------------------------------------------------------