Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/aarch64 - uname should return "aarch64...
details: https://anonhg.NetBSD.org/src/rev/b8d984671f12
branches: trunk
changeset: 1026572:b8d984671f12
user: ryo <ryo%NetBSD.org@localhost>
date: Tue Nov 30 01:52:06 2021 +0000
description:
- uname should return "aarch64" or "aarch64_be" instead of "evbarm".
- define LINUX_LARGEFILE64 to use rlimit instead of orlimit.
diffstat:
sys/compat/linux/arch/aarch64/linux_machdep.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4996834109db -r b8d984671f12 sys/compat/linux/arch/aarch64/linux_machdep.h
--- a/sys/compat/linux/arch/aarch64/linux_machdep.h Tue Nov 30 01:17:02 2021 +0000
+++ b/sys/compat/linux/arch/aarch64/linux_machdep.h Tue Nov 30 01:52:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.h,v 1.2 2021/11/25 03:08:04 ryo Exp $ */
+/* $NetBSD: linux_machdep.h,v 1.3 2021/11/30 01:52:06 ryo Exp $ */
/*-
* Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -124,4 +124,11 @@
__END_DECLS
#endif /* !_KERNEL */
+#if BYTE_ORDER != BIG_ENDIAN
+#define LINUX_UNAME_ARCH "aarch64"
+#else
+#define LINUX_UNAME_ARCH "aarch64_be"
+#endif
+#define LINUX_LARGEFILE64
+
#endif /* !_AARCH64_LINUX_MACHDEP_H */
Home |
Main Index |
Thread Index |
Old Index