summaryrefslogtreecommitdiffstats
path: root/src/include/builtins.h
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-05-18 11:49:26 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-06-02 09:54:48 -0500
commit83e18669b6c2322c8eb5f8632ac823877d765e0d (patch)
tree780c62fbc578e5a3b6c362db40b84e468611dd13 /src/include/builtins.h
parent40d7b75141080adb8b42cc5ea058c91944e7621e (diff)
downloadtalos-hostboot-83e18669b6c2322c8eb5f8632ac823877d765e0d.tar.gz
talos-hostboot-83e18669b6c2322c8eb5f8632ac823877d765e0d.zip
Device Framework support.
Change-Id: I133f58df309c7fc3a7faa261699eba66a6bae4be Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/98 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'src/include/builtins.h')
-rw-r--r--src/include/builtins.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/builtins.h b/src/include/builtins.h
index 5126b6114..07b185697 100644
--- a/src/include/builtins.h
+++ b/src/include/builtins.h
@@ -40,6 +40,11 @@ extern "C"
#define SYMB_SECTION(x) __attribute__((section(#x)))
/**
+ * Use of this macro will ensure a data structure is not padded
+ */
+#define PACKED __attribute__((packed))
+
+/**
* Get the value of the link register
*
* @return the value of the link register
OpenPOWER on IntegriCloud