Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 1 | From b2af652f43991e4ce6297917da542a9eb5135939 Mon Sep 17 00:00:00 2001 |
| 2 | From: Marek Vasut <marex@denx.de> |
| 3 | Date: Thu, 17 Sep 2015 03:28:06 +0200 |
| 4 | Subject: [PATCH] libgpg-error: Add nios2 support |
| 5 | |
| 6 | Add configuration for the NIOS2 processor. |
| 7 | |
| 8 | Signed-off-by: Marek Vasut <marex@denx.de> |
| 9 | Upstream-Status: Submitted |
| 10 | --- |
| 11 | src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h | 23 +++++++++++++++++++++++ |
| 12 | 1 file changed, 23 insertions(+) |
| 13 | create mode 100644 src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h |
| 14 | |
| 15 | diff --git a/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h |
| 16 | new file mode 100644 |
| 17 | index 0000000..3a24571 |
| 18 | --- /dev/null |
| 19 | +++ b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h |
| 20 | @@ -0,0 +1,23 @@ |
| 21 | +## lock-obj-pub.nios2-unknown-linux-gnu.h |
| 22 | +## File created by gen-posix-lock-obj - DO NOT EDIT |
| 23 | +## To be included by mkheader into gpg-error.h |
| 24 | + |
| 25 | +typedef struct |
| 26 | +{ |
| 27 | + long _vers; |
| 28 | + union { |
| 29 | + volatile char _priv[24]; |
| 30 | + long _x_align; |
| 31 | + long *_xp_align; |
| 32 | + } u; |
| 33 | +} gpgrt_lock_t; |
| 34 | + |
| 35 | +#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \ |
| 36 | + 0,0,0,0,0,0,0,0, \ |
| 37 | + 0,0,0,0,0,0,0,0}}} |
| 38 | +## |
| 39 | +## Local Variables: |
| 40 | +## mode: c |
| 41 | +## buffer-read-only: t |
| 42 | +## End: |
| 43 | +## |
| 44 | -- |
| 45 | 2.5.1 |
| 46 | |