fixed compiling problems

svn path=/trunk/; revision=7479
This commit is contained in:
Thomas Bluemel 2004-01-06 12:45:46 +00:00
parent fff71811fe
commit 0c5f9ff854

View file

@ -8,6 +8,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <conio.h> #include <conio.h>
#include <pshpack1.h>
typedef struct _CM_PNP_BIOS_DEVICE_NODE typedef struct _CM_PNP_BIOS_DEVICE_NODE
{ {
@ -16,7 +17,7 @@ typedef struct _CM_PNP_BIOS_DEVICE_NODE
ULONG ProductId; ULONG ProductId;
UCHAR DeviceType[3]; UCHAR DeviceType[3];
USHORT DeviceAttributes; USHORT DeviceAttributes;
} PACKED CM_PNP_BIOS_DEVICE_NODE,*PCM_PNP_BIOS_DEVICE_NODE; } CM_PNP_BIOS_DEVICE_NODE,*PCM_PNP_BIOS_DEVICE_NODE;
typedef struct _CM_PNP_BIOS_INSTALLATION_CHECK typedef struct _CM_PNP_BIOS_INSTALLATION_CHECK
{ {
@ -33,7 +34,9 @@ typedef struct _CM_PNP_BIOS_INSTALLATION_CHECK
ULONG OemDeviceId; ULONG OemDeviceId;
USHORT RealModeDataBaseAddress; USHORT RealModeDataBaseAddress;
ULONG ProtectedModeDataBaseAddress; ULONG ProtectedModeDataBaseAddress;
} PACKED CM_PNP_BIOS_INSTALLATION_CHECK, *PCM_PNP_BIOS_INSTALLATION_CHECK; } CM_PNP_BIOS_INSTALLATION_CHECK, *PCM_PNP_BIOS_INSTALLATION_CHECK;
#include <poppack.h>
typedef struct _PNP_ID_NAME_ typedef struct _PNP_ID_NAME_
{ {