From 0724c3098f010aa5ede8acc1450d222871ba7c30 Mon Sep 17 00:00:00 2001 From: Visa Hankala Date: Mon, 6 May 2019 17:13:23 +0000 Subject: Fix thinko in previous. The .bss clearing was overzealous and overwrote a part of the free memory list, terminating it prematurely. --- sys/arch/octeon/octeon/locore.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/octeon/octeon/locore.S b/sys/arch/octeon/octeon/locore.S index 3c9a0c7aa68..32667171a6b 100644 --- a/sys/arch/octeon/octeon/locore.S +++ b/sys/arch/octeon/octeon/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.18 2019/05/05 15:43:24 visa Exp $ */ +/* $OpenBSD: locore.S,v 1.19 2019/05/06 17:13:22 visa Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -129,9 +129,9 @@ locore_start: LA t0, edata LA t1, end 1: - sd zero, (t0) - blt t0, t1, 1b daddu t0, t0, 8 + blt t0, t1, 1b + sd zero, -8(t0) /* * Initialize stack and call machine startup. -- cgit v1.2.3