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

ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView.h

Go to the documentation of this file.
00001 
00015 #ifndef _SMBIOS_VIEW_H_
00016 #define _SMBIOS_VIEW_H_
00017 
00018 #define STRUCTURE_TYPE_RANDOM     (UINT8) 0xFE
00019 #define STRUCTURE_TYPE_INVALID    (UINT8) 0xFF
00020 
00021 #define STRUCTURE_HANDLE_INVALID  (UINT16) 0xFFFF
00022 
00023 typedef struct {
00024   UINT16  Index;
00025   UINT8   Type;
00026   UINT16  Handle;
00027   UINT16  Addr;   // offset from table head
00028   UINT16  Length; // total structure length
00029 } STRUCTURE_STATISTICS;
00030 
00043 EFI_STATUS
00044 EFIAPI
00045 SMBiosView (
00046   IN  UINT8     QueryType,
00047   IN  UINT16    QueryHandle,
00048   IN  UINT8     Option,
00049   IN  BOOLEAN   RandomView
00050   );
00051 
00057 EFI_STATUS
00058 EFIAPI
00059 InitSmbiosTableStatistics (
00060   VOID
00061   );
00062 
00070 EFI_STATUS
00071 EFIAPI
00072 DisplayStatisticsTable (
00073   IN UINT8 Option
00074   );
00075 
00083 CHAR16*
00084 EFIAPI
00085 GetShowTypeString (
00086   UINT8 ShowType
00087   );
00088 
00089 extern UINT8  gShowType;
00090 
00091 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines