libsmbios_c library
|
00001 // vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=c: 00002 /* 00003 * Copyright (C) 2005 Dell Inc. 00004 * by Michael Brown <Michael_E_Brown@dell.com> 00005 * Licensed under the Open Software License version 2.1 00006 * 00007 * Alternatively, you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published 00009 * by the Free Software Foundation; either version 2 of the License, 00010 * or (at your option) any later version. 00011 00012 * This program is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00015 * See the GNU General Public License for more details. 00016 */ 00017 00018 00019 #ifndef SMBIOSDEFS_H 00020 #define SMBIOSDEFS_H 00021 00022 // compat header should always be first header 00023 #include "smbios/compat.h" 00024 00025 00026 // abi_prefix should be last header included before declarations 00027 #include "smbios/config/abi_prefix.hpp" 00028 00029 namespace smbios 00030 { 00031 // List of constants to use for different table types 00032 enum { 00033 BIOS_Information = 0 , 00034 System_Information = 1 , 00035 Base_Board_Information = 2 , 00036 System_Enclosure_or_Chassis = 3 , 00037 Processor_Information = 4 , 00038 Memory_Controller_Information = 5 , 00039 Memory_Module_Information = 6 , 00040 Cache_Information = 7 , 00041 Port_Connector_Information = 8 , 00042 System_Slots = 9 , 00043 On_Board_Devices_Information = 10 , 00044 OEM_Strings = 11 , 00045 System_Configuration_Options = 12 , 00046 BIOS_Language_Information = 13 , 00047 Group_Associations = 14 , 00048 System_Event_Log = 15 , 00049 Physical_Memory_Array = 16 , 00050 Memory_Device = 17 , 00051 Memory_Error_Information_32_bit = 18 , 00052 Memory_Array_Mapped_Address = 19 , 00053 Memory_Device_Mapped_Address = 20 , 00054 Built_in_Pointing_Device = 21 , 00055 Portable_Battery = 22 , 00056 System_Reset = 23 , 00057 Hardware_Security = 24 , 00058 System_Power_Controls = 25 , 00059 Voltage_Probe = 26 , 00060 Cooling_Device = 27 , 00061 Temperature_Probe = 28 , 00062 Electrical__Current_Probe = 29 , 00063 Out_of_Band_Remote_Access = 30 , 00064 Boot_Integrity_Services_Entry_Point = 31 , 00065 System_Boot_Information = 32 , 00066 Memory_Error_Information_64_bit = 33 , 00067 Management_Device = 34 , 00068 Management_Device_Component = 35 , 00069 Management_Device_Threshold = 36 , 00070 Memory_Channel = 37 , 00071 IPMI_Device_Information = 38 , 00072 System_Power_Supply = 39 , 00073 Inactive = 126 , 00074 Revisions_and_IDs = 208 , 00075 Parallel_Port = 209 , 00076 Serial_Port = 210 , 00077 IR_Port = 211 , 00078 00079 End_of_Table = 127 , 00080 00081 // vendor proprietary 00082 Dell_Revisions_and_IDs = 0xD0, 00083 Dell_Indexed_Io = 0xD4 00084 }; 00085 00086 } 00087 00088 00089 // always should be last thing in header file 00090 #include "smbios/config/abi_suffix.hpp" 00091 00092 #endif /* SMBIOSDEFS_H */