summaryrefslogtreecommitdiff
path: root/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchRegisters.h
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-02-22 16:36:12 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-02-22 16:36:12 +0000
commit59424fff04b0d47b796e91b47d6826db6aac1721 (patch)
tree1f20a49409a12b8a6cd606aa6c06bf5104e6ff55 /SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchRegisters.h
parent2094c4d03f4f734f566f4d720cb9bad464d51a24 (diff)
downloadedk2-platforms-59424fff04b0d47b796e91b47d6826db6aac1721.tar.xz
SourceLevelDebugPkg: Pack CPU context structures
Use #pragma pack to ensure that ASM and C code agree on the structure layout between various compilers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11331 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchRegisters.h')
-rw-r--r--SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchRegisters.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchRegisters.h b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchRegisters.h
index 3c279589e7..909ddbe535 100644
--- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchRegisters.h
+++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchRegisters.h
@@ -1,7 +1,7 @@
/** @file
IA32 register defintions needed by debug transfer protocol.
- Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -15,6 +15,8 @@
#ifndef _ARCH_REGISTERS_H_
#define _ARCH_REGISTERS_H_
+#pragma pack(1)
+
///
/// FXSAVE_STATE
/// FP / MMX / XMM registers (see fxrstor instruction definition)
@@ -153,4 +155,6 @@ typedef struct {
UINT32 TssBas;
} DEBUG_DATA_REPONSE_READ_REGISTER_GROUP_SEGBASE_IA32;
+#pragma pack()
+
#endif