|
From: <ale...@us...> - 2013-11-29 11:33:37
|
Revision: 58859
http://sourceforge.net/p/firebird/code/58859
Author: alexpeshkoff
Date: 2013-11-29 11:33:33 +0000 (Fri, 29 Nov 2013)
Log Message:
-----------
Committed commented ARM64-linux port in order to reserve class ID for it
Modified Paths:
--------------
firebird/branches/B2_5_Release/configure.in
firebird/branches/B2_5_Release/src/jrd/common.h
firebird/branches/B2_5_Release/src/jrd/inf_pub.h
firebird/branches/B2_5_Release/src/jrd/pag.cpp
firebird/branches/B2_5_Release/src/jrd/utl.cpp
Modified: firebird/branches/B2_5_Release/configure.in
===================================================================
--- firebird/branches/B2_5_Release/configure.in 2013-11-29 10:22:36 UTC (rev 58858)
+++ firebird/branches/B2_5_Release/configure.in 2013-11-29 11:33:33 UTC (rev 58859)
@@ -229,6 +229,18 @@
STD_ICU=true
;;
+# aarch64*-*-linux*) // port was not tested
+# MAKEFILE_PREFIX=linux_arm64
+# INSTALL_PREFIX=linux
+# PLATFORM=LINUX
+# AC_DEFINE(LINUX, 1, [Define this if OS is Linux])
+# EDITLINE_FLG=Y
+# SHRLIB_EXT=so
+# STD_EDITLINE=true
+# STD_ICU=true
+# ATOMIC_LIBS=-latomic_ops
+# ;;
+
sparc*-*-linux* | sparc*-*-gnu* | sparc*-*-k*bsd*-gnu)
MAKEFILE_PREFIX=linux_sparc32
INSTALL_PREFIX=linux
Modified: firebird/branches/B2_5_Release/src/jrd/common.h
===================================================================
--- firebird/branches/B2_5_Release/src/jrd/common.h 2013-11-29 10:22:36 UTC (rev 58858)
+++ firebird/branches/B2_5_Release/src/jrd/common.h 2013-11-29 11:33:33 UTC (rev 58859)
@@ -192,6 +192,10 @@
#define RISC_ALIGNMENT
#endif /* alpha */
+//#ifdef ARM64
+//#define IMPLEMENTATION isc_info_db_impl_linux_arm64 /* 84 */
+//#endif /* ARM64 */
+
#endif /* LINUX */
Modified: firebird/branches/B2_5_Release/src/jrd/inf_pub.h
===================================================================
--- firebird/branches/B2_5_Release/src/jrd/inf_pub.h 2013-11-29 10:22:36 UTC (rev 58858)
+++ firebird/branches/B2_5_Release/src/jrd/inf_pub.h 2013-11-29 11:33:33 UTC (rev 58859)
@@ -215,6 +215,7 @@
isc_info_db_impl_linux_sheb = 81,
isc_info_db_impl_linux_hppa = 82,
isc_info_db_impl_linux_alpha = 83,
+ isc_info_db_impl_linux_arm64 = 84,
isc_info_db_impl_last_value // Leave this LAST!
};
Modified: firebird/branches/B2_5_Release/src/jrd/pag.cpp
===================================================================
--- firebird/branches/B2_5_Release/src/jrd/pag.cpp 2013-11-29 10:22:36 UTC (rev 58858)
+++ firebird/branches/B2_5_Release/src/jrd/pag.cpp 2013-11-29 11:33:33 UTC (rev 58859)
@@ -163,9 +163,10 @@
static const int CLASS_LINUX_SHEB = 39; // LINUX/SH (big-endian)
static const int CLASS_LINUX_HPPA = 40; // LINUX/HPPA
static const int CLASS_LINUX_ALPHA = 41; // LINUX/ALPHA
+static const int CLASS_LINUX_ARM64 = 42; // LINUX/ARM64
static const int CLASS_MAX10 = CLASS_LINUX_AMD64; // This should not be changed, no new ports with ODS10
-static const int CLASS_MAX = CLASS_LINUX_ALPHA;
+static const int CLASS_MAX = CLASS_LINUX_ARM64;
// ARCHITECTURE COMPATIBILITY CLASSES
@@ -264,7 +265,8 @@
archLittleEndian, // CLASS_LINUX_SH
archBigEndian, // CLASS_LINUX_SHEB
archBigEndian, // CLASS_LINUX_HPPA
- archLittleEndian // CLASS_LINUX_ALPHA
+ archLittleEndian, // CLASS_LINUX_ALPHA
+ archLittleEndian // CLASS_LINUX_ARM64
};
#ifdef __sun
@@ -328,6 +330,8 @@
const SSHORT CLASS = CLASS_LINUX_HPPA;
#elif defined(ALPHA)
const SSHORT CLASS = CLASS_LINUX_ALPHA;
+//#elif defined(ARM64)
+//const SSHORT CLASS = CLASS_LINUX_ARM64;
#else
#error no support on other hardware for Linux
#endif
Modified: firebird/branches/B2_5_Release/src/jrd/utl.cpp
===================================================================
--- firebird/branches/B2_5_Release/src/jrd/utl.cpp 2013-11-29 10:22:36 UTC (rev 58858)
+++ firebird/branches/B2_5_Release/src/jrd/utl.cpp 2013-11-29 11:33:33 UTC (rev 58859)
@@ -227,7 +227,8 @@
"Firebird/linux SH", // 80
"Firebird/linux SHEB", // 81
"Firebird/linux HPPA", // 82
- "Firebird/linux ALPHA" // 83
+ "Firebird/linux ALPHA", // 83
+ "Firebird/linux ARM64" // 84
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|