remove duplicated #pragma pack().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6802 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2008-12-02 08:14:09 +00:00
parent e6b7d45e9d
commit 1fc0ee170c
1 changed files with 5 additions and 15 deletions

View File

@ -392,7 +392,6 @@ typedef struct {
/// ///
UINT8 Reserved2[8]; UINT8 Reserved2[8];
} SAL_SYSTEM_TABLE_HEADER; } SAL_SYSTEM_TABLE_HEADER;
#pragma pack()
#define EFI_SAL_ST_HEADER_SIGNATURE "SST_" #define EFI_SAL_ST_HEADER_SIGNATURE "SST_"
#define EFI_SAL_REVISION 0x0320 #define EFI_SAL_REVISION 0x0320
@ -416,9 +415,8 @@ typedef struct {
#define EFI_SAL_ST_PTC_SIZE 16 #define EFI_SAL_ST_PTC_SIZE 16
#define EFI_SAL_ST_AP_WAKEUP_SIZE 16 #define EFI_SAL_ST_AP_WAKEUP_SIZE 16
#pragma pack(1)
/// ///
/// Format Entrypoint Descriptor Entry /// Format of Entrypoint Descriptor Entry
/// ///
typedef struct { typedef struct {
UINT8 Type; ///< Type here should be 0 UINT8 Type; ///< Type here should be 0
@ -429,16 +427,15 @@ typedef struct {
UINT64 Reserved2[2]; UINT64 Reserved2[2];
} SAL_ST_ENTRY_POINT_DESCRIPTOR; } SAL_ST_ENTRY_POINT_DESCRIPTOR;
#pragma pack(1)
/// ///
/// Format Platform Features Descriptor Entry /// Format of Platform Features Descriptor Entry
/// ///
typedef struct { typedef struct {
UINT8 Type; ///< Type here should be 2 UINT8 Type; ///< Type here should be 2
UINT8 PlatformFeatures; UINT8 PlatformFeatures;
UINT8 Reserved[14]; UINT8 Reserved[14];
} SAL_ST_PLATFORM_FEATURES; } SAL_ST_PLATFORM_FEATURES;
#pragma pack()
// //
// Value of Platform Feature List // Value of Platform Feature List
// //
@ -446,7 +443,6 @@ typedef struct {
#define SAL_PLAT_FEAT_PLAT_IPI_HINT 0x02 #define SAL_PLAT_FEAT_PLAT_IPI_HINT 0x02
#define SAL_PLAT_FEAT_PROC_IPI_HINT 0x04 #define SAL_PLAT_FEAT_PROC_IPI_HINT 0x04
#pragma pack(1)
/// ///
/// Format of Translation Register Descriptor Entry /// Format of Translation Register Descriptor Entry
/// ///
@ -459,14 +455,13 @@ typedef struct {
UINT64 EncodedPageSize; UINT64 EncodedPageSize;
UINT64 Reserved1; UINT64 Reserved1;
} SAL_ST_TR_DECRIPTOR; } SAL_ST_TR_DECRIPTOR;
#pragma pack()
// //
// Type of Translation Register // Type of Translation Register
// //
#define EFI_SAL_ST_TR_USAGE_INSTRUCTION 00 #define EFI_SAL_ST_TR_USAGE_INSTRUCTION 00
#define EFI_SAL_ST_TR_USAGE_DATA 01 #define EFI_SAL_ST_TR_USAGE_DATA 01
#pragma pack(1)
/// ///
/// Definition of Coherence Domain Information /// Definition of Coherence Domain Information
/// ///
@ -474,9 +469,7 @@ typedef struct {
UINT64 NumberOfProcessors; UINT64 NumberOfProcessors;
UINT64 LocalIDRegister; UINT64 LocalIDRegister;
} SAL_COHERENCE_DOMAIN_INFO; } SAL_COHERENCE_DOMAIN_INFO;
#pragma pack()
#pragma pack(1)
/// ///
/// Format of Purge Translation Cache Coherence Domain Entry /// Format of Purge Translation Cache Coherence Domain Entry
/// ///
@ -486,9 +479,7 @@ typedef struct {
UINT32 NumberOfDomains; UINT32 NumberOfDomains;
SAL_COHERENCE_DOMAIN_INFO *DomainInformation; SAL_COHERENCE_DOMAIN_INFO *DomainInformation;
} SAL_ST_CACHE_COHERENCE_DECRIPTOR; } SAL_ST_CACHE_COHERENCE_DECRIPTOR;
#pragma pack()
#pragma pack(1)
/// ///
/// Format of Application Processor Wake-Up Descriptor Entry /// Format of Application Processor Wake-Up Descriptor Entry
/// ///
@ -498,7 +489,6 @@ typedef struct {
UINT8 Reserved[6]; UINT8 Reserved[6];
UINT64 ExternalInterruptVector; UINT64 ExternalInterruptVector;
} SAL_ST_AP_WAKEUP_DECRIPTOR; } SAL_ST_AP_WAKEUP_DECRIPTOR;
#pragma pack()
/// ///
/// Format of Firmware Interface Table (FIT) Entry /// Format of Firmware Interface Table (FIT) Entry