Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 Allow RPI firmware boots to work again
details: https://anonhg.NetBSD.org/src/rev/ac38a9109d9d
branches: trunk
changeset: 1005599:ac38a9109d9d
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Dec 14 17:04:02 2019 +0000
description:
Allow RPI firmware boots to work again
diffstat:
sys/arch/aarch64/aarch64/start.S | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r d0901c33c5ba -r ac38a9109d9d sys/arch/aarch64/aarch64/start.S
--- a/sys/arch/aarch64/aarch64/start.S Sat Dec 14 16:58:38 2019 +0000
+++ b/sys/arch/aarch64/aarch64/start.S Sat Dec 14 17:04:02 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: start.S,v 1.3 2019/12/04 11:24:31 jmcneill Exp $ */
+/* $NetBSD: start.S,v 1.4 2019/12/14 17:04:02 skrll Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -32,7 +32,7 @@
#include <aarch64/asm.h>
-RCSID("$NetBSD: start.S,v 1.3 2019/12/04 11:24:31 jmcneill Exp $")
+RCSID("$NetBSD: start.S,v 1.4 2019/12/14 17:04:02 skrll Exp $")
/* load far effective address (pc relative) */
.macro ADDR, reg, addr
@@ -40,10 +40,14 @@
add \reg, \reg, #:lo12:\addr
.endm
+rpi_start:
+ b start
+
/*
* Padding at start of kernel image to make room for 64-byte header (non-ELF booting)
*/
-.space 64, 0x0
+
+ .align 6
/*
* Kernel start routine for aarch64 boards.
Home |
Main Index |
Thread Index |
Old Index