Cleanup data types

This commit is contained in:
Rafal Kupiec 2023-01-09 23:07:21 +01:00
parent 12b8c5f539
commit bac7af8a33
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
3 changed files with 5 additions and 10 deletions

View File

@ -241,7 +241,7 @@ typedef struct _KSWITCH_FRAME
ULONG64 P4Home; ULONG64 P4Home;
ULONG64 P5Home; ULONG64 P5Home;
ULONG MxCsr; ULONG MxCsr;
KIRQL ApcBypass; UCHAR ApcBypass;
UCHAR Fill1[3]; UCHAR Fill1[3];
ULONG64 Rbp; ULONG64 Rbp;
ULONG64 Return; ULONG64 Return;
@ -255,8 +255,8 @@ typedef struct _KTRAP_FRAME
ULONG64 P3Home; ULONG64 P3Home;
ULONG64 P4Home; ULONG64 P4Home;
ULONG64 P5; ULONG64 P5;
KPROCESSOR_MODE PreviousMode; CHAR PreviousMode;
KIRQL PreviousIrql; UCHAR PreviousIrql;
UCHAR FaultIndicator; UCHAR FaultIndicator;
UCHAR ExceptionActive; UCHAR ExceptionActive;
ULONG MxCsr; ULONG MxCsr;

View File

@ -59,7 +59,8 @@
#define PCI_STATUS_DETECTED_PARITY_ERROR 0x8000 #define PCI_STATUS_DETECTED_PARITY_ERROR 0x8000
/* PCI and PCI-E common header structure */ /* PCI and PCI-E common header structure */
typedef struct _PCI_COMMON_HEADER { typedef struct _PCI_COMMON_HEADER
{
USHORT VendorId; USHORT VendorId;
USHORT DeviceId; USHORT DeviceId;
USHORT Command; USHORT Command;

View File

@ -14,12 +14,6 @@
#include <xttypes.h> #include <xttypes.h>
/* Interrupt Request Level (IRQL) */
typedef UCHAR KIRQL, *PKIRQL;
/* Processor modes */
typedef CHAR KPROCESSOR_MODE, *PKPROCESSOR_MODE;
/* 128-bit buffer containing a unique identifier value */ /* 128-bit buffer containing a unique identifier value */
typedef struct _GUID typedef struct _GUID
{ {