[coreboot-gerrit] Change in coreboot[master]: vc/amd/pi/Lib: Wrap amdlib #includes with #pragma pack(push)
Martin Roth (Code Review)
gerrit at coreboot.org
Wed Sep 27 04:23:36 CEST 2017
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/21720
Change subject: vc/amd/pi/Lib: Wrap amdlib #includes with #pragma pack(push)
......................................................................
vc/amd/pi/Lib: Wrap amdlib #includes with #pragma pack(push)
This is isolated enough from the rest of the coreboot code that it can
just be wrapped instead of using agesawrapper.h.
BUG=b:66818758
Test=Build tested
Change-Id: Ib8c0e3d69cfe59d18854234d15280f359dad99fe
Signed-off-by: Martin Roth <martinroth at google.com>
---
M src/vendorcode/amd/pi/Lib/amdlib.h
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/21720/1
diff --git a/src/vendorcode/amd/pi/Lib/amdlib.h b/src/vendorcode/amd/pi/Lib/amdlib.h
index f5eab0a..b23f735 100644
--- a/src/vendorcode/amd/pi/Lib/amdlib.h
+++ b/src/vendorcode/amd/pi/Lib/amdlib.h
@@ -46,8 +46,11 @@
#ifndef _AMD_LIB_H_
#define _AMD_LIB_H_
+#pragma pack(push)
#include "Porting.h"
#include "AMD.h"
+#pragma pack(pop)
+
#define IOCF8 0xCF8
#define IOCFC 0xCFC
--
To view, visit https://review.coreboot.org/21720
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8c0e3d69cfe59d18854234d15280f359dad99fe
Gerrit-Change-Number: 21720
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170927/9bc218cf/attachment.html>
More information about the coreboot-gerrit
mailing list