From 27ded21fea2a6f1fc161a91744014cce711ad1b3 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Mon, 10 Dec 2018 17:34:29 +0000 Subject: syscfg: Add a riscv32 architecture * src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h: New. * src/Makefile.am (lock_obj_pub): Add it. Signed-off-by: Alistair Francis Signed-off-by: pino-kim --- .../lock-obj-pub.riscv32-unknown-linux-gnu.h | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h (limited to 'src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h') diff --git a/src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h new file mode 100644 index 0000000..b5bdaf5 --- /dev/null +++ b/src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h @@ -0,0 +1,23 @@ +## lock-obj-pub.riscv32-unknown-linux-gnu.h +## File created by gen-posix-lock-obj - DO NOT EDIT +## To be included by mkheader into gpg-error.h + +typedef struct +{ + long _vers; + union { + volatile char _priv[24]; + long _x_align; + long *_xp_align; + } u; +} gpgrt_lock_t; + +#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0}}} +## +## Local Variables: +## mode: c +## buffer-read-only: t +## End: +## -- cgit v1.2.3