Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/include Define BOOT_ELF64 for aarch64



details:   https://anonhg.NetBSD.org/src/rev/0b29ebc76af3
branches:  trunk
changeset: 992266:0b29ebc76af3
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Aug 21 20:13:13 2018 +0000

description:
Define BOOT_ELF64 for aarch64

diffstat:

 sys/arch/evbarm/include/loadfile_machdep.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r fa88c5262c35 -r 0b29ebc76af3 sys/arch/evbarm/include/loadfile_machdep.h
--- a/sys/arch/evbarm/include/loadfile_machdep.h        Tue Aug 21 18:55:08 2018 +0000
+++ b/sys/arch/evbarm/include/loadfile_machdep.h        Tue Aug 21 20:13:13 2018 +0000
@@ -1,5 +1,9 @@
 
+#if defined(__aarch64__)
+#define BOOT_ELF64
+#else
 #define BOOT_ELF32
+#endif
 
 #define LOAD_KERNEL    (LOAD_ALL & ~LOAD_TEXTA)
 #define COUNT_KERNEL   (COUNT_ALL & ~COUNT_TEXTA)



Home | Main Index | Thread Index | Old Index