[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [PATCH 27/40] arm64: add the header file arch_wordsize.h



Add the header arch_wordsize.h to fix the compiler error:

  ........................................................
  from /usr/include/stdlib.h:42,
  from dtc/libfdt/libfdt_env.h:57,
  from dtc/libfdt/fdt.c:51:
  /root/mini-os/include/endian.h:13:27: fatal error: arch_wordsize.h: No such 
file or directory
  ........................................................

Change-Id: I95159a1d38c740a1a5528693bc24b8affc84390b
Jira: ENTOS-247
Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx>
---
 include/arm/arm64/arch_wordsize.h | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 include/arm/arm64/arch_wordsize.h

diff --git a/include/arm/arm64/arch_wordsize.h 
b/include/arm/arm64/arch_wordsize.h
new file mode 100644
index 0000000..cf787fd
--- /dev/null
+++ b/include/arm/arm64/arch_wordsize.h
@@ -0,0 +1,7 @@
+#ifndef __ARCH_WORDSIZE_H__
+#define __ARCH_WORDSIZE_H__
+
+#define __WORDSIZE 64
+#define __WORDSIZE_COMPAT32 1
+
+#endif /* __ARCH_WORDSIZE_H__ */
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.