dmi.h

来自「这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自」· C头文件 代码 · 共 39 行

H
39 行
字号
/* **************************************************************************** * *          File Name   :       DMI.H * *          Author      :       Mike Bartholomew. * *          Date        :       08 Oct 1998 * *          Purpose     :       This include file used for definitions  *                              associated with detecting DMI information *                              within the host system BIOS * *          Copyright   :       American Megatrends Inc., (C) 1997-1998 *                              All rights reserved. * **************************************************************************** */#ifndef __AMI_DMI_H__#define __AMI_DMI_H__#define MAX_DMI_BUFFER 8192#define BIOS_START_ADDR 0x000f0000l#define BIOS_STOP_ADDR 0x00100000ltypedef struct _dmi_header{   unsigned char  Signature[5];   unsigned char  Checksum;   unsigned short StructLength;   unsigned char  StructAddr[4];   unsigned short NumberOfStructs;   unsigned char  BCDRevision;   unsigned char  Reserved;}DMI_HEADER;#endif/***************************** End of DMI.H *******************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?